The c tag has no wiki summary.
2
votes
2answers
22 views
in putty i have a file that is like this #xxx.c#
While using Putty.I have a file in my directory and I want to remove it , but the rm command doesn't work.and it's in white.
1
vote
2answers
37 views
audacity - convert multiple .aup's to .mp3's
I have a bunch of about 130 .aup files (all recordings of vinyls) that I would like to convert to mp3. Each .aup is an entire side of the vinyl (I don't want to split the tracks - the whole side as ...
0
votes
1answer
74 views
What does this macro mean in linux kernel code?
see i found one config file in which this are macro defined
#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ADP5588 is not set
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_QT2160 ...
-2
votes
0answers
42 views
Textmate - C Themes
I'm trying to find a theme for Textmate which specifically targets the ANSI C programming language. Most of the themes for other languages like Ruby pseudo-work, in that they highlight some of the ...
0
votes
0answers
30 views
How do we simulate a mouse click with Xlib / C? [migrated]
All,
I can't believe that this question has been as hard to answer as it is. I've been Googling for the last two hours and can't find anything that works. All I want to do is find C / Xorg code to ...
1
vote
1answer
72 views
unable to compile a kernel module
I tried to compile my first loadable kernel module and failed :(
Here is the error:
r@ubuntu:/$ sudo make -C /lib/modules/`uname -r`/build/ M=`pwd`
[sudo] password for r:
make: Entering directory ...
0
votes
1answer
69 views
Does Windows 7 XP mode support the Turbo C compiler?
Does XP mode in Windows 7 support the Turbo C compiler?
0
votes
1answer
28 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 ...
0
votes
1answer
42 views
How do I remove the remnants of data from my C: drive?
I have installed Cygwin software which contains C++ and c compiler, debugger and some more things. Later on I decided to install all what Cygwin contains in itself. But I run out of memory on C: disk. ...
0
votes
0answers
44 views
Emacs: How to change line wrapping style for C source?
I want wrap one more indentation for function arguments, rather then align them:
NOT:
static int foobar(char *arg1,
void *arg2,
int *arg3) {
// body...
}
...
2
votes
2answers
115 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.
...
1
vote
1answer
1k 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
63 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
1answer
90 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
70 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
71 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
195 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 ...
1
vote
0answers
79 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
24 views
continued… grep -c gives inconsistent outputs [closed]
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
86 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 ...
0
votes
0answers
26 views
How to write a function that splits the DES key in two halves [closed]
I am working on the DES (Data Encryption Standard ) algorithm in Cryptography as a part of which I have to write a 'C' code in linux that splits the DES key into two halves as per initial permutation ...
1
vote
5answers
13 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
21 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
38 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 ...
0
votes
1answer
266 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 ...
1
vote
1answer
49 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
3answers
157 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
126 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
39 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
109 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 ...
85
votes
5answers
2k views
What do the parentheses and number after a Linux command or C function mean?
I keep seeing parentheses and a number after a command or function, example: man(8), ftok(2), mount(8), etc.
What do these mean?
2
votes
1answer
154 views
What's the most easy-to-install Neural Network C++ library with command-line for Linux?
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
108 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
102 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
35 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
0
votes
0answers
26 views
X11 Choosing which shared library to use
I want to tinker with xorg. I have one version of X installed by default by my distro (fedora), I presume it's shared libs are stored in /usr/lib. I have another version of X that I downloaded (stored ...
3
votes
1answer
269 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
49 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
299 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
68 views
3
votes
1answer
163 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
26 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
976 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
0answers
32 views
Geany: loading preexisting project that was made outside of Geany
I have a set of files with a Makefile.
Is it possible to load into Geany a preexisting C project that was made outside of Geany?
0
votes
1answer
44 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?
0
votes
5answers
294 views
Unix Programming Environment - Which Unix/Linux distribution?
I'm finishing K&R and I am at the last chapter, regarding system calls on Unix. After that I'm going to read Unix Programming Environment, so I would like to know which Unix/Linux distribution ...
1
vote
1answer
239 views
Using (embedding?) wireshark in a C application for sniffing
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
47 views
How can I have some snapshots of my program? [closed]
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
2answers
133 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
165 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