#include<iostream> using namespace std; int main() { cout<<"hello world"<<endl; return="" 0; }
Windows PowerShell Copyright (C) 2015 Microsoft Corporation. All rights reserved. PS E:\code practice> cd "e:\code practice\" ; if ($?) { g++ tute 4.cpp -o tute 4 } ; if ($?) { .\tute 4 } g++.exe: error: tute: No such file or directory g++.exe: error: 4.cpp: No such file or directory g++.exe: error: 4: No such file or directory g++.exe: fatal error: no input files compilation terminated. PS E:\code practice
g++ "tute 4.cpp" -o "tute 4"
tute_4.cpp
g++ tute_4.cpp -o tute_4
return 0;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)