Programming in C++

Programming in C++

Programming in C++ Duration time: 90 minutes Introduction Requirements Basic skill in operating computer. Working with Windows System. Aim The main goal is to write first program in C language. Next the program will be compiled (translated into the computer language) and executed. The additional aim of this lab is to familiarize yourself with the (IDE Integrated Development Environment) that will be used during classes. Task 1 - Log in During the labs we will work on Windows System. It is possible to write programs using Linux or other operating system because there are multi-platform development tools. During the labs we will use Microsoft Visual Studio. Log in to the system. The user is Maciej and the password is Cisco2013. Task 2 - first program written using Microsoft Visual Studio There are many Integrated Development Environments, like: Code Blocks, Visual Studio, Eclipse, Kdevelop, QT develop, Anjuta. Those Environments has different possibilities and licenses. For the learning programing in C/C++ the environment is not so important. Some features, like for example code completion and code highlighting makes programming more Launch the Microsoft Visual Studio Microsoft Visual Studio is in menu start. Find the appropriate icon or write in search filed „Visual Studio„. Create new project Go to the Microsoft Visual Studio menu. Choose file→new→project. Choose the programming language „Visual C++” then choose the "Win32 Console Application". Set the project name (Figure shows setting for the project called "MyProgram") and press OK. Press the Next button. Choose Empty Project and press Finish. Right-click in Solution Explorer on Source Files and choose Add->New Item. Choose C++ File and press Add. Now you can write your program. Write a simple program which show in Windows Console words "Hello World!". Next press the green triangle to run Local Windows Debugger and start the program. .

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    7 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us