Click here to Skip to main content
15,919,749 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: OnContextMenu(...) Pin
kcynic9-Jun-07 18:35
kcynic9-Jun-07 18:35 
GeneralRe: OnContextMenu(...) Pin
ashukasama10-Jun-07 18:54
ashukasama10-Jun-07 18:54 
QuestionHow to download a picture using a simplest c++ console programme Pin
shanzy8-Jun-07 17:56
shanzy8-Jun-07 17:56 
AnswerRe: How to download a picture using a simplest c++ console programme Pin
karle9-Jun-07 6:25
karle9-Jun-07 6:25 
QuestionHow to avoid Source Insight sort items in relation window? Pin
zhongwenjia8-Jun-07 16:23
zhongwenjia8-Jun-07 16:23 
QuestionMaking VC++ create only one object file? Pin
Lord Kixdemp8-Jun-07 13:59
Lord Kixdemp8-Jun-07 13:59 
AnswerRe: Making VC++ create only one object file? Pin
Michael Sadlon8-Jun-07 14:07
Michael Sadlon8-Jun-07 14:07 
AnswerRe: Making VC++ create only one object file? Pin
John R. Shaw8-Jun-07 21:07
John R. Shaw8-Jun-07 21:07 
Lord Kixdemp wrote:
But Visual Studio seems to compile each CPP file into its own object file


That is normal (for every compiler I’ve used), as each file represents a separate unit. Undefined references are a different problem all together.

If you want a single object file, then use the #include syntax to include all the ‘.cpp’ files in a file called “index.cpp” and then only include that file in the project. Of course this is not normal and you may not have enough memory to do it, but it should work.


INTP
"Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra

GeneralRe: Making VC++ create only one object file? Pin
Lord Kixdemp11-Jun-07 15:59
Lord Kixdemp11-Jun-07 15:59 
QuestionPorting UNIX code to Visual C++ Pin
D Lacey8-Jun-07 13:12
D Lacey8-Jun-07 13:12 
AnswerRe: Porting UNIX code to Visual C++ Pin
Nemanja Trifunovic8-Jun-07 13:20
Nemanja Trifunovic8-Jun-07 13:20 
AnswerRe: Porting UNIX code to Visual C++ Pin
Hans Dietrich8-Jun-07 13:38
mentorHans Dietrich8-Jun-07 13:38 
GeneralRe: Porting UNIX code to Visual C++ Pin
bob169728-Jun-07 17:17
bob169728-Jun-07 17:17 
GeneralRe: Porting UNIX code to Visual C++ Pin
Mark Salsbery9-Jun-07 8:40
Mark Salsbery9-Jun-07 8:40 
GeneralRe: Porting UNIX code to Visual C++ Pin
bob169729-Jun-07 9:02
bob169729-Jun-07 9:02 
GeneralRe: Porting UNIX code to Visual C++ Pin
Mark Salsbery9-Jun-07 15:36
Mark Salsbery9-Jun-07 15:36 
AnswerRe: Porting UNIX code to Visual C++ [modified] Pin
Mark Salsbery8-Jun-07 13:45
Mark Salsbery8-Jun-07 13:45 
Question_findfirst() can't see host on LAN Pin
Robert Palma Jr.8-Jun-07 10:56
Robert Palma Jr.8-Jun-07 10:56 
AnswerRe: _findfirst() can't see host on LAN Pin
Mark Salsbery8-Jun-07 11:03
Mark Salsbery8-Jun-07 11:03 
GeneralRe: _findfirst() can't see host on LAN Pin
Robert Palma Jr.9-Jun-07 7:43
Robert Palma Jr.9-Jun-07 7:43 
QuestionRe: _findfirst() can't see host on LAN Pin
David Crow9-Jun-07 6:47
David Crow9-Jun-07 6:47 
AnswerRe: _findfirst() can't see host on LAN Pin
Robert Palma Jr.9-Jun-07 7:45
Robert Palma Jr.9-Jun-07 7:45 
QuestionPrinting html file withought print dialog show Pin
pnpfriend8-Jun-07 9:57
pnpfriend8-Jun-07 9:57 
AnswerRe: Printing html file withought print dialog show Pin
ashukasama9-Jun-07 1:36
ashukasama9-Jun-07 1:36 
Questionproblem on work with Class CArray [modified] Pin
Immunity188-Jun-07 9:14
Immunity188-Jun-07 9:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.