Unix Programming - C++ POSIX implementation?

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > February 2006 > C++ POSIX implementation?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author C++ POSIX implementation?
darkspleen@gmail.com

2006-01-29, 9:32 pm

Hello:

Does anyone know of if a C++ wrapper to the POSIX API exists?
I'm looking for something like MFC, a Microsoft library that wraps
portions of the Windows API in C++ classes, except for Unix.

Thanks in advance.

Ian Collins

2006-01-29, 9:32 pm

darkspleen@gmail.com wrote:
> Hello:
>

Please coss-post rather than posting to multiple groups, so replies show
up in each group.

--
Ian Collins.
Thomas Maier-Komor

2006-01-29, 9:32 pm

darkspleen@gmail.com wrote:
> Hello:
>
> Does anyone know of if a C++ wrapper to the POSIX API exists?
> I'm looking for something like MFC, a Microsoft library that wraps
> portions of the Windows API in C++ classes, except for Unix.
>
> Thanks in advance.
>


there are several libraries wrapping the POSIX API in C++ classes. But
no single library covers everything. What part of the POSIX API are you
interested in? File I/O, threads, IPC, ...?

First libs that come to my mind, which you might want to look at are Qt
from trolltech (trolltech.com) and boost (boost.org).

HTH,
Tom
Maxim Yegorushkin

2006-01-29, 9:32 pm


darkspleen@gmail.com wrote:
> Hello:
>
> Does anyone know of if a C++ wrapper to the POSIX API exists?
> I'm looking for something like MFC, a Microsoft library that wraps
> portions of the Windows API in C++ classes, except for Unix.


What's wrong with plain C api?

Markus Elfring

2006-02-03, 7:49 am

> What's wrong with plain C api?

You can not benefit in procedural programming languages from the automatic cleanup by the
RAII pattern.
http://en.wikipedia.org/wiki/Resour..._Initialization

Would you like to increase security in your application?

Regards,
Markus


Markus Elfring

2006-02-04, 7:48 am

> Does anyone know of if a C++ wrapper to the POSIX API exists?
> I'm looking for something like MFC, a Microsoft library that wraps
> portions of the Windows API in C++ classes, except for Unix.


Does the approach "Template Software for the UNIX Operating System" fit to your needs?
http://synesis.com.au/software/unixstl/
http://stlsoft.org/

Regards,
Markus


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com