User profile: Texan40

User info
User name:Texan40
Number of posts:498
Latest posts:

need a little help figuring out what's wrong
You need to initialize your variables. If you increment an uninitialized variable you will get valu...

mapping x,y coordinates
starting from the innermost circle and going out you can just use the circle center point and test f...

HELP End of File
change the while statement to: [code] while(infile >> copiesSold >> sellingPrice) [/code] Then del...

mapping x,y coordinates
Are you drawing this in a native window, or using a 3rd party graphics library?

Infinite Loop when using ifstream::seekg()
[code] ifstream inp("data.txt"); char buf[4]; while(,4)) { if(buf==something) ...