Advertisement

Newbie C++ Question

Started by August 25, 2002 07:10 PM
4 comments, last by Butifuco78 22 years ago
If i make a function other than main, how can i make the program terminate in that function........i''m not sure whether or not this will make sense to anyone. Thanx, -COLIN
-COLIN
exit( 0 )

Documents [ GDNet | MSDN | STL | OpenGL | Formats | RTFM | Asking Smart Questions ]
C++ Stuff [ MinGW | Loki | SDL | Boost. | STLport | FLTK | ACCU Recommended Books ]
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
Advertisement
wow....that was easy...i feel stupid.....thanx a lot.
-COLIN
Hullo Fruny, could''ve known you were writing in this thread :-)

shadi
quote: Original post by shadi
Hullo Fruny, could''ve known you were writing in this thread :-)

shadi


Heh, I''m writing in every thread.

Documents [ GDNet | MSDN | STL | OpenGL | Formats | RTFM | Asking Smart Questions ]
C++ Stuff [ MinGW | Loki | SDL | Boost. | STLport | FLTK | ACCU Recommended Books ]
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
quote: text


[edited by - shadi on August 26, 2002 5:01:15 AM]

This topic is closed to new replies.

Advertisement