[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 226
  • Last Modified:

How to get precompiled listing ?

While compiling an application, I like to get a precompiled output where the source code is expanded with all the header files. Is thre some setting to get this using VC++1.52 or BC++4.52 ??
0
sasikala
Asked:
sasikala
1 Solution
 
jkrCommented:
For VC++, the /P or /E option should work, e.g.

cl file.c /P (will result in a listing file named 'file.i')

or

cl file.c /E (will output to stdout)
0
 
AlexVirochovskyCommented:
For BC you can use utility
cpp32.exe (or Cpp.exe) :
example:
cpp32.exe mytext.cpp
Result file(with precompiled text) will be mytext.i
Alex
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now