UNIX/Linux Programming - October 2011 (Page 3)

Comparing Pointer in an If Statement
 
Hello, I am working on my Unix programming assignments and have run into a block. I am trying to b...
[3 replies] Last: Thanks for the replies...I ended up writing something similar to //... (by Chevytuff19)
Importing a module to python
 
I have to import a module from a website to my python programmer. Specifically from: http://code.goo...
[2 replies] Last: care to explain further? (by kakashi316)
Accessing and assigning values in MAP, C++
 
Hi, I am using C++ to model traffic simulation on Linux platform. I am trying to read data from map ...
[2 replies] Last: when i removed the pointed part..it gave a an error like error: no ma... (by Gaurav Vyas)
socket programming and pthread
 
Hi, how can a server knows that a client has left the socket? I wish to have the server returns to ...
[2 replies] Last: I have some code that I found on the internet a while ago that I have ... (by Galik)
by no one
linking : selecting Symbols from 2 or more different dynamic libraries
 
Dear People, I have the following question: in libA.so i have a symbol S or function S ...
[1 reply] : C doesn't really support that kind of thing. With any luck, it'll tel... (by kbw)
makefile dependency list empty
 
Hi everyone I have a makefile that looks like this %.xxx: @cp $(@D) $(SOMEPLACE) @z...
[3 replies] Last: You should indent by tabs, not spaces, in a makefile. This was the... (by sohguanh)
HELP: nanosleep causes huge amount of local timer interrupts
 
Hi all: I have a user mode application which uses nanosleep in a while(1) loop, unfortunately it br...
[1 reply] : May I know which Unix/Linux you are using and what interval you set fo... (by sohguanh)
Decimal Places in C
 
I know that to print the number 2.0000 to 2 decimal places I print% .2 f. But my question is: inp...
[8 replies] Last: I guess support for __int32 and __int64 are a hint. Point taken. (by kbw)
Makefile, g++
 
I have literally been up all night working on this darn code, and I finally got it running right, bu...
[1 reply] : This line here I'm getting this error when I call 'make': g++ -c -W... (by guestgulkan)
How to read this line blank? in C
 
This entry is my code imput: 1 10 6 But I do not know how to read this line blank? Th...
[1 reply] : scanf("%i\n%i %i\n", &data); (by chinalinux)
mock ftp server
 
I essentially have to write a mock ftp server which for all intensive purposes will be running in a ...
[4 replies] Last: You could go to sourceforge and search for ftp server. Nothing spring... (by kbw)
What‘s the corresponding library file for memcpy??
 
Hi all: I just what to know which file is the library for memcpy, is libc.2.*.so or what??A bunch o...
[1 reply] : libc on Unix, glibc on GNU/Linux (by kbw)
by prolog
Debugging files in deeper directories with gdb
 
Hi all, I'm working on a Roguelike game in cygwin using g++ and Code::Blocks, and have a directory ...
[1 reply] : I think the problem may be solved by the information here: http://www... (by prolog)
Serial Port Programing
 
Can any body help me who have experience on setting the serial port using Linux which include Ho...
[1 reply] : one previous link on this board: http://www.cplusplus.com/forum/beginn... (by Azagaros)
Is it possible to install a global new/delete function?
 
I am trying to use my own RAMPool to solve fragmentation issue, but there's a vendor library that I ...
[2 replies] Last: void* operator new(size_t size) throw(std::bad_alloc) { return o... (by writetonsharma)
how do i compile code and write code in ubuntu?
 
do i just do it in notepad and do it with the terminal and what are the terminal commands to compile...
[10 replies] Last: I still say go with Emacs and make :) (by ascii)
by MICK
Assignment
 
Hi I want to make a radio streamer, which basically do the following things, 1)establish connectio...
[2 replies] Last: Well I break it up..But I am naive in this field..I'm just in my bache... (by MICK)
by fbg00
g++: Undefined reference in very simple example
 
Please help with the following noob question about C++ and g++ compilation and linking. Essentially...
[2 replies] Last: I think the reason is that the compiler treats the function defined in... (by EricDu)
about \n, and compilation
 
#include<stdio.h> main() { float x, y, r = 0; char sinal; scanf("%f%f...
[2 replies] Last: Did you input from stdin or a re-directed file? They might give differ... (by EricDu)
Using CMake for a new library and namespace
 
Let me first apologize for all of the code, but I felt it was needed, anyone that helps will most li...
[no replies]
October 2011 Pages: 1234
  Archived months: [sep2011] [nov2011]

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