Computer Science I How to Configure Visual Studio.NET 2003 for C++ Colin Goble.

Slides:



Advertisements
Similar presentations
Clicking on the link for the.tns file gives you will get the following screen: Select Save File and click OK.
Advertisements

1 CSCI N305 C Language Programming Welcome to CSCI N305! Compiling Your First Program Using Microsoft Visual Studio 2008.
C Pre-Course Workshop Terence Lee QT406 -> PQ607
1 Visual Basic.NET Application Overview. 2 Objectives Discuss what a typical Visual Basic.NET application looks like Configure the Visual Studio.NET Integrated.
CS 1400 Using Microsoft Visual Studio 2005 if you don’t have the appropriate appendix.
1 3D Modelling with OpenGL Brian Farrimond Robina Hetherington.
Using Visual C++ and Pelles C
1b – Inside Visual Studio Lingma Acheson Department of Computer and Information Science, IUPUI CSCI N331 VB.NET Programming.
1 ENG236: ENG236: C++ Programming Environment (2) Rocky K. C. Chang THE HONG KONG POLYTECHNIC UNIVERSITY.
Introduction to VB.NET Tonga Institute of Higher Education.
COS120 Software Development Using C++ AUBG Fall semester 2010 Ref book: Problem Solving, Abstraction and Design Using C++ Authors: Frank Friedman, Elliot.
© Copyright 1992–2005 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Tutorial 2 - Welcome Application: Introduction to C++
© Copyright 1992–2005 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Tutorial 2 - HelloWorld Application: Introduction to.
Using Visual Studio 2013 An Integrated Development Environment (IDE)
IT 211 Project Integration and Deployment Lab #11.
CS Tutorial 1 Getting Started with Visual Studio 2012 (Visual Studio 2010 are no longer available on MSDNAA, please choose Visual Studio 2012 which.
Intro to C++. Getting Started with Microsoft Visual Studios Open Microsoft Visual Studios 2010 Click on file Click on New Project Choose Visual C++ on.
Computer Programming for Engineers Introduction to Programming in C Language on Visual C Platform Intro. Comp. Prog. C-Language1.
A1 Visual C++.NET Intro Programming in C++ Computer Science Dept Va Tech August, 2002 © Barnette ND & McQuain WD 1 Quick Introduction The following.
Jan. 29, 2008(c) Mike Barnoske Introduction to Runtime Debugging Using the Visual C++ IDE COP 4331: OO Processes for SW Development © Dr. David A. Workman.
CPS120: Introduction to Computer Science Compiling Your Programs Using Visual C++
Lecture 6: Computer Languages. Programming Environments (IDE) COS120 Software Development Using C++ AUBG, COS dept.
ZONG Wen Department of Computer Science and Engineering The Chinese University of Hong Kong
Project Deployment IT [211 CAP] How to convert your project to a full application.
(for Visual C++) Created by Daniel Lee, Li Mengran (past tutors) Contributions: Loke Yan Hao (current tutor)
Creating Projects in JCreator Computer Science 40S.
Programming with Visual C++ A short review of the process.
N from what language did C++ originate? n what’s input, output device? n what’s main memory, memory location, memory address? n what’s a program, data?
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
Programming with Visual Studio 2005.NET A short review of the process.
Using Microsoft Visual Studio C++ Express 2005 Name: Dr Ju Wang Ashwin Belle Course Resource:
N from what language did C++ originate? n what’s input, output device? n what’s main memory, memory location, memory address? n what’s a program, data?
Visual Basic.NET BASICS Lesson 1 A First Look at Microsoft Visual Basic.NET.
Programming with Visual Studio.NET A short review of the process.
Information and Communication Technology Sayed Mahbub Hasan Amiri Dhaka Residential Model College Higher Secondary.
1 Getting Started with C++. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Visual Studio 2008.
CSC 230 (Blum)1 Visual Basic 2005 Hello World Fall 2005 T. Blum.
LAB#1 CSC st semster H King Saud University College of Applied studies and Community Service Csc 1101.
C++ LANGUAGE TUTORIAL LESSON 1 –WRITING YOUR FIRST PROGRAM.
1 How to Install OpenGL u Software running under Microsoft Windows makes extensive use of "dynamic link libraries." A dynamic link library (DLL) is a set.
Lab00-Getting Started with VC Launch VS 2005 Launch Visual Studio 2005 – Start > All Programs > Microsoft Visual Studio 2005 > Microsoft Visual.
1 Getting Started with C++ Part 2 Linux. 2 Getting Started on Linux Now we will look at Linux. See how to copy files between Windows and Linux Compile.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
Open project in Microsoft Visual Studio → build program in “Release” mode.
C Programming Lecture 3 : C Introduction 1 Lecture notes : courtesy of Woo Kyun and Chang Byung-Mo.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Tutorial 1 Writing Your First C++ Program CSC1110C Introduction to Computer Programming By Paul Pun Acknowledgement: Special thanks to Dr. Michael Fung.
DEVRY CIS 170 C I L AB 1 OF 7 G ETTING S TARTED Check this A+ tutorial guideline at
Dive Into® Visual Basic 2010 Express
Development Environment Setup
Chapter 2: The Visual Studio .NET Development Environment
Great way to learn is by example so fire up Visual Studios C (at home make sure you custom install with C++ - no longer default) by Deborah R. Fowler.
Computer Terms Review from what language did C++ originate?
COMP 170 – Introduction to Object Oriented Programming
Quick Start Guide for Visual Studio 2010
Lab 1 Introduction to C++.
Chapter 1: An Overview of Computers and Programming Languages
1. Open Visual Studio 2008.
Welcome to Intro to C/C++ CISC 192
Lab 1 Introduction to C++.
Creating Your First C Program Using Visual Studio 2010
Download and Installation of code::blocks
Our Environment We will exercise on Microsoft Visual C++ v.6
Creating Your First C Program Using Visual Studio 2010
Double click Microsoft Visual Studio 2010 on the Computer Desktop
Creating the First Program
These slides are for reference only. They are not "lecture notes"
Computer Terms Review from what language did C++ originate?
Welcome to Intro to C/C++ CISC 192
Presentation transcript:

Computer Science I How to Configure Visual Studio.NET 2003 for C++ Colin Goble

Starting Visual Studio Using Windows Explorer, create a folder on your hard drive to contain the projects you will be working on this term. I would suggest C:\CS161 for want of anything better. Open Microsoft Visual Studio.NET 2003 Click New Project Select Visual C++ Projects and Win32 Console Project –It is VERY important you choose these exact settings. For example, do not choose Console Application (.Net) or Win32 Project by mistake Enter a Name for your project. I recommend you choose a suitable name, such as HelloWorld or Horoscope, as appropriate. I also recommend you not use embedded spaces in your names. Enter the Location for your project. This will be C:\CS161 if you did as I suggested in step 1. Click OK.

Win32 Application Wizard Important: On the next screen, select the Application Settings tab, and choose Empty Project and Console App. Click Finish Your project has been created in a subfolder of C:\CS161. The subfolder name is the same as the project name. You can explore this folder to see the various files Visual Studio has created.

Entering your C++ Program In the Solution Explorer panel of Visual Studio (top right), right click on Source Files, and select Add New Item Choose Visual C++, C++ File (.cpp) Enter a suitable name for your source file (e.g. helloworld). I recommend you not use embedded spaces in your name. Check that the Location refers to your project folder. Click Open

Click on your new source file in Solution Explorer and enter your program in the main edit window on the left // This is the Hello World program (HelloWorld.cpp) // Written by: Colin Goble // Date: 16 Sep 2004 // Sources: None // The next two lines are standard boilerplate // you need in front of virtually every C++ program. #include using namespace std; int main () { cout << "Hello World" << endl; return 0; }

Running your Program First you must build (compile and link) your application. –On the menu bar click Build followed by Build Solution (cntl-shift-B) –Make sure there are no errors To run your application –On the menu bar click Debug followed by Start Without Debugging (control-F5) Confirm your program outputs “Hello World”

Editing and Bug Fixing If there are errors of any kind, you must correct the errors by editing the text in the main edit window, and rebuilding and rerunning your application. You must repeat this cycle until everything is correct and to your satisfaction. Close Visual Studio. To reopen your project at a later date, open Visual Studio, and choose Recent Projects from the File menu.