UNIX/Linux Programming - September 2011 (Page 2)

by jorgen
Problem linking to gmp
 
Hello! I'm using a linux machine with kde environment on a university, connected to a network. I ...
[2 replies] Last: Thanks for the reply! But I just figured out that if I change to anoth... (by jorgen)
Strange Compiler error at the beginning of header
 
I am using a header file to declare a class for a queue, which is just a dynamic array and the funct...
[4 replies] Last: yeah, I'll do that. This is a just a template that I was using from o... (by Adam Smith)
Segmentation fault on deleting a struct
 
I'm exentending existing C++ application. It have struct as below. struct Message { char z_Da...
[1 reply] : All those temporary buffers and copying without length checking make m... (by kbw)
Error: request for member...
 
#include <iostream> #include "SalesDB.h" #include <string.h> #include <fstream> #include <i...
[2 replies] Last: using namespace std; using std::cout; using std::endl; using std::se... (by isnork)
by Shamma
OpenCV error
 
hello all, I have been coding in python before and included the library of openCV without any pr...
[2 replies] Last: If you're new to C++ you may not know this, but in C++ the general pra... (by hanst99)
about size of outbuff in iconv
 
hey everyone: I have a question which is about iconv, the following code works well now, but ther...
[2 replies] Last: Hey JMJAtlanta: Thanks! I miss the basic usage of strlen()!... (by zhmsong)
by Jest
Help! Compiling Error Message
 
So I have this code that has a sum function that sums n elements in a vector ... void comput...
[3 replies] Last: I've spruced it up since Now what I have is this for(j=0;j < Vec.siz... (by Jest)
by DimaS
How to enable struct in class ?
 
Hi folk. I have a class: class Components { struct comps{ // -- Compon base char name ; ...
[5 replies] Last: And now we'd still have to tell him to give the thing a destructor so ... (by hanst99)
Using gettimeofday() To Measure Performance
 
This might not be the most optimal way, I'm sure there is a better way, but at least for what I'm do...
[2 replies] Last: http://pubs.opengroup.org/onlinepubs/007908799/xsh/gettimeofday.html (by kbw)
c++ and email interaction
 
Is there a way to import my contacts in my email to a text file so i can manipulate it? output e...
[3 replies] Last: First of all, there is really no specific question you asked. Where, i... (by laserdude11)
a basic question about declaring variables
 
Hello everyone, please have a lookk at this snipet of code: https://computing.llnl.gov/tutorials...
[1 reply] : It basically states that passing a struct variable (declared in main(... (by Athar)
is there any way to allocate more memory
 
i have simulated a queue with pointer "*" but it dont allocate memory that i want and it overflows i...
[10 replies] Last: new just throws if not enough memory could be allocated, that saves ... (by hanst99)
by ne555
makefile dependencies issue
 
I'm having trouble with my hand-made makefile. There is 1 file that is not being created (the last o...
[3 replies] Last: make is quite sensitive, yes. (by hanst99)
Posix Threading advice for high rate thread interferance
 
Hi, I'm looking for the best way to set up a problematic architecture. So far, I have not had su...
[1 reply] : In my experience, increasing the priority of a thread doesn't increase... (by kbw)
by mgm11
can anyone show me how to input a value into one of my classes and then output it?
 
#include <iostream> #include <cstdlib> using namespace std; class Temperature { public...
[5 replies] Last: Thanks for the indication. In my code, the Singleton pattern is not im... (by b2ee)
by nadime
Help linking debug version ( g++ )
 
Howdy all, I am having a strange problem where my program compiles and links just fine with the...
[3 replies] Last: HALLELUJAH! I updated the code to simply use c_str() where I needed s... (by nadime)
by sbarg
Error Loading Shared Libraries
 
Hi guys, first post! New to C++, Linux (Ubuntu 10.04) and CodeBlocks and wasn't sure whether to p...
[5 replies] Last: interactive shell (don't know what that is) It's something that o... (by Moschops)
C++ Time
 
i want to get current time but it returns seconds from 1/1/1970. Is there any additional function or...
[1 reply] : Please ask questions only once. http://cplusplus.com/forum/general/501... (by hanst99)
Segmentation fault tracking bug
 
Code::Blocks (which i'm pretty sure uses dbg ) doesn't track the place of the segmentation fault pr...
[1 reply] : Make sure Code::Blocks isn't trying to start the Release executable wh... (by Athar)
defined typedef in "sys/types.h"
 
Hi I am newbie in C programming. I am reading source codes and also writing very simple program for...
[2 replies] Last: That is done because while today size_t might be a synonym for unsigne... (by jsmith)
September 2011 Pages: 123
  Archived months: [aug2011] [oct2011]

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