C Compiler
Moderator: General Moderators
C Compiler
Hello guys..If can, I want to make an interactive system (website). The user can type (input) the code (for example C language) into the provided area and when click 'Run' button, the system will output the result. Seem like need a compiler. But I absolutely have no idea how to do that. Anybody can help me pls..??
I think that is the way to make my system better because more flexible and dynamic. User can type their code and can just run through my system. So if there got any alternative or solution of this problem? And I also not very clear how viruses would be dumped on the system. Can anybody explain to me pls..
It's more helpful if you explain. That's what we're here for.redhair wrote:You really have no idear what "rm" is?
[php_man]system()[/php_man] sends commands to the server.
If you've got shell access (can connect with telnet/SSH), track down an internet tutorial and try out some shell commands (with care!).
Last edited by McGruff on Tue Aug 09, 2005 2:23 pm, edited 1 time in total.
- redhair
- Forum Contributor
- Posts: 300
- Joined: Fri May 30, 2003 4:36 pm
- Location: 53.23N-6.57E
- Contact:
Sorry Gruff, I just wanted to be sure before I go explain what a simple command is/ does.McGruff wrote:It's more helpful if you explain. That's what we're here for.
Typing "rm --help" in your shell results in this:
Code: Select all
їredhair@hal9000 redhair]$ rm --help
Usage: rm їOPTION]... FILE...
Remove (unlink) the FILE(s).
-d, --directory unlink FILE, even if it is a non-empty directory
(super-user only)
-f, --force ignore nonexistent files, never prompt
-i, --interactive prompt before any removal
-r, -R, --recursive remove the contents of directories recursively
-v, --verbose explain what is being done
--help display this help and exit
--version output version information and exit
To remove a file whose name starts with a `-', for example `-foo',
use one of these commands:
rm -- -foo
rm ./-foo
Note that if you use rm to remove a file, it is usually possible to recover
the contents of that file. If you want more assurance that the contents are
truly unrecoverable, consider using shred.
Report bugs to <bug-coreutils@gnu.org>.It's the UNIX equivalent of DOS' "DEL".
Pointless to say to be VERY carefull with this command.