UNIX/Linux Programming - April 2011 (Page 2)

by sqrt4
Combining two makefiles
 
Hello, I have two makefiles. And I would like to write one program with ONE makefile to use both us...
[2 replies] Last: Another option is to have a top-level Makefile that uses the other two... (by moorecm)
Creating a file system?
 
So i have this school project where i have to create a file system for a "hard drive" in unix... ...
[1 reply] : I think you should read some operating system book like Maurice J. B... (by writetonsharma)
gdb question..
 
Is there any way to get gdb to run from a certain line of code or do you always have to start from t...
[2 replies] Last: Do you mean you want to insert break point to a certain line? You can ... (by talentspsp)
by deswal
fpermissive error of g++ in cygwin
 
I am using cygwin I am getting these errors when i compile sim_routing.cc program by this command ...
[1 reply] : It looks like you need a declaration for strcat. This can usually be ... (by kooth)
Use template to dynamic allocate complex type in C++ ???
 
I have some function, but don't know dynamic allocate complex array. Please guide to me. This is my...
[no replies]
Want to learn C++ on Unix/Linux
 
Hello Friends! I know the C++ on Windows, but I want to learn on Unix/Linux platform, but i dont ...
[5 replies] Last: AnuragBansal, What is you ultimate goal? Fun/work, System programing... (by closed account z05DSL3A)
by JessH
How to get rid of <defunct> child processes
 
This is my code. I fork Y times to get Y childs and it does fine while(index<Y) // Y is the numbe...
[2 replies] Last: Great, thats what I needed, problem solved :) Thank you I found thi... (by JessH)
by MarkP
Coding under Linux, getting started
 
I have ZERO knowledge about Linux, I don´t even plan on using it at all, except of one thing. I ha...
[6 replies] Last: Thank you very much Bazzy, you´re right, once I got the VirtualMachin... (by MarkP)
visual c++ compatibility with linux
 
Hi, even though am new to c++ I thought it would be best to post my question here and not in the beg...
[15 replies] Last: @brhrmaster thanks 4 the info. U guys on this site have been so helpf... (by Mwanzia)
STL 2-D map iterator question
 
Hi, I'm trying to iterate through a 2-dimensional (nested) map. I think I'm following syntax correc...
[4 replies] Last: Ack, thank you Galik and firedraco, that fixed it! Really great to ge... (by nelagnelag)
Random IP Generation Program
 
Hello,I was Designing a Program that has two function the random_ip() and main() the random_ip() re...
[3 replies] Last: There is a very distinct difference between writing C++ code and writi... (by PanGalactic)
Show terminal window
 
Hey guys, I was wondering if you could have it so when you go and click on a program in linux it ...
[1 reply] : The 'command line' is one of a number of terminal emulator programs th... (by Galik)
Moving Files
 
what type of command would you us copy all the files in one directory to insert them into a newly cr...
[2 replies] Last: .. interesting (by Whiterava2)
by kxg
How do I count words in a File (I'm New)
 
I try to set up the code but the infile will not open and read. I need to set up the input file and ...
[2 replies] Last: @Yoshi... what if there happens to be more than one space between two ... (by ultifinitus)
Call dynamic array from fortrant 77 in C++ ?
 
I have some problems with combination between Fortran and C++> Hence I can not link the data between...
[no replies]
How to run/debug c++ project (in eclipse) on remote linux server from windows?
 
I have a project that I want to run and debug on my linux server. The linux server is linux 2.6.18 ...
[3 replies] Last: http://www.google.co.uk/#hl=en&xhr=t&q=eclipse+AND+c%2B%2B+AND+%22remo... (by closed account z05DSL3A)
RUN TIME ERROR SEGMENTATION FAULT (CORE DUMPED)
 
i run this program on gcc compiler ,and i got run time error of segmentation fault. when i debugg...
[4 replies] Last: Instead of #define SIZE 3 use const int SIZE = 3; ... (by lordmat)
by JessH
fork() , thread or X? in daemon ?
 
Hi, i'm writing a daemon and i need to launch some processes and I'm not sure what do I need to use....
[8 replies] Last: Just need to take note spawning of process are much more expensive th... (by jsmith)
how to get input from user in - int main()
 
I am looking this problem. i tried but not successful. How to get input from user in this program...
[4 replies] Last: You want to input a string, you can use gets, or fgets. fgets is recom... (by techie07)
April 2011 Pages: 123
  Archived months: [mar2011] [may2011]

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