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.

learn more… | top users | synonyms

0
votes
3answers
980 views

GCC won't work. problem with /usr/local/include

I was trying to add a new library/header and seem to have broken gcc. Specifically, I used the command: $ sudo cp mylib.h /usr/local/include This seems to have replaced the /usr/ directory with a ...
166
votes
8answers
10k 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.
2
votes
2answers
486 views

What's the most easy-to-install Neural Network C++ library with command-line for Linux? [closed]

I'm a fan of the "test first" approach to programming. My C++ program needs a neural net. I've been trying FANN (http://leenissen.dk/fann/wp/) but it's been a struggle, as it requires a language ...
0
votes
2answers
655 views

How to install Sally on Mac? How to install libconfig package on Mac OSX

I want to install Sally http://www.mlsec.org/sally/ on MacOSX when I run ./configure, I get stuck at: No package 'libconfig' found even after installing libconfig through macports. Can anyone ...
2
votes
1answer
777 views

how to mount NTFS partition image on linux from file?

i need to mount at least for read access NTFS-based partition image on linux from a file. File is binary copy of a partition. Is there any libraries or resources for this? Thank you
3
votes
3answers
89 views

NTFS file system reference [closed]

i need to understand full NTFS structure, how partition tables are made and how the directories/files are stored on disk. Who know good reference? Thank you
6
votes
2answers
3k views

Go to definition of a C function in a different file in Notepad++

While editing a C project on Notepad++ 5.6.7 (Unicode) with the SourceCookifier plugin, I can press Ctrl+Shift+Enter to go to the definition of a function which the cursor is on, but only if it is in ...
1
vote
2answers
96 views

How can code/software access locations in memory that it's not supposed to?

By default, when applications run, they are limited in the amount of RAM they are allowed to access right? Technically my VLC could not access memory addresses used by Chrome. But how is it possible ...
0
votes
1answer
1k views

How do I find the installation path of binutils, gcc-3.4.4.tar.gz in Ubuntu?

I have ubuntu 8.10. In this I could find the binutils, gcc are installed. But when ever I try to know that glibc, glibc-linuxthreads are installed are not. It showing that no package is found. For ...
1
vote
1answer
168 views

FFmpeg and reverb

How to FFmpeg can manage audio channels to create effects such as reverb?
8
votes
1answer
2k views

emacs — C/C++ jump to beginning of containing block

While editing C or C++ files in emacs, I'd like to be able to go to the beginning of the containing block of code. I was expecting to find a c-beginning-of-block function, but alas, no such function ...
0
votes
2answers
59 views

Adding trec format tags to thousands of file

I need to add tags like text of file in thousand of files in a directory and I tried it using cat and outputing it to a stream of file using for file in * do cat ../gau > temp; //gau contain ...
1
vote
2answers
4k views

Problem using c++ library

i'm trying to use an executable file (written in c) that calls a c++ library. I'm getting this error in my Windows 2008 box: Faulting application name: sample.exe, version: 0.0.0.0, time stamp: ...
0
votes
1answer
64 views

How can I locate the header + object file of cksum in Mac OS X

I'm trying to locate the header + object file of cksum in Mac OS X, but with no lack. Any suggestions?
1
vote
1answer
979 views

Using (embedding?) wireshark in a C application for sniffing [closed]

I'm writing a C/C++ application which needs (among other things) to sniff packets and save the output in a file. This file will be read and processed by wireshark after a few days, using a LUA script ...
0
votes
1answer
53 views

How can I have some snapshots of my program? [duplicate]

Possible Duplicate: Screenshot utilities for Windows I have made a program and to make its report I need some snapshots.I found out that the printscreen button does not work in this ...
3
votes
1answer
411 views

In what Ubuntu package are the man pages for the C libraries?

I don't know if this happens to anyone else here, but every time I build a new system, I forget where the man pages for say limits.h are in the Ubuntu repos. I've already installed manpages-dev. I'll ...
0
votes
1answer
330 views

Vim bind compile key depending on document type

Is there a way to bind a key by document type? For example, if the document is a .tex file, I want f5 to call PdfLatex, but it is a .c file, I want it to call make
4
votes
5answers
317 views

What does this command line do?

export LIBRARY_PATH=.
0
votes
1answer
323 views

Program parameters for anjuta

I have recently installed Anjuta. I don't know what parameters should be passed in order to run the program after clicking on Run -> Execute.
0
votes
2answers
419 views

Installing windows and unix on two hard drives on the same computer

I know this might be a noob question, but I need to install windows and a Unix system on the same machine. I've got two hard drives, so I can install one on each. Just not sure if maybe I would be ...
6
votes
6answers
6k views

Is there any small linux distribution which comes with a complete C development environment

I have installed "Damn Small Linux" on my home computer for doing C development in unix. But the distribution doesn't by default come with the C development environment and I am facing some issues ...
2
votes
3answers
2k views

How to run .exe file when linux system starts up?

i have generated .exe file from C file (ie filename.c ) after compiling in linux machine with -O option. I wish to know about how to run that .exe file when linux system starts up ?
0
votes
1answer
537 views

Voices disappear when using headphones

How do I declare a variable in C? P.S. I have a pair of SteelSeries Siberia headphones. I've noticed that when watching some films the voices are completely silent, yet when I unplug the headset and ...
1
vote
2answers
734 views

How to mix MP3's using LAME

I have N MP3 files (N files for example). I need to superimpose, or mix them into one. Is there a special LAME function for performing such an operation?
5
votes
2answers
7k views

Installing libraries and header files under ubuntu linux for c/c++ developement

I have to admit that I feel completely lost each time I have to fulfill the dependencies of some C or C++ code. Currently, I'm on Ubuntu 9.10, but I remember the same feeling of forlornness from ...
1
vote
2answers
3k views

Playing a PCM file on a UNIX system

I'm trying to figure out how to use libmad with C. The trouble is, libmad converts audio files to .pcm files and I'm unable to find a way to play these files. There is no straightforward .pcm player, ...
27
votes
3answers
37k 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 ...