- Joined
- Sep 3, 2012
- Messages
- 1
- Reaction score
- 0
hi , i have written a code in c++ and well it doesn't do what i expect it to do. heres the URL to the code:
[URL]http://goo.gl/S8gmn[/URL]
generally it should read from a text file and populate the structs through a array pointer but when i execute the code nothing happens! or sometimes long random numbers keep occurring can you tell me what am i doing wrong there and suggest any improvements i have marked out the function which im having a poblem with a comment thanks from you help
and this is what im reading from : http://pastebin.com/KXTTJ74b
[URL]http://goo.gl/S8gmn[/URL]
generally it should read from a text file and populate the structs through a array pointer but when i execute the code nothing happens! or sometimes long random numbers keep occurring can you tell me what am i doing wrong there and suggest any improvements i have marked out the function which im having a poblem with a comment thanks from you help
and this is what im reading from : http://pastebin.com/KXTTJ74b
Last edited: