Re: knight Problem
Raj <[email protected]>
| Newsgroups | gmane.comp.programming.cppug |
|---|---|
| Message-ID | <[email protected]> |
Alos consider a situation where this application is a part of some web based application or some other routine is calling this application. Routine calling this application may display an error message accordingly based on the number received. E.g. 0 : Successful execution 1 : unknown error or some unhandled exception 2 : I/O error 3 : I/p Data missing 4 : ...... regards, Rajendra --- Marcel <[email protected]> wrote: > and what's the problem? > > the value the main function return is the error > code, > 0 means that your program executed woth no erros, > numbers different than 0 indicates the error, this > may > vary and depends on the OS, but usually the closer > the > number is to 0 less serious it is > exemple: > 1 : minor error > 2 : more serious error > 3 : problems!! > > marcel > > --- barjesh kumar <[email protected]> wrote: > > > Hallo to All of you. I have one problem for you > > people. > > move one Knightt in the chess Board in such a way > > that it goes through all the squares for one and > > only > > one time. we developed this program in C and it > > takes > > 20 minutes in execution for the final result. > > > > 2ndly i would like to ask why mostly we write > return > > 0; at the end of main.is it indication to > operating > > system regarding succesful execution of the main > > function. > > > > Have a nice time, > > Barjesh. > > > > > > --- Raghu kumar <[email protected]> wrote: > > > > > Hi friend., > > > i am really sorry to tell u friend > > > that i don't have any knowledge or idea about > > > plug-in's > > > i am really sorry. > > > > > > I am a new programmer > > > who has just learned how to program in c++. > > > > > > > > > Your friend > > > Raghu kumar > > > > > > > > > > > > > > > __________________________________ > > > Do you Yahoo!? > > > New and Improved Yahoo! Mail - Send 10MB > messages! > > > http://promotions.yahoo.com/new_mail > > > > > > > > > > > > > > > > _______________________________ > > Do you Yahoo!? > > Declare Yourself - Register online to vote today! > > http://vote.yahoo.com > > > > > > ------------------------ Yahoo! Groups Sponsor > > --------------------~--> > > Make a clean sweep of pop-up ads. Yahoo! Companion > > Toolbar. > > Now with Pop-Up Blocker. Get it for free! > > > http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/EbFolB/TM > > > --------------------------------------------------------------------~-> > > > > > > > > Yahoo! Groups Links > > > > > > [email protected] > > > > > > > > > > > > > _______________________________ > Do you Yahoo!? > Declare Yourself - Register online to vote today! > http://vote.yahoo.com > ________________________________________________________________________ Yahoo! India Matrimony: Find your partner online. http://yahoo.shaadi.com/india-matrimony/ ------------------------ Yahoo! Groups Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/EbFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/cppug/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/