UNIX/Linux Programming - July 2009 (Page 2)

Stack size in linux
 
Im just wondering how this affects programs writtin in c or c++. When i run ulimit -a on a linux system i see that my default stack size is 10240. How does this...
[4 replies] Last: Thanks for the information. (by newbie43)
by eKKiM
execlp arguments problem..
 
Hi i am trying to use the execlp function in C++ i made this little function.. int spawn(char *cwd, char **arg_list) { pid_t child_pid; child_pid...
[2 replies] Last: Yes, choose the correct function. http://linux.die.net/man/3/execv ... (by Duthomhas)
by kachie
Are there any financial applications developers here?
 
If any of you do C++ development for trading or any real time financial systems can you give me your input on what kinds of common problems to look for when des...
[6 replies] Last: The systems are not real time because they're not time critical in the... (by kbw)
compiler
 
Where can I find a c++ compiler compatible with Linux?
[4 replies] Last: Intel's compiler is great if you plan to do some x86 CPU optimizations... (by Duthomhas)
by vijkrr
how to terminate a client?
 
Hi all, I've a server C++ program, from the server i want to maintain the Keep Alive. How to do this ? From server program is there any way to terminate t...
[1 reply] : If I understand you correctly, why can't you just close() or shutdown(... (by jsmith)
by vijkrr
how to close a opened port in C++
 
Hi all, I opened a port in my socket program, if it is a proper shutdown then the port is clossing properlly. When my program got aborted then the port is no...
[2 replies] Last: a) Here I assume that you assign the port numbers manually and the ass... (by kinley)
Simple Question
 
Im new to using xcode. In windows programming, i wouuld use the include directory #include "std_lib_facilities.h". What is the include directory for xcode? So c...
[1 reply] : It isn't Xcode 's problem -- you should be executing command line app... (by Duthomhas)
by EduGar
Problems Linking/Compiling with GNU g++ 4.3.0
 
Dear All, The compiler in my lab system has been upgraded to GNU g++ 4.3.0 and now I have problems linking my programs. Before this upgrade I was compiling a...
[4 replies] Last: Dear All, Tired of trying to figure out the problem (changing compi... (by EduGar)
Password entry
 
I'm starting on writing a simple login program, and straight off I don't know how to make it so when the user enters in the password nothing appears (or asteris...
[2 replies] Last: Cheers man, that was really helpful! I've spent the hours since pos... (by goodvikings)
expected unqualified-id before
 
The goal of the function is to create a map and with pmeter and value, where pmeter is the index and value will be pmeter's value(there will be multiple values ...
[3 replies] Last: These errors relate to your use of the term insiter because insi... (by guestgulkan)
opening multiple files c++
 
I have never done this before and I am having trouble figuring out how to do this... here is the problem... I need to be able to open a file, read in some va...
[5 replies] Last: Thanks for all the help, i actually got what i was aiming for complete... (by prolink007)
by audit
A good makefile example
 
I have been teaching myself using what I believe is a pretty good text book. I use the gcc compiler and makefiles. I program this way because I could not find a...
[4 replies] Last: Duoas, Thank you for your example and the document reference--it ex... (by audit)
by lipune
unix
 
1-what is static library and shared library what is the difference between them and also how to create these libraries in unix os if possible give me some exam...
[1 reply] : This should help http://tldp.org/HOWTO/Program-Library-HOWTO/index.ht... (by guestgulkan)
by vijkrr
How to use common variable!! Urgent
 
Hi All, int EXIT_CODE =1; int main(int agrs, char* agrv ) { if( agrv == "start" ) { while (EXIT_CODE) { } } else if (argv == "stop" ...
[no replies]
Segmentation fault depending on debug messages
 
I have done some code for get messages in data link layer, I am having problems with segmentation fault when I run my code without debugging messages. I can not...
[1 reply] : You'll have to post code for us to help. (by jsmith)
by rmb
programm which will be processing a file based on a number of lines
 
Hi all I would like to ask you to help me with a programm which will be processing a file based on a number of lines ex: To receive file in parameter of...
[1 reply] : If I understood you correctly: Open the first file for reading. Wh... (by Duthomhas)
SIGSEGV, segmentation fault when using fstream
 
Hi, In my application, i used fstream, It is working fine in windows, causing segmentation fault in Linux. Please, give me your suggestions. The following i...
[2 replies] Last: Looks like you may have some memory corruption. Try running it through... (by helios)
by oramiq
reading and writing
 
hello every body,, i want to make some complicated operation on multiple files,,, 1- i want to create 20 files ,, each with name begin with data , then gi...
[3 replies] Last: i solve it ,, thanks :) the code will become like this :: #includ... (by oramiq)
by vijkrr
BG Process... Need information.
 
Hi all, I'm developing a application which should run as a single process means, EXE : sample.exe usage : sample.exe [start/stop] if we try to e...
[3 replies] Last: whoops... good thing the code isn't in use :) (by jsmith)
Types of libraries
 
Hi all. I've done some reading on this, but with the amount of new 'buzz' words springing up, i'm getting confused. While doing an apt-cache search i saw a nu...
[5 replies] Last: With most compilers on most Unix systems, the C++ runtime library is a... (by PanGalactic)
July 2009 Pages: 123
  Archived months: [jun2009] [aug2009]

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