HighTechTalks DotNet Forums  

Re: C++ AND .NET NEWBIE

Dotnet Academic General Discussions microsoft.public.dotnet.academic


Discuss Re: C++ AND .NET NEWBIE in the Dotnet Academic General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Peter van der Goes
 
Posts: n/a

Default Re: C++ AND .NET NEWBIE - 07-22-2003 , 12:58 PM







"Simon Whitty" <swhitty (AT) cs (DOT) rmit.edu.au> wrote

Quote:
Hi, I've only just started learning c++ and compile small
apps with the gnu compilier. But I am wanting to start
familiarizing myself with the Visual Studio IDE, and want
to develop my small console apps within VS.NET from now
on.. the only problem is that when I make a new console
project a get some extra rubbish and classes that I don't
want to use.

I only want to use ansi c.

anyway... say for instance how do I launch a project in
visual studio that creates a workspace and project file
for me, but all i want in the source file is;

#include <iostream

int main()
{
std::cout << "Hello, world!\n";
}

..i've tried to remove all the extra classes etc that are
added, but my app won't compile? do i have to change some
settings on the debugger or give it compilation flags?
Thanks
Simon
What C++ project template are you selecting? What you want is the Win 32
Project Template. When you select that template, the Application Wizard will
open. Click on Application Settings. In that dialog, you can select Console
Application instead of the default, and check Empty Project. Once the
project is created, you will then need to select
Project->Add New Item to add a source code file to the project. Open the new
file and start typing :-).
An easier approach would be to download the Student Tools for your version
of VS.NET (2002 or 2003) and install them. You will then have a Win32
Console Application template added to your C++ templates that you can select
directly.
For 2002:
http://msdn.microsoft.com/vstudio/pr...mic/tools.aspx
For 2003:
http://www.msdnaa.net/academictools/studenttools.asp

HTH!

--
Peter - [MVP - Academic]





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.