So I put this into Scite Text Editor
Looks fine to me, and we used this code im my programming class and it worked fine. The problem is, we did this on windows xp using microsoft visual studio or whatever, and I cant figure out how to run this on ubuntu. I used this#include <iostream>
using namespace std;
int main()
{
int x, y;
for(x=1;x<=10;x++)
cout<<count<<endl;
cin>>y;
return 0;
}
gcc 1st.cpp -o first_c++_Program
and it seems to have compiled it but my problem is I cant find the binary and I dont know how to run it. Can anyone help out a nooby here? and by the way, this is the first thing ive ever written in any language other than web scripting and BASIC...
Bookmarks