i use
i have this file main.cpp with code
i use
and i try to compile the file main.cpp
and if i try ./x this is the result
what i do wrong ?
Code:
FreeBSD 8.2-RELEASE amd64
Code:
#include<iostream>
using namespace std;
int main(){
cout<<"heloo";
return 0;}
Code:
g++ -v
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070719 [FreeBSD]
Code:
g++ -o x -c main.cpp
Code:
%./x
./x: Permission denied.