Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 8th, 2008, 7:22 PM   #1
KuraKai
Newbie
 
Join Date: Mar 2008
Posts: 25
Rep Power: 0 KuraKai is on a distinguished road
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.
KuraKai is offline   Reply With Quote
Old Mar 8th, 2008, 8:09 PM   #2
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 489
Rep Power: 4 Ancient Dragon is on a distinguished road
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.
__________________
I Like Ike. Vote for Dwight Eisenhower this November.
--This message brought to you by the the Procrastinators Club Of America.
Ancient Dragon is offline   Reply With Quote
Old Mar 8th, 2008, 8:14 PM   #3
KuraKai
Newbie
 
Join Date: Mar 2008
Posts: 25
Rep Power: 0 KuraKai is on a distinguished road
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.
KuraKai is offline   Reply With Quote
Old Mar 8th, 2008, 8:16 PM   #4
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 489
Rep Power: 4 Ancient Dragon is on a distinguished road
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.
__________________
I Like Ike. Vote for Dwight Eisenhower this November.
--This message brought to you by the the Procrastinators Club Of America.
Ancient Dragon is offline   Reply With Quote
Old Mar 15th, 2008, 10:17 PM   #5
wannabe7
Newbie
 
Join Date: Dec 2007
Posts: 16
Rep Power: 0 wannabe7 is on a distinguished road
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
wannabe7 is offline   Reply With Quote
Old Mar 15th, 2008, 10:19 PM   #6
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 8 Ooble is on a distinguished road
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.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Mar 15th, 2008, 10:23 PM   #7
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 489
Rep Power: 4 Ancient Dragon is on a distinguished road
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.
__________________
I Like Ike. Vote for Dwight Eisenhower this November.
--This message brought to you by the the Procrastinators Club Of America.
Ancient Dragon is offline   Reply With Quote
Old Mar 15th, 2008, 10:54 PM   #8
wannabe7
Newbie
 
Join Date: Dec 2007
Posts: 16
Rep Power: 0 wannabe7 is on a distinguished road
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
wannabe7 is offline   Reply With Quote
Old Mar 16th, 2008, 3:48 AM   #9
Jabo
Not a user?
 
Join Date: Sep 2007
Posts: 231
Rep Power: 1 Jabo is on a distinguished road
Re: Visual C++ 2008 Questions

Microsoft has very good documentation also, another big plus in my book.
Jabo is offline   Reply With Quote
Old Mar 16th, 2008, 6:55 AM   #10
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 489
Rep Power: 4 Ancient Dragon is on a distinguished road
Re: Visual C++ 2008 Questions

Quote:
Originally Posted by Jabo View Post
Microsoft has very good documentation also, another big plus in my book.
Good -- but not always accurate 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.
__________________
I Like Ike. Vote for Dwight Eisenhower this November.
--This message brought to you by the the Procrastinators Club Of America.
Ancient Dragon is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:45 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC