Solved

Viewing pre-compiler output under Visual C++

Posted on 1998-10-19
1
177 Views
Last Modified: 2010-04-02
Is there a way under Visual C++ 5.0 to see the source code that is generated by the pre-compiler?
0
Comment
Question by:sephi
1 Comment
 
LVL 8

Accepted Solution

by:
Answers2000 earned 100 total points
Comment Utility
Pre-compiler = you mean preprocessor ?

Use the /p option for CL

This will not output .obj's, but will output pre-processor output into .i files

if you look up "/P compiler option in the help you will get full details
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now