C is a general-purpose computer programming language used for operating systems, games and other high performance work and is clearly distinct from C++. It was developed in 1972 by Dennis Ritchie for use with the Unix operating system.

learn more… | top users | synonyms

155
votes
8answers
9k views

What do the parentheses and number after a Unix command or C function mean?

I keep seeing parentheses and a number after a command in Unix or Linux or C function. For example: man(8), ftok(2), mount(8), etc. What do these mean? I see them in man too.
0
votes
2answers
96 views

How to execute a compiled C program in Linux terminal

#include<stdio.h> main() { int a,b,c; printf("enter the value of a and b for addition:\n"); scanf("%d %d",&a,&b); c=a+b; printf("Addition of ...
26
votes
3answers
34k views

Syntax highlighting in Microsoft Office Word [duplicate]

Possible Duplicate: How do I easily highlight the syntax of PHP code in Word? I need to paste some code (ANSI C) in Microsoft Office Word, and I need some form of syntax highlighting ...
2
votes
2answers
1k views

How does one change the UUID of a Volume on Mac OS X to a SPECIFIED value?

This is similar to the question asked here: How does one change the UUID of a Volume on Mac OS X 10.6? Only difference is I want to change it to a specific value, not a random one. The hfs.util only ...
10
votes
2answers
2k views

How to stop and detect the fork bomb

#include <stdlib.h> #include <unistd.h> int main() { while(1) fork(); } This is the code for a fork bomb. In our college, we connect via telnet i.e client serving protocol. ...
6
votes
2answers
6k views

How to copy a DVD with a patched UDF filesystem / bad sectors?

I tried dd, dd_rescue and ddrescue, all failed. Since AnyDVD makes the disc copyable in a second on a Win7 host, it should not be too difficult. It says that the UDF filesystem is patched, curiously, ...
9
votes
4answers
1k views

Does linux have any measures to protect against fork bombs?

#include <unistd.h> int main(int argc, char* argv[]) { while(1) { fork(); } } I run this program on my linux, nothing outputs on the terminal, the OS seems go dead. Does linux have ...