goto statement

23 views
Skip to first unread message

Asad Choudhary

unread,
Dec 12, 2012, 9:36:15 AM12/12/12
to itc-d-f...@googlegroups.com
is it true that goto statement does not consider as a good programing practice??

M Mansoor Ali

unread,
Dec 12, 2012, 10:17:49 AM12/12/12
to itc-d-f...@googlegroups.com
kya ho gya he ?....goto statement is good programming practice...and it is used in many way...specially in games

Usman Ghaffar

unread,
Dec 12, 2012, 10:22:38 AM12/12/12
to itc-d-f...@googlegroups.com
Ye use kse krte hn ASAD and MANSOOR

JIBRAN ALI

unread,
Dec 12, 2012, 10:28:29 AM12/12/12
to itc-d-f...@googlegroups.com
o bhai kl sbmission hi tjhe ab puchna yaad aya hi post delete kar because if its a bad practice than we all are wrong

On Wed, Dec 12, 2012 at 8:22 PM, Usman Ghaffar <usm....@gmail.com> wrote:
Ye use kse krte hn ASAD and MANSOOR

--
 
 

Asad Choudhary

unread,
Dec 12, 2012, 10:42:00 AM12/12/12
to itc-d-f...@googlegroups.com
write

goto label;

and write

label:

before statment from which you want to execute your program again

check this link
http://www.tutorialspoint.com/cplusplus/cpp_goto_statement.htm

Asad Choudhary

unread,
Dec 12, 2012, 10:42:59 AM12/12/12
to itc-d-f...@googlegroups.com
label is just like a veriable name

Asad Choudhary

unread,
Dec 12, 2012, 10:44:22 AM12/12/12
to itc-d-f...@googlegroups.com
J.B yar jo hona tha ab ho gya jitnay marks katny hain wo katt hi janay hain :)

Usman Ghaffar

unread,
Dec 12, 2012, 11:00:13 AM12/12/12
to itc-d-f...@googlegroups.com
Asad yar koi or link btana

Asad Choudhary

unread,
Dec 12, 2012, 11:36:23 AM12/12/12
to itc-d-f...@googlegroups.com
ok main call kr k btata hun
Reply all
Reply to author
Forward
0 new messages