|
Prof.
Dr. Bodo Bartning
How
to Make a Project with MS Visual Studio 2005 (German Version)
|
Back to Homepage
Prof. Dr. Bodo Bartning
Back to page "Introduction
to Computing"
How to make a project with Visual Studio 2005
German:
-
Start Visual Studio
-
Menue bar "Datei" <file> / "Neu" <new>
/ "Projekt" <project>
-
In this window:
-
"Projekttypen" <project types> : "Win32"
-
"Vorlagen / Von Visual Studio installierte
Vorlagen": "Win32-Konsolenansendung" <Win32 console application>
-
below: "Name" <name> -> enter a name explaining
your current exercise, e.g. Exercise03-1
-
"Speicherort" <location to store> -> search
for you own network drive, search for (first time: make) a directory in
this drive with the name e.g. Cpp (may be common for all exercises)
-
press button OK
-
In the next window:
-
press button "Weiter" <go on>, NOT "Fertig
stellen" <finish>
-
In the next window:
-
choose "Anwendungtyp": "Konsolenanwendung"
(normally predefined)
-
important: choose "Zusätzliche Optionen"
<additional options>: "Leeres Projekt" <empty project>
-
press button "Fertig stellen" <finish>
So an empty new project is made.
To load the exercise file into you network
drive
-
go onto the internet "www.bartning.org"
-
choose main file if this course
-
go to table "Exercises" and choose the file
to be done: right mouse button (NOT left one), "Save Target to" <Ziel
speichern unter>
-
Search for your own network drive, the directory
of above (e.g. Cpp), the subdirectory with your new project name (above
e.g. Exercises03-1)
To load the file into Visual Studio
-
Window on the left hand side "Projektmappen-Explorer"
< project folder explorer>,
-
on "Quelldateien" <source files> right
hand button of the mouse:
-
"Hinzufügen" <add> / "Vorhandenes
Element" <existing element>
-
search for the previously loaded source file,
choose it.
To see/edit the text of this file
double click on the file name (file name appears
below "Quelldateien")
To run the program
-
either with steps:
-
to compile: "Erstellen" <build> / "Kompilieren"
<compile>
-
to link: "Erstellen" / "[name of project]
erstellen"
-
to load and run: "Debugggen" <debug>
/ "Starten ohne Debuggen" <start without debug>
-
or with one step: the last step above ("Starten
ohne Debuggen")
It may be helpful to add the button
"Starten ohne Debuggen" to the menue bar:
-
right mouse button on the menue bar / "Anpassen"
<customize>
-
in this window choose tab "Befehle" <commands>
/ left hand side of this window: Kategorien <categories> choose "Debuggen",
-
then on right hand side "Befehle" <commands>
search for "Start ohne Debuggen",
-
go on this line with the mouse, press the
left button, while holding this left button shift the cursor to the menue
bar where you want to have the new button, and relase the left mouse button
(so-called drag and drop).