29-11-2007, 10:30
|
|
|
חבר מתאריך: 17.11.07
הודעות: 16
|
|
אוקיי קראתי על זה קצת באינטרנט וכתוב משהו כזה
Using GOTO commands in modern languages is a BIG faux pas in programming. It should be avoided, and more structured, well, structures should be used. Instead of GOTO, use a loop, conditional, or function call. You've got lots of options in C++: FOR, WHILE, DO, IF, SWITCH, TERNARY (?). Other times you'll want to use a function call in place of a GOTO jump.
אז כנראה שלא כדאי להשתמש בזה
|