UNIX/Linux Programming - June 2011 (Page 2)

'Undefined reference to'; probably makefile mistake
 
hi there, I'm new to this forum, so please accept my apologies up front. And here is the problem I was fighting for few days: I'm trying to compile "Hy...
[2 replies] Last: Thanks, that helped. (by onemanarmy)
by tlknv
explicit specialization of methods of a template class in several .so
 
Hi All, I need a confirmation that what I do is perfectly correct and I need to learn documents that confirm that. I have a template class (template <class T>...
[3 replies] Last: I got the answer at codeguru forum: C++0x-draft-n3092, 14.7.3.6 If a t... (by tlknv)
Segmentation fault with ifstream
 
Hello, My program has to read from stdin. Something like cat filename | my_program . I success to read from cin as: string line; while ( getline(cin, ...
[4 replies] Last: Thanks, I use: ! getline(cin,line).eof() (by BoboTiG)
by tsa45
HELP! Very Strange escape sequence problem
 
To make things simple: My program as a server recieves message from client using recv call. I use C++, GNU socket APIs under Ubuntu. I let recv() recieve 1 ...
[3 replies] Last: your mystrcmp() method is wrong, need to modify. Use some existing st... (by krjeev)
A weird socket
 
Hello, I'm having a weird problem with sockets. I'm writing a http-server. It's set up to return: <code> HTTP/1.1 200 OK Content-type: text/plain OK <...
[2 replies] Last: I fixed it, i did a full rewrite of the server's http sys (glad i con... (by roelf01)
fstab script
 
hi, i'm creating a shell script using fstab for my project of last year, i wonder you can help me to know what is the command allow me to get the list of u...
[1 reply] : use "cfdisk -l" if cfdisk is installed on your machine. for more deta... (by krjeev)
Return file descriptor value
 
Hi I have wrote one program that listens on one port and responds to client. for this, I have used "socket" API. I do not know why, first returned value of fi...
[2 replies] Last: Thanks a lot for your quick reply. (by nima0102)
what is the fashion IDE in Linux CPP programming?
 
I wanna study cpp programming in Linux ,but I don't know how to choose a useful IDE.there are more IDE can use in linux ,eclipse and netbeans ,but I wan...
[2 replies] Last: This is an ongoing battle for me, I've tried Code::Blocks, Anjuta, Net... (by closed account 1yR4jE8b)
by tsa45
multi thread global class
 
I am making a multithread program using C++, GNU under Ubuntu. There will be a global class object called server. server.processRequest(str) will be called by...
[4 replies] Last: thank you very much!! (by tsa45)
by holtaf
OpenGL program
 
Hi all ! Could you please help me ? I am writing an app with OpenGL , and the compiler gives me an error : #g++ main.cpp CApp.cpp CFrame.cpp -lGL -lGLU...
[2 replies] Last: (please mark this as solved then) (by HenriK)
unix programming guide
 
can anyone point me to a good unix programming guide? or is it the same as coding c++ on windows. Thanks!
[6 replies] Last: My friend, Google is my C++programming guide ;) (by strongdrink)
Question: Programming Processes in C++ using Qt or GTK?
 
Hello there, I need to do some programming in C++ using Qt or Gtk, I'm looking for information about this topic but it is kind of hard. It's about processes in ...
[1 reply] : You would only use GNOME libraries or KDE libraries if you wish to int... (by closed account S6k9GNh0)
How to transfer data between two programes
 
Hi there, I want to coupled to c++ program together, and there need to have some data transfer between these two executable. I plan to call one exe in the other...
[1 reply] : The Unix way is to write to stdout and read from stdin: ls -l | grep ... (by PanGalactic)
any type in a list
 
is there another way of doing this. using codeblocks with valgrind plugin. compiler is gcc. valgrind report memory leak when return from a Any class return...
[4 replies] Last: Well it depends on the implementation. At a minimum, since the object... (by jsmith)
how can i create index file for red black tree
 
if i create an index file how can i access it through red black tree according to the algorithm and what sort of information i want to store about a file to fin...
[1 reply] : http://en.wikipedia.org/wiki/Red-black_tree (by carlodelmundo)
C++ and Oracle SQL
 
Could you please direct me to some links about how to connect a C++ program with a database and extract/insert data into that database? I am using Oracle Databa...
[1 reply] : Take a look at the Oracle Template Library. (by PanGalactic)
by clzola
C++ SDL Can play sound ??
 
I want to play sound with SDL_mixer, but I don't know why it doesn't play it.. here's the code: #include <iostream> #include <vector> #include "define.h" c...
[3 replies] Last: Congrats! (mark as solved please :P) (by strongdrink)
using char* as reference variable and read from a function
 
Hi, I want to read a string (char *). i.e, I want to send char* argument and after calling the function I want the argument to be filled in that function defi...
[6 replies] Last: Thanks every one... Its solved .. (by sunilchintu2468)
by tsa45
recv
 
I am making a distributed system in c++ gnu, ubuntu . A client sends a message to server and then the client will disconnect. I use recv() to get message fro...
[5 replies] Last: No, I never use non-blocking receives. If any recv returns < 0, it is... (by kooth)
Binary Access to a Serial Port
 
Hello All I'm currently working on an application to get information from a commercial module that makes use of RS232 communications. The information that th...
[1 reply] : If you're reading binary data, you might try using the ntoh functions.... (by kooth)
June 2011 Pages: 1234
  Archived months: [may2011] [jul2011]

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