LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-31-2004, 11:42 PM   #1
kuphryn
LQ Newbie
 
Registered: Mar 2004
Posts: 13

Rep: Reputation: 0
UNIX (Linux, BSD, etc) Programming :: UNIX


Hello.

I am a Win32 platform C++ programmer. One of my interest now is programming in the UNIX platform. I have several questions.

First off, I am not interested in scripting, per se, but rather real-world software design and implementation.

In UNIX, what tools including libraries, IDE, and compilers, are used when developing client/server application running both as a service and GUI?

What books do you recommend for developing client/server applications in UNIX using C++ that go over subjects such as multithreading, sychronization, multiple processes, services, and GUI?

Thanks,

Kuphryn
 
Old 04-01-2004, 01:27 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
There are two books that you might want to look at.
The Art of UNIX programming by Eric S. Raymond.
Advanced Programming in th UNIX Environment by W. Richard Stevens.

There is a book you can download - Advanced Linux Programming. You can find it
on the O'Reilly website.

Open source c++ software is written using g++. Intel also sells a compiler and libraries.
There is Kdevelop and a QT3 IDE that's included with any linux system.

Services are started by scripts in the /etc/rc.d/init.d directory. Those are shell scripts that start|stop|restart the actual services (daemons).

Good Luck. I'm sure others on this site can give you even better pointers.
 
Old 04-01-2004, 07:23 AM   #3
Marius2
Member
 
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 276

Rep: Reputation: 31
>In UNIX, what tools including libraries, IDE, and compilers, are used when >developing client/server application running both as a service and GUI?
KDevelop is an IDE similar to MSVC, even with intellisense. But if you
want to be portable to other *NIX than Linux/KDE brand, stay with
gcc and make. (To glue together a project with make, you need a makefile. There are samples on the net, even configuration scripts like configure to setup a project automatically in a given *NIX environment.). Concerning GUI, you may want to take a look at GTK libs; they are easy to program
(http://www.gtk.org/tutorial/).
For multimedia stuff, use SDL libs - similar to DirectDraw/Sound/Input (yet easier). Even provides OpenGL interface.
For multithreading, search google for POSIX threads.
Network programming: Linux uses Berkeley sockets, just like under win32
(with minor differences).
Note: If you want to have your GUI project compilable under both and win, take a look at Trolltechs' QT and/or wxWindows.


>What books do you recommend for developing client/server applications >in UNIX using C++ that go over subjects such as multithreading, >sychronization, multiple processes, services, and GUI?
You'll find almost anything on the net. Otherwise, O'Reilly has some good books.
 
Old 04-01-2004, 09:02 AM   #4
kuphryn
LQ Newbie
 
Registered: Mar 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Okay. Thanks.

Kuphryn
 
Old 04-01-2004, 09:04 AM   #5
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
Anjuta is a great environment to help with Makefiles and uses gcc. It integrates with tools that allow you to 'drag n drop' to create GUI interfaces using the GTK and provides a good IDE. Eclipse is a good Java IDE if you're looking to get into that.
 
Old 04-01-2004, 09:41 AM   #6
kooch
Member
 
Registered: Mar 2004
Location: Upstate NY
Distribution: Slackware/YDL
Posts: 77

Rep: Reputation: 15
Unix Network Programming by W. Richard Stevens is good as well. However I think all of his books are in _C_ not _C++_.(the ones mentioned so far in this thread are in C)
 
Old 04-04-2004, 11:27 AM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Here is a link to a website that has released one of their books (Advanced Linux Programming). You can download the PDF files and sample source code. It has a chapter on threads in linux.

http://www.codesourcery.com/
 
Old 04-04-2004, 03:49 PM   #8
kuphryn
LQ Newbie
 
Registered: Mar 2004
Posts: 13

Original Poster
Rep: Reputation: 0
I read some reviews on Advanced UNIX Programming by Richard Stevens. That book seems interesting.

Kuphryn
 
Old 04-04-2004, 11:50 PM   #9
skoona
Member
 
Registered: Mar 2004
Location: Indiana, USA
Distribution: Fedora, CentOS, Ubuntu, OS/X, Raspbian
Posts: 90

Rep: Reputation: 18
IDE, Editor, and RPM Tools

eclipse from the http://www.eclipse.org/ site is a fairly comprehensive C/C++/Cobol and Java IDE toolset. Redhat even has a "Redhat Developer Suite" that includes a RPM creation wizard. All of which are very useable for most projects.

It's is worth a long look

Last edited by skoona; 04-04-2004 at 11:53 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
If Linux & BSD are free, why would a company pay for Unix? halfpower General 9 11-25-2005 11:35 AM
Linux, Unix *BSD. What's the difference? dlublink General 3 02-09-2005 04:58 PM
Unix Book for Beginners (Not Linux... Unix) suse2166 General 6 11-25-2004 11:46 AM
what is unix or linux internals programming? cybercop12us Programming 3 05-01-2002 07:32 AM
Linux, Unix, BSD ToeShot Linux - Distributions 16 02-01-2002 01:24 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration