|
-
December 17th, 2009, 11:53 AM
#16
Re: compile only one .cpp file???
I hope jdqie finds this entertaining enough to motivate him/her to continue learning C++
-
December 17th, 2009, 11:58 AM
#17
Re: compile only one .cpp file???
 Originally Posted by OReubens
i += !isEasier - isEasier;
Probably the best one to make people scratch their heads twice figuring out what this does.
i admit and i like it 
win7 x86, VS 2008 & 2010, C++/CLI, C#, .NET 3.5 & 4.0, VB.NET, VBA... WPF is comming
remeber to give feedback  you think my response deserves recognition? perhaps you may want to click the Rate this post link/button and add to my reputation
private lessons are not an option so please don't ask for help in private, I won't replay
if you use Opera and you'd like to have the tab-button functionality for the texteditor take a look at my Opera Tab-UserScirpt; and if you know how to stop firefox from jumping to the next control when you hit tab let me know
-
December 17th, 2009, 12:04 PM
#18
Re: compile only one .cpp file???
 Originally Posted by laserlight
I hope jdqie finds this entertaining enough to motivate him/her to continue learning C++ 
Oh let's humour him and provide him with the answer.
DevStudio works with projects. It doesn't do the "single .cpp" thing by design, and it's something you have to live with.
The underlying idea behind it is that a single .cpp doesn't really tell the compiler and linker what it is supposed to do...
Do you want a windows console exe ? A GUI exe ? A dll ? A 32bit or a 64 bit one ? Ascii or Unicode ?
You could have defaults for all, or you could just require a file that has all those configuration options in it... Lo and behold, that's exactly what a project file does.
-
December 17th, 2009, 10:21 PM
#19
Re: compile only one .cpp file???
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|