![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Mar 2008
Posts: 25
Rep Power: 0
![]() |
Visual C++ 2008 Questions
I was wanting to know what properties will i need to change for a project to have it's files in another location then where the necessary "Visual Studio" project files are located. I have another folder that has sub folders for each project, and all of this is going to a SVN Code Repository that is being hosted elsewhere. But I want to keep out all the "junk" that is created from Visual Studio.
|
|
|
|
|
|
#2 |
|
PFO God In Training
![]() Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 549
Rep Power: 4
![]() |
Re: Visual C++ 2008 Questions
The way I have done it is to first create a project with no files (empty project). Then in Solution Explorer right click <project nanme> --> Source Files, select Add --> Existing Item. Navigate to where the source files are, select all the files you want to add, then click the Add button.
Do the same for the header files. You may have to leave precompiled headers disabled, I've not been able to get that to work when the source files are in a different location.
__________________
True Terror is to wake up one morning and discover that your high school class is running the country - Kurt Vonnegut Jr. |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Mar 2008
Posts: 25
Rep Power: 0
![]() |
Re: Visual C++ 2008 Questions
Is there way to set the folder to where you create files? I guess you can do it like that but what if I wanted to create a file, I would like it to just be created in this new folder.
|
|
|
|
|
|
#4 |
|
PFO God In Training
![]() Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 549
Rep Power: 4
![]() |
Re: Visual C++ 2008 Questions
when you save the file just do "Save As" and specifiy the full path to the folder. As far as I know there is no other way to do it.
__________________
True Terror is to wake up one morning and discover that your high school class is running the country - Kurt Vonnegut Jr. |
|
|
|
|
|
#5 |
|
Newbie
Join Date: Dec 2007
Posts: 16
Rep Power: 0
![]() |
Re: Visual C++ 2008 Questions
hey I was thinking about switching over to Visual C++ from Dev-C++. I feel like doing it because it seems as though Dev has a lot of strange things about it:
1. Some programs from tuts and self-teach books do not run on Dev error free. 2. It doesn't explain errors well (for example, when I forget to add ";" to a line, Dev makes the error go on the next line). 3. Visual looks really nice. I'm just wondering if switching compilers is a wise decision? An important decision? Off topic: This forum seems much more informed and much more modest than Daniweb. Just IMO.
__________________
Aspiring Game Designer |
|
|
|
|
|
#6 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Re: Visual C++ 2008 Questions
Dev-C++ hasn't been updated in approximately forever. Check out Code::Blocks - basically the same thing, but much, much newer.
|
|
|
|
|
|
#7 |
|
PFO God In Training
![]() Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 549
Rep Power: 4
![]() |
Re: Visual C++ 2008 Questions
You don't have to choose one over the other -- you can have both installed on the same computer, assuming you have enought disk space. I like VC++ 2008 Express better, but I've been using Microsoft compilers for a lot of years and know the IDEs pretty well. VC++ has a much better debugger, never figured out out how to use Dev-C++'s debugger. But if you are looking for portability between Windows and *nix then Dev-C++ is a definite plus because it uses the same backend compiler that most *nix machines use so there is little, if any, code porting to get the program to compile on both operating systems.
__________________
True Terror is to wake up one morning and discover that your high school class is running the country - Kurt Vonnegut Jr. |
|
|
|
|
|
#8 |
|
Newbie
Join Date: Dec 2007
Posts: 16
Rep Power: 0
![]() |
Re: Visual C++ 2008 Questions
Thank you guys, very inciteful posts. I will DL VSC++ and see if its really what it's cracked up to be.
![]()
__________________
Aspiring Game Designer |
|
|
|
|
|
#9 |
|
Not a user?
Join Date: Sep 2007
Posts: 272
Rep Power: 2
![]() |
Re: Visual C++ 2008 Questions
Microsoft has very good documentation also, another big plus in my book.
|
|
|
|
|
|
#10 | |
|
PFO God In Training
![]() Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 549
Rep Power: 4
![]() |
Re: Visual C++ 2008 Questions
Quote:
Its a lot better now than it was 10-15 years ago. Way back then there were lots of mistakes in it but I think they've pretty much cleaned up their act now.
__________________
True Terror is to wake up one morning and discover that your high school class is running the country - Kurt Vonnegut Jr. |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Visual Studio 2008 Release! | Ghost | Coder's Corner Lounge | 6 | Nov 27th, 2007 4:22 AM |
| Visual Studio 2008 | crawforddavid2006 | Coder's Corner Lounge | 4 | Sep 7th, 2007 12:07 PM |
| Question about using Visual J# | 357mag | Java | 2 | Apr 17th, 2007 6:49 AM |
| Visual Studio vs Visual C++ | NightShade01 | C++ | 14 | Feb 26th, 2006 9:39 AM |
| Visual Basic Questions | JamesF | Visual Basic | 3 | May 29th, 2005 9:00 AM |