C Random Number generator returning address

A part of my code is to randomly generate an array with numbers between 0 and 999. I do this with a random number generator. However everytime it does it and returns the array, the intArray[8] to intArray[12] have what I presume is the address. How can I fix this. I have printed each part… Read More C Random Number generator returning address

I had try to run a car game through c++ only

As mentioned in the title I try to run a car game developed using only CPP but faced problems in line 20 of my code… #include<conio.h> #include<dos.h> #include <windows.h> #include <time.h> #define SCREEN_WIDTH 90 #define SCREEN_HEIGHT 26 #define WIN_WIDTH 70 using namespace std; HANDLE console = GetStdHandle(STD_OUTPUT_HANDLE); COORD CursorPosition; int enemyY[3]; int enemyX[3]; int enemyFlag[3];… Read More I had try to run a car game through c++ only