UNIX/Linux Programming - June 2009 (Page 2)

by jui
Memory allocation and problem
 
Hello, I started writing my code following the below link: http://www.phon.ox.ac.uk/~jcoleman/SLP/Extras/dtw.c but I need to follow my file format and memory...
[3 replies] Last: Yes, it seems fine to me. This is the sort of thing that valgrind wor... (by kbw)
Where I can download iostat source
 
Hi, Where I can download iostat source for mac OS.
[1 reply] : I'm guessing here, but it'll probably be in the BSD layer. If that's ... (by kbw)
objects: buffers[0].start buffers[0].length
 
hey guys, so i am doing a project that involves v4l2 video capturing applications, and so i am reading this one example that they give here: http://v4l2spec...
[11 replies] Last: For the first problem u need to run it like this ./webcam The reason... (by Night Horse)
getch in Eclipse IDE
 
This might sound a hella stupid question... when I use getch() in Visual Studio, it works perfectly fine but when I use it in Eclipse ( MinGW ), for some reaso...
[3 replies] Last: Are you trying to Keep the console open long enough to see your progr... (by Duthomhas)
by oramiq
problem with converting object from type to type
 
hello every body,, i have a small problem in big program,, i will write the hole code, and point to the problem line,, it gives me no error in compilation,, but...
[9 replies] Last: can u please help printing the tree ??!!?? i know it is not easy ,, i... (by oramiq)
How to control the CPU usage.
 
Hi How to control the CPU usage of particular process in linux.
[2 replies] Last: You can look at setrlimit() under RLIMIT_CPU. It's probably not exact... (by jsmith)
mjpg to jpg
 
hey guys, what is the process for converting an mjpeg frame to a jpeg image? is there a library that will take care of it for me? thanks, much appreciated.
[2 replies] Last: i meant a yuv frame, not mjpeg, sorry! i was reading the list of avai... (by iochinome)
by yasser
change colors ?
 
I have written c++ prog .. and I need to ... if(x<30) .. print x with Red color or any color .. I will send x to file after I ask user to enter his Midtea...
[6 replies] Last: You should install the package libncurses5-dev or something like tha... (by Bazzy)
Curl gives 404
 
I added this code for debugging: std::cout << url.str().c_str(); std::cout << "<br><br>"; std::cout << content.str(); Output: https://www.ups.com/ups.app...
[1 reply] : I think I could figure it out if I could output the raw CURL Post requ... (by matthewo256)
by vijkrr
How to read a XML file
 
Hi all, I want to read a XML file and insert the values into the map. Before this i've never written any program for reading XML files. this is my xml fil...
[5 replies] Last: I know more Oracle Parsers than I know types of cheese. (by closed account S6k9GNh0)
reading from a memory location into a file
 
hey guys, i have a program where a certain amount of data is stored in a buffer, starting at the location pointed to by buffer.start and continuing on for buffe...
[3 replies] Last: In C, there two kinds of I/O. There's the OS open/read/write/close wh... (by kbw)
by j0n0
dynamic memory across shared libraries
 
hi all, this is my first post here.. i wonder if anybody can direct me to (or present) a good tutorial on sharing dynamically allocated objects across sha...
[4 replies] Last: yes, i'm passing a structure to an exported init function, which inclu... (by j0n0)
June 2009 Pages: 12
  Archived months: [may2009] [jul2009]

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