c++ help

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
 
Last edited:

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,807
Latest member
ryef

Latest Threads

Top