uninitialized local variable 'XXXXXX' used
This is proabably some stupid error on my part, but I can't seem to see why the following piece of code isn't working:
The warning I am getting is the following:
char *starthour, *startmin;
starttime.open ("starttime.txt", ios::in);
starttime >> starthour;
starttime >> startmin;
The same for the majority of the variables in the code.
warning C4700: uninitialized local variable 'starthour' used
Any help is greatly appreciated.