Thread: C++ Help
View Single Post
Old 06-28-2009, 05:06 PM   #8 (permalink)
Baez
Baez's Avatar
 

Join Date: Sep 2005

Location: Toronto, Canada

Posts: 5,470

Baez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of light

Default Re: C++ Help

The reason being NEVER USE GOTO. I'm not mad but I had to make it stand out. :laughing:

Goto statements are the worst and laziest method of C++ programming and should never be used. Use function calls instead. Can you post the "cin" code you were trying to use so I can debug it?

printf works using a variable parameter list. If you don't know what that is I can explain it. Basically it's a function or object that can accept any number of arguments.

EDIT: kmote got to it first
__________________

Baez is offline