0

Hi,

I am using Borland C Compiler for preprocessing a source file.
I am using the following command for preprocessing....

C:\cpp32.exe -P- -o"outputfilename" "Sourcefilename"

According to my requirement i should get source file comments into preprocessed
file. The above command is not satisfying my requirement. I don't which options i should use to get this. Please help me in this regards. I have attached sample source file also.

Thank you in advance.
Sanjeeva Kumar.

Attachments
/* this function returns integer
AEWDASD
ASD
*/
int add()
{
/* this function returns integer */
    int a;

    a = addition(20,30);

    return a;
}
3
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by mitrmkar
0

Hi,

I am using Borland C Compiler for preprocessing a source file.
I am using the following command for preprocessing....

C:\cpp32.exe -P- -o"outputfilename" "Sourcefilename"

According to my requirement i should get source file comments into preprocessed
file. The above command is not satisfying my requirement. I don't which options i should use to get this. Please help me in this regards. I have attached sample source file also.

Another request for psychic help. How can we give any recommendations if you don't give us any useful information?

0

The above command is not satisfying my requirement. I don't which options i should use to get this.

Hmm .. open a command prompt and try e.g.
cpp32.exe -?
to see if there is an option for preserving comments in the preprocessor output.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.