Questions tagged [c]
C is a general-purpose computer programming language used for operating systems, games and other high performance work and is clearly distinct from C++. Questions about programming in C are off topic and will be closed or migrated. Consider asking your question at Stack Overflow instead.
9
questions
252
votes
8
answers
24k
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.
35
votes
3
answers
70k
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 (instead of ...
7
votes
2
answers
8k
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 ...
15
votes
2
answers
8k
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. ...
11
votes
5
answers
6k
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 ...
6
votes
1
answer
425
views
How to detect drive letters which are assigned twice?
There is a small bug in Windows that I would like to create a small application as a solution for. So, in my company we have several network drives ( F:\, G:\, H:\, I:\ etc.) and sometimes if I ...
3
votes
1
answer
4k
views
Geany comment block format
I'm trying to figure out where the comment block style is defined in Geany for C files.
By this I mean when I select a block of text and hit ctrl-e, each line in the block of text
is pre-pended (at ...
0
votes
0
answers
334
views
Windows: How to convert binary database file (compressed with zlib) to human-readable string data? (ProcrastiTracker .PT file)
The current question is derived directly from this one, as my general problem is how to process the data collected by the ProcrastiTracker program. Once installed on a Windows machine, ...
0
votes
1
answer
3k
views
Linux C Compiler
I've just tried to install APCUPSD and have run into a missing C compiler error. I then ran
yum install compat-gcc-34-g77
which went fine but the error did not go away, I tried
which gcc
as well ...