Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Help with c programming!
Name: modnar Date: March 15, 2004 at 18:39:27 Pacific OS: win xp CPU/Ram: amd 2500
Comment:
Hi, I'm a rookie in c programming and need some help with writing a simple stopwatch program.
The stopwatch must have a circular background, with both a digital (minutes: seconds) and analogue display (second, minute hands). The second hand must sweep behind the digital display as well. All graphics are to be done using only pixel manipulation.
Can someone provide a bit of code to get me started on this? Thanks in advance!
//Initialize timer and variables for //interacting with timer
//Initialize graphics mode here //and reserve memory to store graphics for //basic clock background graphics
//Main program loop here while (somecodition != quit) { //On every timer click, update graphics and //draw them to the screen and check for user //input }
//Free resources used during program and //maybe restore text mode
}//End of program
//Function to initialize timer //Function to handle drawing the graphics
Summary: Hi. I'm currently learning C++ programming and I have problems coding a program. I need to write a program that finds the integer from 1 to 1000 with the most divisors that produce no remainder. For...
Summary: Ok I have to build a CD Catalog with C++ for school and I got this one but it does not work. I have literally search the internet for hours and have found no codes for a cd catalog,organizers or whate...