Welcome
Welcome to the forums of AntiRTFM's Absolute N00b Spoonfeed C++ Tutorials!

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, <a href="/profile.php?mode=register">join our community today</a>!

Stop Watch 1.0

Here are some projects of actual programs you can practice making.

Stop Watch 1.0

Postby morags on Tue Sep 01, 2009 8:39 pm

Code: Select all
int main()
{
    system("TITLE Stopwatch 1.0 - Morags");
    cout << "\nWelcome to Stopwatch 1.0\n\n\n";
    system("pause");
   
    int counter = 0;
    int choice;
   
    for(;;)
    {
           system("cls");
           cout << "\n";
           cout << counter;
           Sleep(1000);
           counter++;
           continue;
    }
   
    return 0;
}
Last edited by morags on Thu Sep 03, 2009 5:59 pm, edited 3 times in total.
morags
 
Posts: 12
Joined: Tue Sep 01, 2009 4:00 am

Re: Stop Watch 1.0

Postby noobgrammer on Wed Sep 02, 2009 8:00 am

You might look into the <ctime> header maybe use CLOCKS_PER_SEC somehow
goto the FAQ that will show you what and how to use code tags
I need a compiler with a can of RAID built into it

I added a msn messenger just for programming feel free to email or add yourself to it
User avatar
noobgrammer
 
Posts: 198
Joined: Tue Aug 25, 2009 10:44 am
Location: Orlando


Return to Projects

Who is online

Users browsing this forum: No registered users and 0 guests