Introduction to C++ Programming Lab1 Estimated time : 35 min.

Slides:



Advertisements
Similar presentations
Login This is the Inaugural screen of the software. The software is password protected and It prevents unauthorized access to your data.
Advertisements

How to Log on & Log off of a Laptop and why it’s important.
An Introduction to Programming with C++ Fifth Edition Chapter 3 Completing the Problem-Solving Process and Getting Started with C++
Version Control System (Sub)Version Control (SVN).
Test Tool Status Program. In your Internet Explorer Go to
ECE Application Programming
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
C Pre-Course Workshop Terence Lee QT406 -> PQ607
1 Lab-1 CSIT-121 Spring 2005 Lab Targets Solving problems on computer Programming in C++ Writing and Running Programs Programming Exercise.
1 Session-I & II CSIT-121 Spring 2006 Session Targets Introducing the VC++.NET Solving problems on computer Programming in C++ Writing and Running Programs.
The IDE (Integrated Development Environment) provides a DEBUGGER for locating and correcting errors in program logic (logic errors not syntax errors) The.
CS 1400 Using Microsoft Visual Studio 2005 if you don’t have the appropriate appendix.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Course Introduction and Getting Started with C 1 USF - COP C for Engineers Summer 2008.
Proposal Estimator Tool User Guide Simple Security Access Control Solutions Proposal Estimator Tool User Guide.
1 Lab-1 CSIT-121 Fall 2004 Lab Targets Solving problems on computer Programming in C++ Writing and Running Programs Programming Exercise.
Here’s how to start the Microsoft Visual C++ program; click on start, then programsclick on start, then programs Choose Microsoft Visual C++ or Microsoft.
Object Oriented Software Development 1. Introduction to C# and Visual Studio.
1 ENG236: ENG236: C++ Programming Environment (2) Rocky K. C. Chang THE HONG KONG POLYTECHNIC UNIVERSITY.
Introduction Purpose This course describes the process of installing the KPIT GNU toolchain on your PC. Objective Learn how easy it is to get information.
CS Tutorial 1 Getting Started with Visual Studio 2012 (Visual Studio 2010 are no longer available on MSDNAA, please choose Visual Studio 2012 which.
Chapter 1: A First Program Using C#. Programming Computer program – A set of instructions that tells a computer what to do – Also called software Software.
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.
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.
Integrated Development Environment (IDE)
C# Tutorial -1 ASP.NET Web Application with Visual Studio 2005.
Computer Science I How to Configure Visual Studio.NET 2003 for C++ Colin Goble.
Introduction In The Name Of Allah, The Beneficent, The Merciful.
ZONG Wen Department of Computer Science and Engineering The Chinese University of Hong Kong
Returning Students You registered last year. If you remember your , type it in at the top of the screen Click on “Password Help”
Programming with Visual C++ A short review of the process.
9/2/ CS171 -Math & Computer Science Department at Emory University.
1 Khan Academy Signing Up (slides 2-16) Logging In (slides 17-22)
VG101 RECITATION 1 By TAs. CONTENTS Intro to SAKAI Intro to APG Intro to Online Quiz System Installation of VS2005 and possible resources Some common.
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?
Tour Overview Introduction Collage Basics Collage Basics (Templates and Tools) Computer Configuration Bookmark Collage Getting Started Tour Collage Terminology.
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.
1 Programming Environment and Tools VS.Net 2012 First project MSDN Library.
LAB#1 CSC st semster H King Saud University College of Applied studies and Community Service Csc 1101.
Google HOW DO I SUBMIT MY ASSIGNMENT?. To join a classroom, your teacher will give you a code.
© Copyright 1992–2005 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Tutorial 3 – Inventory Application: Introducing Variables,
© Copyright 1992–2005 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Tutorial 3 – Inventory Application: Introducing Variables,
Here is the log in for your control panel. Enter your user name, password and click Login.
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.
Introduction to Programming Python Lab 5: Strings and Output 05 February PythonLab5 lecture slides.ppt Ping Brennan
CHAPTER 3 COMPLETING THE PROBLEM- SOLVING PROCESS AND GETTING STARTED WITH C++ An Introduction to Programming with C++ Fifth Edition.
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
Chapter 2: The Visual Studio .NET Development Environment
Employee Self Service Lite Version
Computer Terms Review from what language did C++ originate?
1-1 Logic and Syntax A computer program is a solution to a problem.
Chapter 1 - An Introduction to Computers and Problem Solving
Lab 1 Introduction to C++.
Social Media And Global Computing Introduction to Visual Studio
SAP transaction RSA3 Enter the Data source Name
Programming Right from the Start with Visual Basic .NET 1/e
People Admin Annual Performance Review
1. Open Visual Studio 2008.
ms vısual studıo 2008-Introductıon TUTORIAL
Logging in to CIITS.
Lab 1 Introduction to C++.
Our Environment We will exercise on Microsoft Visual C++ v.6
Double click Microsoft Visual Studio 2010 on the Computer Desktop
Computer Terms Review from what language did C++ originate?
Associate® Desktop Query
How to Create your First Program
Presentation transcript:

Introduction to C++ Programming Lab1 Estimated time : 35 min

Outline Introduction to VC++ IDE Hacking using cin, cout and if statement Functions and simple arithmetic Precedence rules Introduction to the debugging Cascading logic

Visual C++ IDE: Express Edition 2008 Organizes code into worspace (solution) and projects Project contains –CPP files –H files –RC files Each solution is created with 6 files a debug folder

Start →Programs → Microsoft Visual Studio X→ Microsoft Visual C++ X and execute it. Here X can be pretty much any version

Click on the ‘File’ drop down menu and click ‘New’

Choose the win32 console application and give appropriate names

Your first C++ program

Your first Hacking specializing in the discovery of exploits in systems obtaining or preventing unauthorized access to systems through skills The Login screen hack –Create a fake login screen –When the unsuspecting user enters username and password, record it –Close your login and make an actual login request for the user

The simple arithmatics Suppose Superman were to travel at 1.3 times the speed of light (300,000,000 meters/sec) for 10 minutes. Suppose further that his destination was only illuminated by a spotlight located at Superman's point of origin. Calculate how long Superman would wait in the dark if he turned the spotlight on immediately before beginning his travel.

Debugging Systematically finding where the bugs are in your program Isolating the methods Isolating the code Write informative print statements –Debug logs C++ debugger

Expert Systems 20 Questions (Kasoti) Diagnostic tools Teaching tools Cascading logic