Automatically generate header file?
-
Are there any tools can generate header file from a cpp file automatically? For example it generate the cpp file: double sum(double a, double b) {return a + b;} bool islowercase(char ch) {return ('a' <= ch && 'z' >= ch);} void main() {printf("A");} into a header file as: double sum(double, double); bool islowercase(char);
-
Are there any tools can generate header file from a cpp file automatically? For example it generate the cpp file: double sum(double a, double b) {return a + b;} bool islowercase(char ch) {return ('a' <= ch && 'z' >= ch);} void main() {printf("A");} into a header file as: double sum(double, double); bool islowercase(char);
it really wouldnt be so difficult to process the file and figure out the function def lines and write them to a header file
situations to avoid #37:
"good morning ... how many sugars do you take in your coffee ... and what was your name again?"coming soon: situations to avoid #38: "...and the dog was there too?"
-
Are there any tools can generate header file from a cpp file automatically? For example it generate the cpp file: double sum(double a, double b) {return a + b;} bool islowercase(char ch) {return ('a' <= ch && 'z' >= ch);} void main() {printf("A");} into a header file as: double sum(double, double); bool islowercase(char);
ivex wrote: Are there any tools can generate header file from a cpp file automatically? Not that i've heard, although i'd love to see one. This is something that really grates on me when reading or writing C++ after seeing Java or C# code. --------_**
And we die young. Faster we run.
**_
Alice in Chains, We Die Young
-
Are there any tools can generate header file from a cpp file automatically? For example it generate the cpp file: double sum(double a, double b) {return a + b;} bool islowercase(char ch) {return ('a' <= ch && 'z' >= ch);} void main() {printf("A");} into a header file as: double sum(double, double); bool islowercase(char);
-
Are there any tools can generate header file from a cpp file automatically? For example it generate the cpp file: double sum(double a, double b) {return a + b;} bool islowercase(char ch) {return ('a' <= ch && 'z' >= ch);} void main() {printf("A");} into a header file as: double sum(double, double); bool islowercase(char);
If you're using VC6, I think you haven't studied the compiler switches before asking. But then "void main" also displays something. :-> Try /Zg