150 likes | 295 Views
Mech-215 Tutorial 1. By: Shruti Rathee. My Introduction. My name is Shruti Rathee and I am a Masters Student in Concordia. My supervisor is Dr. Peter Grogono . My web page on ENCS is :- http://users.encs.concordia.ca/~s_rathe/. What we will do in tutorial?.
E N D
Mech-215Tutorial 1 By: ShrutiRathee
My Introduction • My name is ShrutiRatheeand I am a Masters Student in Concordia. • My supervisor is Dr. Peter Grogono. • My web page on ENCS is :- http://users.encs.concordia.ca/~s_rathe/
What we will do in tutorial? • We will learn how to do simple and basic programming in C++. • We will use Microsoft Visual Studio for the tutorial.
How to Install Visual Studio on your device? • You can get free Microsoft Visual Studio from Concordia as it has agreement with Microsoft for free software to students. • The link is: http://www.encs.concordia.ca/msdnaa/ • Here click on go here in the web page as shown in next slide.
Here after clicking that you have to enter your Concordia user id and password. • Then download the .exe file for your machine and install it.
Now to write a program in Visual Studio for C++ • Go to start << All programs << Microsoft visual studio ..... And then click as shown in next slide.
Now lets write our First C++ program • In Microsoft visual studio go like this:
Then name your project anything you like and just click ok. I did Hello_world.
Choose c++ file and name it and click on Add. I named it “hello”
By the above you can only compile the hello.cpp class but you can debug the whole project by selecting this:
It will ask you to build the program then click Yes and you will get the output.