UNIX/Linux Programming - July 2008

Auto time/date compiled
 
Hey guys, Is there a smart way to add a date/time string to my program so when it starts up it ca...
[4 replies] Last: Yes, doing a touch should be fine it will force make to recompile. Yo... (by bnbertha)
by alanna
Sorting values?
 
I have a program to enter a number of values and their respective probabilities as vectors/arrays....
[1 reply] : Use the standard algorithm sort () or stable_sort () (whichever you ... (by Duthomhas)
error: rw/regexp.h: No such file or directory
 
Hello every one, i am trying to compile c++ modules. while compiling a module i am getting the...
[no replies]
by vvadan
Program crash on exit?
 
hai i have an application running on AIX 5.2 in C++ when iam trying to execute the applica...
[4 replies] Last: It's very difficult to help without seeing the code. The way to use t... (by bnbertha)
by helios
[solved] Segmentation fault and std::clog.rdbuf()
 
I'm getting a segmentation fault after main() returns: #include <iostream> #include <fstream> ...
[2 replies] Last: It worked. Thanks. (by helios)
by mlussi
Again, Segfaults....
 
Good morning. Again I'm here because of a segfault in my program. I don't know where it comes fro...
[4 replies] Last: Alright, it seems to be what you said. I changed the value of "team" a... (by mlussi)
how to open big files
 
Hi, just wanted to know how to open a file with filesize greater than 3gb using fopen() command or i...
[5 replies] Last: It depends on the OS. Older OSes might give you trouble if you don't u... (by Duthomhas)
why my program crash?
 
Hi experts, I have a software package coming with some shared libraries including libgcc_s.so.1 &...
[5 replies] Last: Yes it looks like you are right. The most likely thing is a problem w... (by bnbertha)
Kill CTRL+C!
 
Well, title says it all. Is there any way at all that I can make some sort of hook (I guess I can...
[5 replies] Last: I don't know whether the OP wants to stop the SIGINT at source or stop... (by bnbertha)
by alanna
probability
 
I have done some basic programming, but am a beginner. I am trying to write a program to calculate f...
[1 reply] : huh, it's really really difficult to understand - why don't you try to... (by amrok)
ofstream weird behavior, sometimes it works, sometimes it doesnt
 
Greetings, I have the following problem: I have a C++ program that reads a file in hex format, d...
[19 replies] Last: Mmmm, ok, if anyone comes out with an idea of the problem i would like... (by fermar84)
c++ compilation errors
 
Hello every one, while compiling c++ modules. i am getting the following 2 errors. 1) /root/...
[4 replies] Last: It's hard to add to what I have already said without seeing the code. ... (by bnbertha)
by Derek
Adding user using C++
 
Hi, I'm new to this, therefore i would like to enquire on some idea to get me starting. - What ki...
[6 replies] Last: getpwent() gets the next entry in the password file. Each time it is ... (by bnbertha)
minesweeper game
 
moved to beginners
[2 replies] Last: Nevermind =) (by mikeb570)
textual tic tac toe and minesweeper
 
moved to beginners
[3 replies] Last: ok sorry, ill move it (by anthony830121)
by kjsr
system() raising SIGTERM
 
I'm using the system() call to run the ps command on my PID and redirect the output to a file. "ps...
[1 reply] : I'm not sure why you're getting a SIGTERM , a SIGCHLD yes. Using... (by bnbertha)
by vvadan
Linking socket++
 
Hi, Iam very much new to programming and C++ please help me I have an application that uses s...
[1 reply] : Unless the sockinet.h and related include files, and the ... I ... (by Duthomhas)
path name
 
hello, what functions do i have to use to check the validity of a directory path the user entered? ...
[2 replies] Last: You could also use Boost::FileSystem :) (by Zaita)
execl() number of args
 
hello, what must i write in my program to ensure that whenever i call execl, the correct number of a...
[2 replies] Last: thanks for your reply... :D (by theChameleon)
problem with chars
 
string words[...]; ... char * args ; for(int i = 0; i < numOfWords; i++){ const int wordL...
[2 replies] Last: thanks a million, man. that helped! yeah, i figured that they are p... (by theChameleon)
July 2008 Pages: 12
  Archived months: [jun2008] [aug2008]

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