Coder Profile - Show off your skills, get a coder profile.
 
 
 
The Author
Wiidude
Kyle
Send A Message
Rating
5.00
out of 10
( 4 Ratings )
Please login to rate source codes.

Click here to register a free account with us.
General Details
C++
Posted 300 Days Ago
224 Views
Received 4 Ratings
More Codes By This Author
Age machine

Age machine


Description
It takes your user imput (age) and doubles it with a simple math algorithim.
Technical
DEV c++ BETA, small program.
Source Code
Comments
Please login to post comments.
 
Wiidude     Posted 299 Days Ago
 
 
Ok, i was getting things like that rom sirtom93, it was just something i tried..
 
Cinjection     Posted 299 Days Ago
 
 
Try to avoid using System("PAUSE"); to pause your program. That function
calls something in the windows library, so it renders your program useless on
something like Linux. It's good to get into the habit of writing code
that's cross-platform.

A better alternative would be:

cin.ignore();
cin.get();

The cin.ignore() line is optional. It just clears the buffer in case you had some
characters left over. In most cases you can leave it out, but if the program still
doesn't pause, just add that in.
 
Wiidude     Posted 300 Days Ago
 
 
I wrote this myself, trying to learn C++, the basic structure is from Cplusplus.com,
although, this one was wtritten entirly by me.
Page 1 of 1
More "C++" Source Codes By This Author
Recently Posted "C++" Source Codes
Recently Rated "C++" Source Codes
 
 
Latest News About Coder Profile
Coder Profile Poll
How often do you write code on average per week?

< 5 hours
5 to 20 hours
21 to 30 hours
31 to 40 hours
> 40 hours


please login to cast your vote
and see the results of this poll
Latest Coder Profile Changes
Coder Profile was last updated
5 Days Ago
Official Blog :: Make A Donation :: Credits :: Contact Me
Terms & Conditions :: Privacy Policy :: Documents :: Wallpapers
Version 1.46.00
Copyright © 2007 - 2008, Scott Thompson, All Rights Reserved