UNIX/Linux Programming - September 2010

Serial I/O in two different threads
 
I need to read from my rs-232 port in one thread and write in my other thread. I am using fopen, fg...
[1 reply] : Here's a cool example of serial I/O using Boost Asio: http://boost.2... (by PanGalactic)
by GnG
C++ deployment
 
Hi, I did an application that uses some libs like boost-thread, boost-filesystem, now I'd like to...
[12 replies] Last: You'll go crazy with dependencies if you don't package up your softwar... (by PanGalactic)
search and save
 
Hey guys I need help with this assignment. So far I have the add function and the list function done...
[no replies]
by Kanj
Blank screen when using vgagl
 
I'm learning to use gcc to compile simple C and C++ programs with vga.h and vgagl.h. Programs using ...
[7 replies] Last: When you run an X-Windows session, X-Windows needs the address of your... (by kooth)
by GnG
boost x32 libraries
 
Hi, I'm trying to prepare a computer that compile my program in 32 and 64 bits. The c++ compiler ...
[4 replies] Last: Thanks. (by GnG)
by Renier
tiff page count
 
Hi Guys I would like to get a page count of tiff files in C++. Does anyone know of a function th...
[1 reply] : You might start by looking at Boost GIL (not sure it has TIFF support)... (by PanGalactic)
how to create online compiler..
 
i want to create a online c++ compiler for a website,which may work as online solution to traditiona...
[4 replies] Last: I wrote a syntax highlighter in Perl. It can even go as far as highli... (by moorecm)
root login program
 
Hey I'm fairly new to programming in c++, and I was wondering how I could make a program that logs ...
[8 replies] Last: You do not want to hard-code your root password into your source code... (by kfmfe04)
Array of classes - new MyClass[0];
 
When I do a new MyClass where val can also be 0 then what is the expected output. Can this throw an...
[9 replies] Last: Indeed. C programming used to be quite a dark art, verging on the occu... (by Galik)
by Mercfh
Command Line Interpreter
 
Yes this is a HW assignment, but no im not asking for a solution, but just a general "you should sta...
[1 reply] : Hi Mercfh, I think your pseudocode makes sense, so I looked at the ... (by kooth)
g++ warning: `visibility' attribute
 
Hello, I use g++ 3.4 as the compiler and I encountered some problem which I didn't see in msvc ...
[2 replies] Last: second what error exactly? third "including <dirent.h> must be va... (by vukki)
DB connection library and dynamic linking
 
I am working on a piece of code that connects to two different Sybase databases. One connection ...
[2 replies] Last: need to update the application which runs on a Solaris 8 machine to c... (by kbw)
by eriser
Longest length string accepted by cin/cout & istream objects
 
What is the longest length of a string accepted by istream objects, particularly cout and cin?
[1 reply] : Theoretically, infinite. In practice, it depends on how much memory y... (by firedraco)
how to resolve user-buffered I/O
 
hi all: i read a book which said that the class of i/o methods accompanied with c standard librar...
[1 reply] : These days, operating systems do a much better job of buffering I/O. ... (by PanGalactic)
by cshong
Makefile executing another makefile
 
Assume that I had created a makefile in directory "projectX". In directory "projectX", assume that t...
[4 replies] Last: In a top-level makefile, just use something like: $(MAKE) -C dir ... (by moorecm)
undefined reference to - error
 
My code seems to give a number of "undefined reference to" errors. Here's the code: main.cc #i...
[2 replies] Last: That worked, thanks. I used at least 3 different tutorials for temp... (by Zoefschildpad)
Where to start?
 
Hi, I'm making a game engine called "ORLY v2" (v1 was an SDL wrapper that required a dozen DLLs), an...
[9 replies] Last: +1 Albatross (by kfmfe04)
C++ programming questions plz halp!
 
Can anyone post the code to any of these? 2.1 Banner Write a program that outputs your unique...
[1 reply] : Sorry, but that's one service we don't provide here: completing homewo... (by Albatross)
Is there any difference between #include <> and #include "" in terms of linking?
 
Is there any difference between installing a package and using #include <lib.h> and manually downloa...
[4 replies] Last: Typically you use the <> for things like system header files or STL fi... (by kempofighter)
by Uni616
I have a problem fixing the error " No space left on device : Illegal seek
 
Hello, I'm trying to compile my professor's code but I get the error "No space left on device ./...
[1 reply] : This first line looks bogus: [code firstline=52] if ((Cid = shmg... (by PanGalactic)
September 2010 Pages: 12
  Archived months: [aug2010] [oct2010]

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