Member Avatar

Hello :) I'm creating a license plate recognition system for my coursework at University. We need to use Binary trees, which I've done but the information needs to be stored in a file to read and write to. I've created some text files with XML tags in for Cars, Lorries, Buses and Motorbikes and I've written some of the code below, but the "File to open" bit my tutor helped me with. When I run the program, it says "File to open" and I'm not sure what I need to do? Would anyone be able to help me? [CODE]int _tmain(int …

Member Avatar
+0 forum 8
Member Avatar

Hello :) I'm having a couple of errors that i just can't get my head around so please help! [U]Error 1[/U] [B]warning C4018: '<' : signed/unsigned mismatch[/B] [CODE] for (int i=0; i<numVehicles; ++i) [/CODE] [U]Error 2[/U] [B]error LNK2019: unresolved external symbol _main referenced in function "int __cdecl console_main(int,char * * const)" (?console_main@@YAHHQAPAD@Z)[/B] [CODE]int _tmain(int argc, _TCHAR* argv[]) { GWindow Gwin; // Clear the Gwin window Gwin.clear(); Gwin.setPenColour(BLACK); 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 infile.open(argv[1]); } else { string fileName; cout << "File to open" << endl; …

Member Avatar
+0 forum 1

The End.