UNIX/Linux Programming - April 2010

PROBLEM with my program. im confused
 
OKAY THE FOLLOWING IS WHAT THEY ARE ASKING ME TO DO AND MY RPOGRAM. I HAVE ONLY FINISHED THE FIRST LOOP AND HAVE NOT STARTED ON THE SECOND. I JUST WANT TO KNOW ...
[2 replies] Last: And please don't type all in caps. It's very irritating, not to mentio... (by chrisname)
Ncurses and Segmentation Fault
 
Hi, I'm using gentoo - its a fairly clean environment - specifically set up for just this one project - ie. almost straight from the Gentoo Handbook (10.1 Gento...
[6 replies] Last: Hmm... I should mention that you shouldn't be including source files. ... (by chrisname)
by hayksk
Lost source file after compilation with GCC
 
Hello. Please help. I've accidentally executed a wrong command and lost one of my .cpp source files (file1.cpp). The command entered was the following: gc...
[15 replies] Last: Hmm, not sure about all Linux flavours but in the Ubuntu I have, when... (by hayksk)
error while compiling
 
I was compiling a c++ program and it gives 2 errors: 1) expected ';' before '{' token 2) expected '}' at end of input. But when I check the program all i...
[2 replies] Last: If you use [co de] tags and indent your code you may see where the e... (by Bazzy)
by jre247
Creating a Pipe with parent and child processes
 
Hello, I am trying to create a pipe that will direct stdout to in side of the pipe, and stdin to the out side of the pipe - I created two child processes to ...
[3 replies] Last: You need to create the pipe in the parent before forking . (by jsmith)
md5 source
 
I here there are some problems md5 encryption program, who can help me about c + + version of the source? Email: syjangel2003@139.com Thank you.
[no replies]
How to learn programming for Linux/Unix?
 
Hello, I am good at c++.I want to learn to program for linux/unix,can you give me some advises,for example classic books ,which operating system is used bette...
[2 replies] Last: Hello, Personally, I like Ubuntu because it simple and easy to use.... (by closed account y8h7M4Gy)
scrolling ncurses window
 
ok so I'm creating a basic server software and I would like to implement the interface in ncurses such that whenever a client connects it would print out a mess...
[no replies]
by iti
POSIX message queue naming
 
Hi, I am programming a multi-threaded application using POSIX threads and message queues. When creating a message queue, I need to provide a name (filename)...
[1 reply] : @yes u shuld provide a any file name just to get the key ... If any ... (by cpplinuxnewbie)
C++ on MAC
 
Hello everybody! I am studing c++ in my university in Ukraine.I am just beginner in programming, I have MacBook, and I want to program C++ on MAC .=) May you...
[7 replies] Last: http://developer.apple.com/technologies/tools/xcode.html (by closed account z05DSL3A)
by Ainee
Reproducing Linux Bugs
 
Hi, I have looking through https://bugzilla.kernel.org/. since i am new to the linux bugs so it is very dificult for me to understand bugs descriptions. ...
[no replies]
How to send image through ethernet(tcp/ip)?
 
HI, i was working on a project in linux where tcp/ip communication is needed(i am using BSD sockets,calls like connect,send etc., ). i send the data in the...
[5 replies] Last: @hittlle Thnk u .. i changed my design .. isntead of sending the image... (by cpplinuxnewbie)
Formatting an output file
 
I wrote some functions that will output the x and y intercepts of a circle. Now I need to send the output to a text file and I also need to add some text to the...
[2 replies] Last: #include <fstream> int main() { double x; double y; ... (by Galik)
by adtr
anyone know how i would do this?
 
Your script must check for the correct number of arguments (one argument). If somebody tries to invoke the script without passing in the correct number of argum...
[1 reply] : "script", "assignment4.sh" ? This is a C++ forum (by Bazzy)
Any recommendations about C++ under Linux/Unix?
 
Hi all, I know C and linux well, and wanna learn C++. Are there any good books or materials on C++ programming on Linux/Unix? Any guidance would be highly app...
[3 replies] Last: Not current C++ standard, but you can have such things from the ( cros... (by Bazzy)
by mockle
how to use configure to change name of lib
 
Hi, I am making some modifications to a source package that generates a shared library. The original library is installed on my system and I would like to co...
[3 replies] Last: Why not change the lib name in Makefile.am and rebuild? (by kbw)
Valgrind finds memory leaks, crtdbg doesn't
 
Hi After attending a couple of C++ courses, using visual C++, I'm trying to learn how to use valgrind instead of crtdbg for finding leakchecks, since I prefer...
[6 replies] Last: Thanks! (by hadoque)
Shared Memory
 
Hi all, I am trying to have a model where two process write to a common file. Hence, I was wondering which method would be the best(in terms of speed). 1....
[18 replies] Last: for this problem u can use FIFO (named pipe). that will be simple and... (by ankitsingh12)
C++ errors
 
C++ users, I am having some pretty basic problems with either my C++ libraries or C++ compilers. I first noticed the problem when I was trying to compile MPI...
[3 replies] Last: Yes. Look at the paths. (by kbw)
Getting root access (with permission, obviously)
 
I'm writing an installer for a bootloader I'm writing and I want to be able to write the bootsector, mount devices, etc. How can I get root access? Other pro...
[5 replies] Last: Ok. I assumed programs could gain root access (they can, with setuid()... (by chrisname)
April 2010 Pages: 123
  Archived months: [mar2010] [may2010]

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