Hello :)

I'm having a couple of errors that i just can't get my head around so please help!

Error 1

warning C4018: '<' : signed/unsigned mismatch

for (int i=0; i<numVehicles; ++i)

Error 2

error LNK2019: unresolved external symbol _main referenced in function "int __cdecl console_main(int,char * * const)" (?console_main@@YAHHQAPAD@Z)

int _tmain(int argc, _TCHAR* argv[])
	GWindow Gwin;
	// Clear the Gwin window

	char tags[MAX_VEHICLES];
	void * vehicles[MAX_VEHICLES];

	ifstream infile;
	if (argc >1)
		//filename passed as command line argument
		//set in Project->Properties->Configuration->Debugging
		string fileName;
		cout << "File to open" << endl;
		cin >> fileName;


No worries, I've took it out of Gwin. Don't even need to use it! Thanks if you went to help lol xx

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.