I make this code
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
int a(0);
cin>>a;
return 0;
}
it runs when i press F9 but where is this final resultant file. I try at this location project_folder/bin/debug/ in this location their is only one file and it is not running. I have changed code retry but failed. Before today i code in windows 7 but today i code this in xubuntu 11.04.I find .exe file easily their(in windows). So finally tell me where is final resultant file(named as exe in windows).
vikash chandola
He just said, open a console, then go to the directory where your executable file should be, then run it.
mean change directory and is the name of the command which allow this.
mean that you'll need to tell the system that the file you want to run is the one in the "." directory, so the directory where you are actually.
By example, if your project is directly in your home directory, just type
cd ~/project_folder/bin/debug/
./exefile
. (The ~ is a shortcut to your home directory.)