Download presentation
Presentation is loading. Please wait.
Published byThomasina Walters Modified over 9 years ago
1
Introduction to C++ Programming Lab1 Estimated time : 35 min
2
Outline Introduction to VC++ IDE Hacking using cin, cout and if statement Functions and simple arithmetic Precedence rules Introduction to the debugging Cascading logic
3
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
4
Start →Programs → Microsoft Visual Studio X→ Microsoft Visual C++ X and execute it. Here X can be pretty much any version
5
Click on the ‘File’ drop down menu and click ‘New’
6
Choose the win32 console application and give appropriate names
7
Your first C++ program
8
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
9
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.
10
Debugging Systematically finding where the bugs are in your program Isolating the methods Isolating the code Write informative print statements –Debug logs C++ debugger
11
Expert Systems 20 Questions (Kasoti) Diagnostic tools Teaching tools Cascading logic
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.