Hello, i am not sure if this is the right section so some moderator move it if its needed. Here is my problem.. every time when i try to compile any source on C::B i am getting that error when the compiling finish sh: / [the project secion]/ Permission denied. Press enter to continue. I tried to change the compiler from settings but still dont work :(
Are you sure, you have write permission to the directory you use ?
It might be helpful to know the full commandline that leads to the error and the exact error-message.
Change "Settings -> Compiler and debugger... -> Global compiler settings -> [the compiler you use] -> Other settings(rightmost tab)" "Compiler logging" to "Full commandline" and post the content of the build log.
Hmm ok.. i just changed the location for my projects but now i have other problem.. when i am compiling my program i am getting that error message :
/media/disk/C++/asd 3: using: not found
/media/disk/C++/asd: 5: Syntax Error: "(" unexpected
press enter to continue.
but actually i am not sure if that is C::B error or again some ubuntu problem.. and i tried to compile that simple source code #include <iostream.h>
using namespace std;
int main()
{
cout << "Hello World!" << endl;
return 0;
}
Quote from: naskobs on June 17, 2009, 09:24:40 PM
#include <iostream.h>
using namespace std;
Decide if you want to develop in C or C++, then include the right headers and name the source files accordingly.