Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

-2
votes
0answers
25 views

How to learn embedded software development? [closed]

I have a background in school of programming in C and Java but I'm interested in getting more involved in things like driver development, firmware, lower level code. Where to begin?
1
vote
1answer
30 views

Compile C/C++ on Chrome OS

with the release of the newest Chromebook and Chromebox (where the latter is an interesting choice for a family PC for people who don't need apps like photoshop etc.), I wanted to check out a ...
-1
votes
0answers
31 views

Analyzing given code by GCC [closed]

I would like to analyze a given code via GCC e.g. generating a usage graph which shows how the given code's source and header files include each other! Does GCC provide such services currently? ...
0
votes
5answers
186 views

Linux file contains “@^@^@^@”, how to restore?

I just finished writing a large c code, but when I save and open again the file contains strange characters: ...
0
votes
0answers
14 views

Mount USB on Linux Single Board Computer for use in a C program [migrated]

I have inherited a project that logs data from a single board computer to a usb flash drive. The code that does this is written in C. The old code is: //Get the Start time sttime = ...
2
votes
1answer
61 views

How to spawn a terminal when executing a compiled C program?

I've overwritten the gnome-screenshot program to suit my needs in getting a screenshot from a secondary home-made graphics card output and now when I press the PrintScreen button it executes it (as ...
0
votes
0answers
25 views

I would like to write an application on USB? [closed]

I would like to write an application in C language. Which will simply shows a message ("The USB connected"), when I will connect my USB to my USB port (Windows Vista). I have no idea how to do it. ...
0
votes
0answers
26 views

What is parallel memory allocation?

Hello Im trying to understand what parallel memory allocation is. I think I understand what 'memory allocation' is but i dont understand the term 'parallel'. Something to do with multiple processors ...
1
vote
1answer
615 views

“bin/sh: can't access tty; job control turned off” error when running shellcode”

I'm writing shellcode to exploit a buffer overflow vulnerability on a server. To do so I have port binding shellcode that I send to the server and then I run (from a linux terminal) the command telnet ...
1
vote
5answers
144 views

How do sockets deal with routers?

(Not sure if this should be on the unix stackexchange site...) When I make a socket I use IPv4 and a port number. So if I know both of these, but there's a router set up (on a home network; just ...
4
votes
2answers
1k 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, ...
2
votes
2answers
63 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.
2
votes
2answers
315 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 ...
2
votes
2answers
145 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 ...
1
vote
1answer
321 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
128 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
46 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
54 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
49 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
359 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
3k 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
138 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
149 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
97 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
127 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
324 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
198 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 [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
108 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
33 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
18 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
27 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
43 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
497 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
90 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
207 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
155 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
54 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
156 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 ...
93
votes
5answers
3k 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
199 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
168 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
179 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
38 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
4
votes
2answers
431 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
54 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
356 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
80 views

FFmpeg and reverb

How to FFmpeg can manage audio channels to create effects such as reverb?
3
votes
1answer
226 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
29 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 2