![]() |
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.
|
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. |
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.
|
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.
|
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. |
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.
|
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.
|
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. :)
|
Re: Visual C++ 2008 Questions
Microsoft has very good documentation also, another big plus in my book.
|
Re: Visual C++ 2008 Questions
Quote:
|
| All times are GMT -5. The time now is 3:56 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC