Help needed!

0 Sri Ram · August 29, 2016

#include <iostream>
#include <iomanip> // for setprecision
#include <stdio.h>
#include <stdlib.h>     /* srand, rand */
#include <time.h>
#include <string.h>    /* time */

using namespace std;
int xnumber,ynumber;
bool isInside (int xnumber,int ynumber);
bool isClose (int xnumber, int ynumber);
bool fStuckinLoop;
int maxloops = 1000;
int loopcount;
int** initialPositions;
int tr,nTrials;
int NOBJECTSMAX = 5;


int main()
{
    srand((int)time(NULL));
    loopcount = 0;
    fStuckinLoop = 1;
    initialPositions = new int*[nTrials];



    bool yesInside,yesClose,yesCloseX,yesCloseY;

         initialPositions

Post a Reply

Replies

Oldest  Newest  Rating
0 Scott Walker · August 30, 2016
Looks like some code is missing
  • 1

C++

131,108 followers
About

Used in many types of software including music players, video games, and many large scale applications.

Links
Moderators
Bucky Roberts Administrator