UNIX/Linux Programming (Page 3)

New! Join the C++ community on Google+
api and g++
 
so I have to use an api for this project and I guess I am to get a .so for the library. I have been ...
[2 replies] Last: Have you tried Google? http://ehuss.net/shared/ (by kbw)
Setting a value of nested class in shared_ptr
 
I am trying to use a vector of shared_ptr (boost lib) that points to a class with a nested class (ho...
[3 replies] Last: @deadpickle (aside) if you're doing the allocation and copy just to ... (by andywestken)
I need chars!
 
I'd like to make a mapping of strings to chars. I'm going to use a hard coded map in a program to co...
[1 reply] : I don't clearly understand what you intend to do, but you can use a l... (by tejashs)
by gliese
Is there anyway in which I don't need to specify the linker when compiling?
 
For example, If my c++ code included math.h so that I can use sin() . When I compile my code, ...
[3 replies] Last: You can use a Makefile ! (by SKZ81)
by Carnez
discrepancy with multiplication
 
I am using the armadillo c++ linear library and when I try to multiply a scalar with a vector, I rec...
[1 reply] : You should post more code. - freq declaration and initialisation - how... (by SKZ81)
by raduh
Declaration syntax error
 
I wrote the following library for my mouse: #ifndef __MOUSE_H #define __MOUSE_H #include <dos.h> ...
[2 replies] Last: - Are you compiling in EFFECTIVE C++ mode ? - If yes, try to rename to... (by SKZ81)
Linux-friendly laptops
 
I know it's more of a hardware-related question but are any particular brands more linux-friendly/co...
[12 replies] Last: I have an older Macbook with Intel dual core processor that Apple no l... (by powerup777)
Am I using threads right?
 
So I never program with threads, and for some reason they just confuse the hell out of me when tryin...
[8 replies] Last: It seems to try and teach you how to start threads, not make it in a, ... (by liquidfuzz)
Read ini files
 
Hi. Windows API has some functions for reading *.ini files GetPrivateProfileString GetPrivateP...
[5 replies] Last: I apologize, that was my mistake, I hav to say you can use! (by barbodar)
Need immediate help on casting/storing values in buffer
 
I have a structure type, let's say Telephone typedef struct { string dir_no; unsigned c...
[2 replies] Last: Thanks a lot Moschops for a quick reply. Actually the structure is muc... (by incognito)
by gliese
Header files are included, but still cannot call the functions..
 
I'm trying to write a plotting program with c++ under ubuntu12.04. OpenGL is applicated in my code. ...
[1 reply] : Including header files is not enough. You must also link against the ... (by cire)
Segmentation fault (core dumped)
 
I don't know why, but there's an error in my program, I can't see anything wrong with my code. I co...
[3 replies] Last: Thank you ne555, it worked here after the change you proposed. I also ... (by guerreiro)
Linux distros (Fedora, Mint, Ubuntu)
 
Having never used Linux before, just wondering what the 'best' distro might be. Really I'm looking f...
[3 replies] Last: Choosing the distro and gui all comes down to personal preference. I ... (by RescuePenguin)
Malloc SPARERAM, for mem2mem function
 
Hi, Members of cplusplus I hope you can help me. I have maked some new program. I need some dynamic...
[2 replies] Last: Hi, It won't start, then hanging. then i must reboot the whole box It... (by speedyisfast)
'Special' wide char on mac
 
Hey rrybody, I was wondering how to put 'special' characters from the OEM 437. Is it even possible ...
[4 replies] Last: It has nothing to do with size of the object, it's all about how it's ... (by kbw)
compare two strings
 
#include <iostream> #include <fstream> #include <cstring> #include <string> using namespace st...
[2 replies] Last: ok thanks for your help (by jimmiej)
Catch stderr and stdout from external program
 
Hi I am trying to write a program that runs an external program. I know that I can catch stdout, a...
[6 replies] Last: or an orphan. (by ne555)
by TJF
ncurses problem
 
Hi, I use LEFT-ArrowKey and RIGHT-Arrowkey to control a commandline program from "outside". The p...
[9 replies] Last: The missing link was nodelay(stdscr,TRUE); //=non-blocking and ... (by TJF)
by Hit
linux programming
 
I've been doing win32, but made a switch because I want open source, etc I want to program using Li...
[4 replies] Last: You're confusing many different things. The Linux kernel, tty program... (by kbw)
by Fitina
How to run and compile a C++ program on Linux Mint
 
How can I run and compile a C++ program without installation of its compiler coz i heard that it wor...
[2 replies] Last: Just go download VMWare Player for free, and download any linux .iso a... (by ResidentBiscuit)
Pages: 1234
  Archived months: [oct2012]

Cannot post in this page. To post a new message, go to the first page.