1 CSCI N305 C Language Programming Welcome to CSCI N305! Compiling Your First Program Using Microsoft Visual Studio 2008.

Slides:



Advertisements
Similar presentations
Installing DOS and Windows98 under MS Virtual PC.
Advertisements

How to Import an Excel File Using the SAS Import Wizard SAS 9 for Windows.
Once download completes, click “Open Folder” Uncheck the box “Close this dialog box when download completes” Save the file in a location easy to find.
Windows XP Basics OVERVIEW Next.
C Pre-Course Workshop Terence Lee QT406 -> PQ607
INF 123: Software Architectures, Distributed Systems, and Interoperability Discussion Session Week 3 - Spring 2008 Instructor: Prof. Richard N. Taylor.
PowerPoint 2002 Linking Video in Presentation and Delivering Presentation on the Road.
CS 1400 Using Microsoft Visual Studio 2005 if you don’t have the appropriate appendix.
Course Introduction and Getting Started with C 1 USF - COP C for Engineers Summer 2008.
A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon...
Using Visual C++ and Pelles C
1a – Getting Started Lingma Acheson Department of Computer and Information Science, IUPUI CSCI N331 VB.NET Programming.
FIRST COURSE Creating Web Pages with Microsoft Office 2007.
vPower Еще возможности 26 СПОСОБО В из 1 копии.
13 C H A P T E R © 2001 The McGraw-Hill Companies, Inc. All Rights Reserved1 Downloading from the Internet The graphical user interface has made it so.
Welcome To. Improving Remote File Transfer Speeds By The Solution For: %
Tutorial on Visual Studio express Introduction Visual Studio Express Editions are a new line of Microsoft development Tools. This line of products.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
1 ENG236: ENG236: C++ Programming Environment (2) Rocky K. C. Chang THE HONG KONG POLYTECHNIC UNIVERSITY.
Chapter 9 Web Applications Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. McGraw-Hill.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
Thrive Installation.
Introduction to VB.NET Tonga Institute of Higher Education.
Tutorial 11 Installing, Updating, and Configuring Software
One-To-One Instruction How to install MS Exchange with a two user setup on Windows Server 2003.
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.
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
Computer Programming for Engineers Introduction to Programming in C Language on Visual C Platform Intro. Comp. Prog. C-Language1.
C O M P U T E R G R A P H I C S Jie chen Computer graphic -- OpenGL Howto.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
2. Introduction to the Visual Studio.NET IDE. Chapter Outline Overview of the Visual Studio.NET IDE Overview of the Visual Studio.NET IDE Menu Bar and.
A1 Visual C++.NET Intro Programming in C++ Computer Science Dept Va Tech August, 2002 © Barnette ND & McQuain WD 1 Quick Introduction The following.
C# Tutorial -1 ASP.NET Web Application with Visual Studio 2005.
Introduction to the Visual Studio.NET IDE (LAB 1 )
Computer Science I How to Configure Visual Studio.NET 2003 for C++ Colin Goble.
Project Deployment IT [211 CAP] How to convert your project to a full application.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
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.
Introduction to Web Services. Examples Using a Web Service Creating a new Web Service.
Getting Started with OPC.NET OPC.NET Software Client Interface Client Base Server Base OPC Wrapper OPC COM Server Server Interface WCF Alternate.
Information and Communication Technology Sayed Mahbub Hasan Amiri Dhaka Residential Model College Higher Secondary.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
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.
LAB#1 CSC st semster H King Saud University College of Applied studies and Community Service Csc 1101.
Lab00-Getting Started with VC Launch VS 2005 Launch Visual Studio 2005 – Start > All Programs > Microsoft Visual Studio 2005 > Microsoft Visual.
Install a Windows Service Application Windows Development Fundamentals LESSON 3.2.
Introduction to Eclipse Programming with an Integrated Development Environment.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
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.
The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on.
Downloading a Visual C compilers (try it yourself at home) Visual Studio 2012 can be found at:
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
How to Fi
Quick Start Guide for Visual Studio 2010
1. Open Visual Studio 2008.
ms vısual studıo 2008-Introductıon TUTORIAL
Lab 1 Introduction to C++.
Creating Your First C Program Using Visual Studio 2010
Creating Your First C Program Using Visual Studio 2010
Double click Microsoft Visual Studio 2010 on the Computer Desktop
Software Setup & Validation
CSCE 206 Lab Structured Programming in C
Presentation transcript:

1 CSCI N305 C Language Programming Welcome to CSCI N305! Compiling Your First Program Using Microsoft Visual Studio 2008

2 Objectives for the Lab ä Learn the difference between client-side and server-side programming ä Learn how to open an empty solution and project under Visual Studio.Net ä Compile and run a simple program

3 Client-side vs Server-side compiling ä Environment setup ä Install MS VS.Net 2008 from iuware.iu.edu ä Client-side compiling runs locally on your computer ä Requires installation of a compiler on your system ä Consumes local CPU and hard disk space ä No network (internet) connectivity required ä Service-side compiling runs remotely on a server ä Requires remote access software such as SSH available from iuware.iu.edu ä Server is typically more powerful CPU and has more storage. ä Typically used for larger projects ä Easier to implement team development environment ä Normally uses a command line interface rather than graphical ä Network (internet) connectivity required ä Used for business applications that require production infrastructure (production monitoring, nightly backups, etc.)

4 Start Microsoft Visual Studio 2008 ä Start → All Programs → Microsoft Visual Studio 2008 → Microsoft Visual Studio 2008

5 Starting for the first time ä The first time you run MSVS, you might get a window like this. ä Set Visual C++ Development Setting as your default environmental settings. ä Use General Development Settings if you have no preference.

6 Initial MSVS Window ä ä Here is an image of the initial window.

7 Opening a New Project ä Open a project using File → New Project → Visual C++ → Win32 → Win32 Console Application → enter your project name and browse to select a location (where your project will be saved) → OK.

Project Settings ä Choose Next > at this dialog.

9 Project Settings (continued) ä Be sure to check Empty project and Finish.

10 Add a New Item ä Right-click on Source Files and Add a New Item.

11 Create a.c File ä Choose Visual C++ Code, C++ File, enter a file name with.c as the file extension.

12 Enter Code into Your File ä ä Enter a standard C program into the.c file.

13 Save and Compile Your Program ä Save → Build → Build Solution

14 Save and Compile Your Program ä A successful build:

15 Save and Compile Your Program ä An unsuccessful build, read the error message and correct the errors and build again:

16 Run the Program ä After a successful build, Debug →Start Without Debugging to run the program:

17 Run the Program ä Examine the output:

18 Congratulations! ä You created a new Microsoft Visual Studio 2008 Project. ä Selected Visual C++ Win32 Console Application. ä Created your own.c file, entering code just like in class. ä Ran your program to produce output. ä You did all of this using an easy editor without logging onto the internet.

19 Open an Existing Program If your project is named projectOne: ä Find the projectOne folder at the location where you saved your project. ä In the projectOne folder, double click on the file projectOne.vcproj, or projectOne.sln. ä Double click on the.c file (e.g. main.c) will only open up the code file. It will not let you compile or run the program using Visual Studio 2008.

20 Submit a Program You only need to submit the.c file.