Run C program

Hi,
Could you tell please how can I run my C program for example my program hello.c
gcc hello.c -o hello
what is the next !
Thanks

Hi You need to a have wmsudo platform - enabled for it. Let me know your username, will enable the access.

Hi,
Thank you for your reply to my question.
I usually compile and run my C program as follows:
gcc hello.c -o hello
./hello
done
But there is something wrong with your software because I cannot run my C program.
Thank you.
Regards,
phd40

You can run gcc under wmsudo platform. Not on default terminal. I added you to wmsudo platform. Try these steps:

  1. Type wmsudo
  2. Wait for platform to launch.
  3. Now create C programs and execute them using gcc.
  4. You can leave wmsudo by running poweroff command.

Please note files created on wmsudo platform not accessible from your home directory. You need to run
wmsudo again to access your C files.

hi
I am getting error permission denied when i run c program.

Please let us know your username. Will add to you wmsudo platform.

User name - ‘Kanchan7’

Updated kanchan7 records now. Login and type wmsudo

could you enable wmsudo platform for my system. My username is Subhrasima96.

Can you confirm your id again? I can’t find above username . If possible share screenshot of your terminal

I cannot build and run the cpp programs. Tried to compile with c++, g++, but these compilers are not recognized. Can you enable wmsudo platform for my system? My username is amarjitBan.

Would you please provide me access to be able to run my c code? Thank you.

Hi there! We have gcc and enable wmsudo access for you. Login and type wmsudo. Have fun!

Let us know your username, will enable the access. thanks

Hi need root access to run C programming file , here’s my username: shoni12

Please login and type wmsudo thanks!

Thanks, its working, :grinning: :+1:

1 Like

-sh: ./hello: Permission denied
i can`t execute this c program
please help

Please let us know your username - we will enable wmsudo platform your account.

please activate wmsudo for user name:SVKU20

1 Like