SlideServe
Menu
Préférences
© SlideServe · v2026

CSCI 230 Computing-I

presley avatar
16 diapositives · 308 Views · Sep 14, 2014

CSCI 230 Computing-I. Welcome to CSCI 230! Compiling Your First Program Using Microsoft Visual Studio 2005. 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

CSCI 230 Computing-I - slide 1
01 / 16CSCI 230 Computing-I
1 / 17

Télécharger la présentation

CSCI 230 Computing-I
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. CSCI 230Computing-I Welcome to CSCI 230! Compiling Your First Program Using Microsoft Visual Studio 2005

  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 2005 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 2005 • Start → All Programs → Microsoft Visual Studio 2005 → Microsoft Visual Studio 2005

  5. Starting for the first time • The first time you run MSVS, you might get a window like this. • Use General Development Settings if you have no preference.

  6. Initial MSVS Dialog • Here is an image of the initial MSVS Dialog.

  7. Opening a New Project • Open a project using File → New → Project…

  8. Choose a Project Type and Name • Choose a Visual C++ Win32 Project Type • Choose Win32 Console Application • Enter a name for your project.

  9. Project Settings • Choose Next > from the initial dialog.

  10. Project Settings (continued) • Be sure to select Empty project and Finish.

  11. Add a New Item • Right-click on Source File and Add a New Item.

  12. Create a main.c • Choose Visual C++ Code, C++ File named main.c.

  13. Enter your program into main.c • Enter a standard C program into main.c. You get to use your mouse, copy, paste, and everything!

  14. Start your program • Select Debug → Start without Debugging.

  15. Examine your output • Your program ran. Check it out!

  16. Congratulations! • You created a new Microsoft Visual Studio 2005 Project. • Selected Visual C++ Win32 Console Application. • Created your own main.c file, entering code just like in class. • And started your program to produce output/ • All of this using an easy editor and never logging onto the internet.