Search found 1 match

by Jody
Wed Jun 19, 2002 3:57 pm
Forum: Volume 7 (700-799)
Topic: 733 - Follow the Folding Dot
Replies: 7
Views: 2970

733 - Follow the Folding Dot

#include <iostream>
#include <cmath>
using namespace std;

int refreshPos(double dimX, double dimY, double x, double y, char InitialPos){
double half_dimX=dimX/2;
double half_dimY=dimY/2;
if(x<half_dimX && y<half_dimY && InitialPos=='T')
return 1;
if(x>half_dimX && y<half_dimY && InitialPos=='T ...

Go to advanced search