UNIX/Linux Programming (Page 3)

using a vector and fstream
 
#include <iostream> #include <stdio.h> #include <vector> #include <fstream> using namespace std; ...
[1 reply] : In C++98 (from 1998) the constructor for std::fstream accepts a con... (by Catfish3)
Address of Pointer is fixed in every execution
 
Hi In my program address of pointers is fixed in every execution. for example: pointer A is "0x6...
[5 replies] Last: Programs get loaded at the same base address, mostly. And that causes... (by kbw)
killed
 
Hi, I am subhamita. After running 2000 iteration correctly, my program is stopped showing 'killed'. ...
[2 replies] Last: Same problem as http://www.cplusplus.com/forum/windows/90030/#msg483... (by Grey Wolf)
[Ubuntu] How to determine the size of unity launcher/panel
 
I'm having an issue calculating the size of my window on Ubuntu. I am using gtkmm-2.4 and calling...
[1 reply] : Check with the GTK && Unity documentation or forums, that is a problem... (by Zaita)
by efe909
posix mutex
 
Hi, I am learning multi-threaded programming (C++) using POSIX libraries. I have been using the mut...
[4 replies] Last: [quote=efe909]" access to variable myVariable is not really "locked" i... (by Framework)
by anibio
compiling C++ with the scons compiler
 
I am using Mac OS X 10.8.2 and I am compiling my code using the scons compiler. I am using the 32 b...
[1 reply] : Wouldn't it be easier to install a 64-bit version of libxerces? (by fafner)
skgesigOSCrash crash in the Linux 32 bit application
 
Dear All, I am getting following crash in our 32 bit C++ application built on RHEL5.4 with Oracle...
[3 replies] Last: 1. Your Oracle Diver 2. http://www.cplusplus.com/articles/jEN36Up4/ (by Zaita)
GUI API
 
does Linux have a native library for GUI. I'm asking for like a windows.h type of deal but w/ Linux....
[7 replies] Last: Thanks for that. My main interest in XLib is just curiosity rather th... (by Grey Wolf)
EOF doesn't flag to POLLIN?
 
I'm thinking cause POLLIN only watches for bytes incoming. And I can't do this... int poll_activit...
[6 replies] Last: Found it, rather than put 0 as a timeout, I should put -1 for blocking... (by LuckyIsDog)
memory alignment
 
Is there any way to align memory allocated with new to a 2d array?. how can I aligned memory allocat...
[4 replies] Last: If he was not worried about alignment, he could as well coded it in Ja... (by rapidcoder)
System function
 
I know its looked down on but does anyone know if I can use the system command on a Linux environmen...
[1 reply] : Yes you can use system(""); (by Zaita)
by pjesh
Hashing - How to find collision rate?
 
Guys, I'm having issues calculating the collision rate of this table. It's currently printing out va...
[2 replies] Last: Thanks. That solved the problem :) (by pjesh)
by shafh
Can build my code on another linux-pc
 
Hi everyone. I have currently coded a program in c++ on one (ubuntu) computer. The program works f...
[5 replies] Last: Wow that was amazing. A easy bug. Really thanks a lot. Would never ha... (by shafh)
static member problem in overloading delete operator
 
I defined my pool class(memory pool manage) as a static member in foo class as below but give error...
[3 replies] Last: You should put it inside one of your source files because you only wan... (by Peter87)
BSD Sockets documentation?
 
Is there somewhere online that has a listing of the functions and structs for BSD sockets API? I've ...
[10 replies] Last: I might pick up one of these books, they both look solid. Though the R... (by ResidentBiscuit)
convert c++ to machine code?
 
For a class assignment I'm supposed to note differences / similarities between a simple c++ program ...
[6 replies] Last: Alright I see the ridiculousness of my title now. =) How do I view the... (by estex198)
Nslookup
 
I have a file of hostnames (several hundred) that need to be checked against a DNS server to verify ...
[4 replies] Last: I haven't ever used BSD sockets, I'm only slightly familiar with the A... (by ResidentBiscuit)
Thread programming
 
Making a thread program which takes segments of an array then processes them with a computation in m...
[3 replies] Last: No error messages. But like said in my EDIT2: If I have 2 threads and ... (by acesouthall)
Thread Local Storage
 
Hi, I am trying to write a program that holds a particular unique value to each thread and abilit...
[1 reply] : http://codepad.org/8ABE1psM - Much more readable. Use tags please. ... (by computerquip)
A good library for replacing GLUT on a Mac?
 
I hope I am in the right board, I assumed this is where OS x questions would go seeing as it is a Un...
[1 reply] : SDL, SFML, GLFW, and many engines provide much more feature and better... (by computerquip)
Pages: 1234
  Archived months: [dec2012]

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