saving . . . saved Stucked in learning has been deleted. Stucked in learning has been hidden .
Stucked in learning
How to use c++ in windows help plz

Advanced-Cpp General None min None sec 22-09-21, 9:16 a.m. itsYashAKAPython


Dear User,

Before you start going through the Advanced Cpp series of Spoken Tutorial, please go through the Installation and Instruction Sheets thoroughly.  Please follow all the steps and then begin with the video. 
Here are the links-
22-09-21, 1:11 p.m. hbammkanti
how to write command and run it

22-09-21, 1:54 p.m. itsYashAKAPython
Type the code in Notepad++. Once you have written the code, open the Windows command prompt. To do so, press  the "Windows" key and "R" key simultaneously on your keyboard. It will open the "Run" prompt. At the prompt, type "cmd" and click on "Ok".
Using the cd command go to the folder where you have saved the file.
E.g:- c:\Users\(username)\Desktop\My-Code\

To compile the cpp program, type on the command prompt: g++ class-obj.cpp -o class

class-obj.cpp is the filename.

-o class says that the executable should go to the file class.

To execute the program, type on the command prompt:
22-09-21, 2:09 p.m. hbammkanti
in which format i have to save the code file

23-09-21, 9:13 a.m. itsYashAKAPython
Use *.cpp format to save the file.
23-09-21, 2:46 p.m. hbammkanti
its not executing
23-09-21, 11:47 p.m. itsYashAKAPython
Please share the error message details displayed while executing.
27-09-21, 1:11 p.m. hbammkanti

Login to add comment

Log-in to answer to this question.