UNIX/Linux Programming - August 2010 (Page 2)

Dereference dma_addr_t?
 
I'm working with a network device driver and I would like to dump the source DMA memory to the kerne...
[2 replies] Last: Oops, I entered that into the post wrong. char data_in_memory[le... (by jhd1013)
Problem with Makefile
 
Hi, Here is my makefile http://pastie.org/1104332. I am trying to compile different .c files and ...
[no replies]
Patternrule and Autogenerating Prerequisites in Makefile
 
Hi, I have a question about makefile pattern rules and auto generating prerequisites. Example:...
[2 replies] Last: I do it like this, uses gcc -M to generate dependencies. simple d... (by bigearsbilly)
by korg
Execv query
 
I have written a daemon which closes all std file descriptors. Now this deamon fork-exec's a shell s...
[2 replies] Last: Thanks jsmith ! Wonderful solution... (by korg)
Error in reading a text file
 
this text file contains 2 paths separated by space: /home/alex/Documents/my\ current\ projects/meg...
[1 reply] : Ammm never mind, I used Getline instead. (by hakermania)
STL Map Using more CPU
 
Hi, I am using STL Map for storing 20000 records. I am inserting, finding and erasing records from ...
[3 replies] Last: But these operations are taking CPU usage of 20% for 20000 records. ... (by Athar)
by Eman96
GTK/wxWidgets gui bug,image problem
 
Thanks in advance for reading this. I am using Ubuntu Linux 10.4 LTS, wxWidgets 2.8, and Gtk 2.* (I'...
[1 reply] : This was solved in the wxWidgets forums see http://wxforum.shadonet.co... (by Eman96)
converting string.c_str to const char
 
Hi, Complete noob here... Running OpenSUSE 11.2 in Sun VirtualBox 3.2.8 r54453 Installed MySQ...
[5 replies] Last: brilliant! that works. Thank you. very much appreciated. I clearly... (by gjohncock)
CPU consumes of MySQL's API
 
Hi all, I have a process calls MySQL's APIs (like mysql_real_query). But I encountered that the proc...
[no replies]
the open() function of gcc3.4.6(redhat linux enterprise4.8)
 
Hi, Dear experts,I have a question about open() function of gcc3.4.6.I write a example: using name...
[7 replies] Last: Yeah,it's OK.Thank you very much. (by wenli wang)
How to read a memory map printout?
 
Hi all, I'm looking at a memory map printed by gdb. While most of the output seems intuitive, the...
[3 replies] Last: Here is an easier to read hand-edited version of the above output. ... (by Craig Pemberton)
by gumaze
delete operator with multidimensional array (not 2D vector)
 
I'm having problem when trying to delete the object from main function. My matrix class class...
[4 replies] Last: Thanks... I see the light now! I was forgetting that has "new" only in... (by gumaze)
Linking error
 
Hi, I am facing some problems with linking the libraries in my projects. I am using qmake to gene...
[2 replies] Last: Right. Changing the order of libraries did the trick. I knew the 'unre... (by bhatiaharsh)
Appending a string and passing it through a function. POD error
 
I need to have string data read from a profile box using gtkmm and then passed through a function. I...
[no replies]
stl_alloc.h gone missing in GCC4.x?
 
Hi everyone, I am in the process of porting an application from a BSD platform onto a Linux box. Wh...
[no replies]
Statvfs issues....
 
I wrote a program (code bellow) to get the disk sizes information and yet it does not seem to multip...
[4 replies] Last: Thank you! (by iamatallone)
by ibwood
Windows API vs. Linux API
 
Hi all, I am trying to transfer some c++ code, originally made in windows, into linux language. I...
[6 replies] Last: You create ms1, ms2, ms3 and ms4 from the type unsigned. I'm not sure,... (by Kyon)
Program to get data from a website
 
Hi, I'm working on a project in unix / Linux that will use a c++ program to get data from a website,...
[2 replies] Last: Thanks I'm looking into this now (by closed account ypfz3TCk)
How to selectively pick static/dynamic link library
 
Hi! All: Could someone please tell me how could I selectively link libary as static/dynamic. e.g. i...
[1 reply] : man gcc (by moorecm)
C++ Command line parsing
 
I am new to programing. I am sure I am missing something simple. I just want take my switch and ch...
[10 replies] Last: Thank you. i will study this. (by fuzzylr)
August 2010 Pages: 123
  Archived months: [jul2010] [sep2010]

This is an archived page. To post a new message, go to the current page.