![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to enable #ifdef macro in the command line of make? | princelinux | Linux | 3 | 12-29-2007 07:10 AM |
| how i prepare a c++ code(c code) for implementing my own protocol format | amitpansuria | High Level Programming | 1 | 09-06-2007 08:09 PM |
| SSH key code versus server key code | Texan | Security | 1 | 04-12-2006 08:57 AM |
| How can you show lines surrounding a search string? | robster | UNIX for Dummies Questions & Answers | 3 | 06-07-2005 08:33 AM |
| offset - informix chunk | shibz | UNIX for Dummies Questions & Answers | 1 | 01-27-2003 07:44 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello the great gurus
I'm quite new to this, so perhaps I'm asking a simple and trivial question (which is good, because you'll answer for sure Anyway. I have an amount of *.c files (about 100), and what I want to do, is to surround a specific function call with #ifdef and #endif. Example: Code:
MyFunc(a,b,c); Code:
#ifdef JUST_DONT MyFunc(a,b,c); #endif Thank you very very much. |
| Forum Sponsor | ||
|
|
|
|||
|
I'm sorry, one last question... I want to put the #endif thing one line after this function. I.E.
Code:
status = MyFunc(a, b, c); CheckResults(status); V Code:
#ifdef JUST_DONT status = MyFunc(a, b, c); CheckResults(status); #endif |