Help with Program
I am making a GUI program in Visual Studio C++ 2008.
I have an image file that may help out in solving this dilemma.
I also have code to supplement this as well:
http://codepad.org/hkmHDHRo <-- too long to put here
Everything else works like it should; I just need the countitems function to work and I'm not exactly sure why it isn't working.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
/*
int CountItems(){
int ItemCounter = 0;
for( CurrentRecordPointer = FirstRecordPointer;
CurrentRecordPointer != NULL;
CurrentRecordPointer = CurrentRecordPointer->Link( ) )
{
ItemCounter++;
}
return( ItemCounter) ;
}*/
|
If anyone can point me in the right direction, that would be awesome. Thanks!
EDIT: Forgot to add the gui part of it:
http://i.imgur.com/ton2v.jpg
Last edited on
Topic archived. No new replies allowed.