microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

c++ compiler does not ruun

fhbaloch442 opened this issue · comments

when i run a program (c++)
compiler say retrun is not declared..

PS C:\c++ vs code.cpp> cd "c:\c++ vs code.cpp" ; if ($?) { g++ tempCodeRunnerFile.cpp -o tempCodeRunnerFile } ; if ($?) { .\tempCodeRunnerFile }
tempCodeRunnerFile.cpp: In function 'int main()':
tempCodeRunnerFile.cpp:10:5: error: 'retrun' was not declared in this scope
retrun 0;
^~~~~~
PS C:\c++ vs code.cpp> cd "c:\c++ vs code.cpp" ; if ($?) { g++ tempCodeRunnerFile.cpp -o tempCodeRunnerFile } ; if ($?) { .\tempCodeRunnerFile }
tempCodeRunnerFile.cpp: In function 'int main()':
tempCodeRunnerFile.cpp:10:5: error: 'retrun' was not declared in this scope
retrun 0;
^~~~~~
PS C:\c++ vs code.cpp>
IMG-20240501-WA0009.jpg