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.

Recommended Answers

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 …

Jump to Post

All 2 Replies

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?

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.