News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

How to run a program as root user in code blocks

Started by wwwnuwan, March 22, 2009, 09:45:00 AM

Previous topic - Next topic

wwwnuwan

Hi All,
  I am developing some message multi casting application in code::blocks.
when i run the program being in code::blocks it returns "Permission Denied" message at a particular method call  as the programs is not taken to run as root.

indeed I have installed code::blocks as a root user.

btw when i run the program using console with sudo command it works find.

please help me to overcome this problem.
thank you. 

Jenna

Please search before you post.
This question has been asked multiple times.

Searching for root gives you some possible solutions.

Nevertheless, the question is not related to C::B, but to the OS you use (most likely linux)  and therefore violating our forum rules.

Topic locked !

By the way, if you have C::B related question in future, it would be helpful to know which OS (and version of it) you are on and which version of C::B you use.