![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| EXIT from a Program not from the function.. | ronix007 | UNIX for Dummies Questions & Answers | 9 | 09-06-2007 04:12 AM |
| exit shell script from function | nvrh7 | Shell Programming and Scripting | 1 | 11-27-2005 11:28 AM |
| Where can I find a list of exit codes? (Exit code 64) | jkuchar747 | UNIX for Dummies Questions & Answers | 3 | 12-07-2004 06:08 PM |
| How to get exit value of an executable that gets called from function? | sureshreddi_ps | High Level Programming | 1 | 09-09-2004 11:57 AM |
| capturing exit status ($?) in subshell ?? | Bob Bannon | UNIX for Dummies Questions & Answers | 2 | 06-04-2003 06:23 PM |
|
|
LinkBack | Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
||||
|
capturing enter and exit of every function
If I have a "Hello World" function (just prints that) and a similar "Goodbye World" function... is there a way (maybe a compiler option?) that I can get them to be executed directly as the absolute first and last things run in every function call. So for example, the following code: Code:
int foo()
{
cout << "I think therefor I am" << endl;
return 0;
}
should print out: Quote:
|
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|