UNIX/Linux Programming - April 2009 (Page 3)

strncpy causing warning and segfault
 
So I am getting an error that says: "passing arg1 of 'strncpy' makes pointer from integer without a cast" Here is the fragment of code causing the problem c...
[3 replies] Last: Yup that was it. Thanks guys I was getting confused. (by abhiiyer102)
Linked List. Segmentation Fault!
 
void list::remove_last() { list_node* cursor = head_node; list_node* tmp = new list_node; while(cursor->next_node != NULL...
[5 replies] Last: i have a finding here.. allocating memory to some node and then putt... (by writetonsharma)
by everid
what editor to use?
 
Hi guys, I've been using emacs for a while but didn't figure out how to auto complete a long function name like in Microsoft VC++. Is there a way to auto comp...
[7 replies] Last: I would suggest AnjutaIDE... Open shell... sudo apt-get install anju... (by ingenioushax)
libwebcam installation pt 2
 
so i have gotten the tarball for libwebcam-0.1.1 and extracted it, and went through the process to get it to install. (i had to install libxml2) here is what i ...
[2 replies] Last: okay, so i downloaded the source for libwebcam.h from here: http://vi... (by iochinome)
by oramiq
problem of creating objects from another classes (1,2,3)
 
this is the bptree2.h #ifndef B_PLUS_TREE2 #define B_PLUS_TREE2 #include <iostream> #include <ostream> #include <stdio.h> #include <stdlib.h> #include...
[40 replies] Last: hmmm... see your all classes are independent classes.. and so we cant ... (by writetonsharma)
the linux compiling process:
 
hello everyone! so i am a pretty recent transfer to linux from windows, but still a programmer at heart. i am used to the windows procedure of compiling my sou...
[3 replies] Last: okay, i think i am beginning to get it... if i have any more questions... (by intanettohack)
by mukhan
Socket Programming
 
Hi, I need to read information from the file that is on internet. For example, if you click the following link, the window will pop up and ask you if you want ...
[1 reply] : Socket programming is a little complex... you might be happier just us... (by Duthomhas)
April 2009 Pages: 123
  Archived months: [mar2009] [may2009]

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