UNIX/Linux Programming - December 2010

Hide Local Identifier
 
I have written two functions NewMalloc() and NewFree() which are similar to malloc() and free(). They have a global variable of 50000 byte array and its where t...
[2 replies] Last: thats Great guestgulkan... thank you very much... i new only little ab... (by chathura666)
by Phass
tiny_malloc error? Urgent please !!
 
Hi all ! I've tried to execute my program several times and i've got this error in many of them: (gdb) bt #0 0x93992338 in tiny_malloc_from_free_list ()...
[no replies]
socket 142 error
 
Hi, My application upload contents on FTP server using ftplib which is written in C. The issue is during upload if the WLAN connection is lost (router restar...
[1 reply] : http://www.cplusplus.com/forum/unices/17001/#msg85148 (by kbw)
by Null
linking with .so on linux
 
Hello, I'm trying to port a program to linux. I have few projects: one of them is an executable program; others are dynamic libraries (.dll or .so). I need to ...
[4 replies] Last: You seem to be using an absolute path notation when you supply a relat... (by Galik)
by dem0n
Undefined reference to class::function
 
I'm afraid this may be yet another thread on linker errors, but all such threads I've found thus far address templates, which I'm not using. Compilation gives t...
[10 replies] Last: Most of the CXXFLAGS are for optimization (e.g. -funroll-loops) but so... (by dem0n)
by Budlee
eclipse noob
 
Hey, this is my first post so thanks to anyone that can help My problem is I keep getting the error make::***[source/P3v2.o]Error 1 @ line 0 This is my...
[7 replies] Last: Yer albatross thanks for that explanation (by Budlee)
std factorial function
 
Is there a factorial function defined in a header file someplace in *nix or c/c++ I don't want to have to write this anytime i need it, kind of annoying all...
[8 replies] Last: lol owned (by ceruleus)
How to resolve this command
 
hi all.My title is a little confusing for my question,sorry for that coz i could not figure out how to refer to the ... here is the command: svn checkout...
[4 replies] Last: thanks a lot ! (by sysabod)
Is it possible to invoke pthread_create on a method?
 
Is it possible to invoke pthread_create on a method instead of a standalone function?
[1 reply] : non-static member functions of C++ classes are not suitable as routin... (by guestgulkan)
what happens when a thread throws an exception?
 
say i create a thread using pthread_create and the function that the thread executes throws an exception, what happens to that thread then?
[6 replies] Last: ok thanks that clears things up (by unregistered)
by alej0
columns in a txt file
 
Hello, im kind of new in c++, and i want to do the following: I have a txt file with 3 colums of data like this 1 4 5 1.2 43 0.9 0.3 1.1 90...
[1 reply] : Don't double-post http://www.cplusplus.com/forum/general/33442/ (by Bazzy)
Vexing: Not declared in scope. Done this a thousand times on windows.
 
I have used this type of decleration many, many, many times in C++ and C# for Windows. For some reason gcc-c++ has a problem with the scope of the variable. Wha...
[1 reply] : I'm sure you already know it's a syntax error, right? Please use co... (by kbw)
Serial Console
 
Hi I intend to write program for linux system that can control serial console and this program (daemon) to be run stand alone on system so that response to use...
[1 reply] : The Boost Asio library support serial port I/O. (by PanGalactic)
Echo a stream variable to the screen.
 
Here's some code below. I want to spit out 'query' to the screen so I can check it. I don't have a fancy debugger installed yet like I am used to using on Windo...
[1 reply] : This should do the trick: std::clog << query.str() << std::endl; ... (by PanGalactic)
c99 standard of designated initialisation using g++
 
hello all, i want to compile a large C project with g++ compiler. The C project has a lot of structures initialised by designated initialisers which are unfo...
[2 replies] Last: If you can, I'd recommend using gcc instead of g++ . There is no p... (by chronokitsune)
Problem with Threads
 
Hello I was trying to develop a program with some threads. And each thread, at the end of its job, should write the results to the same text file. But I wan...
[8 replies] Last: Great. I'm glad to hear you get it done. (by h9uest)
AIX C++ DB2 Client
 
I'm beginner to c++ with db2 on AIX. Does anyone know how should I start? I want to develop a thin client which will write a select query result to filesystem. ...
[1 reply] : There loads of documentation here: http://publib.boulder.ibm.com/info... (by kbw)
To generate keystrokes into Linux application
 
Hi Folks, I need help to generate keystrokes in my existing application in LINUX environment. I am fully aware that there are libraries in Dev C++ which do e...
[1 reply] : the issue is solved. Thanks (by samprat)
problems using libavcodec/format to recieve a RTSP stream
 
hi everyone, i'm doing an app to display a stream directly from an ip camera to the screen. so far i can decode from a file on the disk, but now i got stuck wit...
[no replies]
by Kanj
I need a low level graphics library for gcc
 
Hi! I learning c++ programming and I am using gcc. I have previously used turbo c++ compiler and I need something like graphics.h for gcc. I don't need somethi...
[4 replies] Last: Thanks a lot. Can you also tell me where can I find a tutorial on S... (by Kanj)
December 2010 Pages: 123
  Archived months: [nov2010] [jan2011]

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