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

0
votes
1answer
274 views

Does Windows 7 XP mode support the Turbo C compiler? [closed]

Does XP mode in Windows 7 support the Turbo C compiler?
0
votes
1answer
118 views

Setup Eclipse on Fedora LiveUSB for Developing C Application

I don't have a lot of disk space on my computer, so I'm thinking of installing a version of Fedora on LiveUSB with an Eclipse package to program and debug C applications for one of my lectures, no ...
2
votes
2answers
3k views

Portable C compiler for Windows on USB stick

I am looking for a portable C compiler to run from an USB stick on Windows (XP or higher). If it's a GCC portable version, that's a plus. If it's also (optionally) a C++ compiler, that's a plus too. ...
2
votes
1answer
4k views

How to install gcc-3.4 on Ubuntu 11.10

I need gcc-3.4 to compile some softwares on my Ubuntu 11.10 (32-bit). So I downloaded: cpp-3.4_3.4.6-6ubuntu5_i386.deb gcc-3.4-base_3.4.6-6ubuntu5_i386.deb gcc-3.4_3.4.6-6ubuntu5_i386.deb and ...
0
votes
1answer
267 views

Mingw Shell Console Issue

I recently installed MingW/Msys on my XP Pro box (SP 3). When I attempt to open a Mingw shell as a console it behaves incorrectly. The shell window opens for perhaps 5 seconds and then the window ...
0
votes
2answers
558 views

Make Tor use Unique IP for each instance open

How can I get Tor to use a unique IP for each instance of Tor open in C++, Python or Perl? Is there a command to force it to use a unique IP that I can just call using subprocess? *cheers
1
vote
1answer
316 views

How do you add RefocusIt to Gimp?

I'm trying to compile Gimp with a special plugin called Refocus-It. I know that I need to compile something. Can somebody please explain what needs to be done? I would like to accomplish this using ...
0
votes
1answer
447 views

Does stat/lstat on nonexistent file cause a disk seek?

When searching for a library file from a right folder, my application currently does couple of lstat's for the possible locationslocations. Now I'm wondering whether these lstat's (application is ...
1
vote
1answer
2k views

How to do hardware DTR/DSR flow control on Linux (serial port programming)?

It's possible to setup a serial port communication using hardware flow control with the RTS/CTS pins (CRTSCTS flag for tcsetattr), but there is no way to use the DTR/DSR pins for flow control in a ...
2
votes
1answer
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 ...
0
votes
0answers
28 views

continued… grep -c gives inconsistent outputs [duplicate]

Possible Duplicate: grep -c gives inconsistent outputs I am trying to determine the number of processes that are running via the following command line: ps aux | grep -c 'Xvfb :1' When ...
5
votes
1answer
218 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 ...
1
vote
5answers
37 views

Why does the shell perform pathname expansion for utilities?

This question is a sequel of how does grep work? It seems that the shell does the expansion of *.* to all applicable/available files and provide that to utilities like grep. Why does the shell need ...
0
votes
3answers
56 views

Using Connection of one PC on another [closed]

I have two linux PC and connected through LAN cable.First PC having internet connection but second does not.I want second PC to use the connection of first PC through a C program. I am new to network ...
3
votes
1answer
96 views

What kind of link is this, and how do I deal with them?

I've got an application that has created some sort of filesystem directory link that I've never come across. It appears to behave exactly like a symbolic link to the directory, except that as far as I ...
1
vote
1answer
3k views

How to enable daytime service on ubuntu

I have found the following info on my machine user@ubuntu:/etc/xinetd.d$ cat daytime # default: off # description: An internal xinetd service which gets the current system time # then prints it out ...
2
votes
2answers
789 views

In GDB, how can I jump directly up to the topmost call stack frame?

I have a C program that seg faults after descending deep into an infinite recursive mess. Backtracing the process in GDB is useless because the call stack frame is at least 1000 frames deep, and the ...
2
votes
4answers
690 views

What are these hex codes and how can they be decoded/encoded?

I have some interest if finding out a bit more about an exploit that was published that creates a root user in a linux machine; however, before I run the code, I want to make sure I understand all of ...
1
vote
0answers
315 views

So I stupidly install newlib, and probably overwrote references to glibc. How can I recover glibc?

I forgot to set a make --prefix and I think it wrote to /usr/local/ by default and now I'm having all kinds of errors. I'm on ubuntu natty, what's the easiest way to resurrect glibc. I've tried to ...
1
vote
1answer
305 views

Getting CDT as an Eclipse plugin

I've always used Eclipse for Java development. However recently, I've wanted to add other language functionality to my favorite IDE. I got it to work with python and no I need C/C++. A search on the ...
0
votes
3answers
723 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 ...
142
votes
8answers
8k 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
371 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
427 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
619 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
76 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
2k 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
82 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
830 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
143 views

FFmpeg and reverb

How to FFmpeg can manage audio channels to create effects such as reverb?
6
votes
1answer
1k 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
51 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
3k 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
61 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
778 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
52 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 ...
2
votes
1answer
333 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
284 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
312 views

What does this command line do?

export LIBRARY_PATH=.
0
votes
1answer
293 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
355 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
5k 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
1k 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
395 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
631 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
6k 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, ...
24
votes
3answers
31k 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 ...