UNIX/Linux Programming - August 2011

error of a.out undefined symbol
 
when i run a.out it says that: ./a.out: symbol lookup error: ./a.out: undefined symbol: _ZNSolsEi, version GLIBCXX_3.4 is it a bug ? please help !
[no replies]
Consuming a Json file returning from rest web service
 
Could someone send me an example of how to use json_parser to read a Json file? I will need to consume a Rest web service developed in Rails. This web service w...
[3 replies] Last: I'm not exactly sure what a "rest service" is, but if you have the JSO... (by closed account 3hM2Nwbp)
Can't Find a Project Header That is in Same Directory
 
I have had a project going just fine in Code::Blocks on Windows 7, but when I tried making a project still using Code::Blocks but on Linux Mint 11, I get errors...
[1 reply] : Well, I figured it out. I was using source files on a shared folder b... (by xononymous48)
How to make directx programs in a *nix environment?
 
Hi, I've recently tried to play around with directx in vbox with windows xp. Although apparently directx doesn't work well in vbox, so It didn't work. I still w...
[2 replies] Last: damnn... that's really too bad. I'm just going to convert directx code... (by brokenbot)
tcl command error with cpp
 
Hi Guys I face an error saying argv not declared when I use it with TCL command tcl file has:
[no replies]
Documents in general about how linking works in *Nix?
 
Hi, i'm looking for some type of tut, article, etc that shows about linking in general for g++ and where the actual linking files go, naming scheme.... basicall...
[no replies]
how do i get a list of all the processes running in the background
 
I am writing a C++ program on a POSIX compliant OS. I know many shells have "jobs" command that provide these services, but my program is in c++ and there is no...
[13 replies] Last: The man page says it is the file mode for the stream: r means read-onl... (by kooth)
by cdd
Getting Started on Grapics programming
 
Hi, I was wondering if someone could help me out, i wanted to start doing some graphics programing in c++. Stuff like creating simple shapes and drawing fra...
[4 replies] Last: nice that worked thanks! Can you just explain what theses lines are a... (by cdd)
by ksm092
How to make input sentence into one string? or other method?
 
Hey Guys! I am writing a program on C++ with linux that will require the user to use the program by typing: ./contactadd 12 June 2010 Jessica Daniels Descripti...
[3 replies] Last: You could require the user to quote the various fields ./contactadd ... (by andywestken)
by Tanka
Looking for work realated to C C++ programming
 
hi I have worked on linux and freebsd. know c and C++ programming and have participated in online programming forum. I am searching for a job in embedded sys...
[2 replies] Last: A good starting point is http://www.jobserve.com If you spot an agenc... (by andywestken)
Heap corruption
 
Hi All, We have a in issue, where one of the process of our application is crashing frequently (core dump). The program is written in C++ in Soloris 10. On d...
[1 reply] : Could you please help on the strange behavior of the program. What I ... (by Athar)
error :"'p' does not name a type
 
this is my header file but it gives me an error 'error: 'p' does not name a type' class set { public: void Union (set,set); void intersection ...
[1 reply] : p = new bool ; You can't allocate memory in the middle of a clas... (by Moschops)
Wildcard handling from Terminal
 
I am writing a small utility to resursively search all files in all subdirectories for a substring, and replace it with another. I would like to handle wildc...
[4 replies] Last: Well, dealing with wildcards can be a fun exercise. Try looking a reg... (by sohguanh)
by siloan
Linux code issue
 
Hi there, i have some problems with 2 parts of code that on a win machine is working just fine- char nl , cl , il , sl , pl ; FILE *fl=fopen("f.txt",...
[3 replies] Last: Missing only here, sorry. Found the problem for the first one, i have... (by siloan)
Writing directory listing to a file
 
Hi All, I need to get the directory listing from the below program to a file but I tried many ways & it failed. Can someone give me the code or suggestion...
[5 replies] Last: You could use fputs or fputc to output the required ´\n´s (by andywestken)
the usage of getaddrinfo()
 
Hello, in APUE (Advanced Programming in the UNIX Environment), P559, Figure 16.8, appears the following code: int main(int argc, char *argv ) { struct ad...
[1 reply] : Memory is allocated in the call to getaddrinfo , ailist is assigned... (by closed account DSLq5Di1)
by cppgal
Sqlite3 crashing inside sqlite3_step function
 
Hi all, I am stuggling with a crash of sqlite3 from many days. I am using sqlite3 3.6.23. I am making one database in different program and using the same dat...
[3 replies] Last: First program is creating compressed file of a database and second is... (by kbw)
by xephon
Strange problem with member object in multple instances
 
Hi all, I have multiple instances of my class created. All of them contain a private member object from the interface provided to me. The problem I have n...
[11 replies] Last: That's what I think... (by xephon)
Problem building BOOST(for use with cURL) for Mac OS X 10.3.9
 
When building BOOST 1.47.0 I get the error: cc1plus: warning: `dwarf-2': unknown or unsupported -g option ...over and over again...there are 800+ targets....
[no replies]
Itoa not working in my compiler so I am looking for a an alternative which i found this error
 
itoa function is not defined in cygwin so i need to define one manually listed below"found in net" but I have an error saying 'can not convert std:basic-strin...
[12 replies] Last: Fortunately, it does not use stringstream. That means lexical_cast is... (by andywestken)
August 2011 Pages: 123
  Archived months: [jul2011] [sep2011]

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