Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Closed Thread
  Search this Thread
Old 08-19-2004, 10:28 AM   #1
Registered: Aug 2004
Posts: 76

Rep: Reputation: 15
How to program under Linux/Unix platform

I program for win32 using VC++ , including API functions MFC, ATL, DCOM,COM+ libraries.
My questions are:
What kind of levels are for Linux\Unix programming?
What is low level?(e.g. for Win32 API functions).
Do Linux\Unix platforms have API functions
What is POSIX? Can GUI be programed with POSIX
What kind of GUI be programed with POSIX 12?
What are system functions for Linux\Unix programming?What can be programmed with them???
What means X- Window GNOME KDE for Linux\Unix programming?
What kind of programming can be done with GTK, GTK+, Qt..? What library is most popular and effective?
What equivalents of win32 api functions and MFC and ATL are for Linux \Unix platforms??????????????????????????
What equivalents of DCOM and COM+ are for Linux \Unix platforms??????????????????????????
Is CORBA more popular than COM+ for Linux \Unix platforms?
Are available good implamentation of DCOM\COM+ for Linux\Unix platforms
What equivalents of Direct X and OpenGL are for Linux \Unix platforms????????????

What is difference between programming for Linux Red Hat and ASP and Mandrake and Free BSD and Solaris?????????????????????
So please give me the whole picture of Unix\Linux programming and libraries and tools available for it.

What are eqivalents of messages of win32 exist for Linux \Unix platforms?
Whate are signals in Linux \Unix platforms? How can the be used?????

Please explain for new man in Linux \Unix programming!!!!!!!!!!!!!!
I will be very grateful?
If you can please send me reoly on my E- mail:

Old 08-19-2004, 01:04 PM   #2
LQ Guru
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
for UNIX / LINUX...
1)well, there are all the standard API's (like that porvided by iostream fstream stdlib and all that)all the openGL API's are standard...
for programming graphically, you will use X api's and optionally QT libs (for programming KDE applications)

2)low level ? you mean API's... linux has API's too... its all very similar to windows untill you start getting graphcal. (oh, except windows.h is not available)

3) API's were around in UNIX while bill gates was still sucking his thumb ! ofcourse linux/unix has API's

4)POSIX is a standard for writting Multi-threaded programs.

5) lol.. dont know what u mean.

6) again, what do you mean system functions ?

7)X is the program which displays Hi-res Graphics onth the screen, in linux, everything graphical is diplsyed with X

GNOME and KDE are 2 different Desktop environments..... then run on top of X... the start menu, Pannel, background,,, window borders.... controll center... task-bar, icons are all part of the Desktop environment.... most poeple use KDe or GNOME library to write graphical programs rather than directly onto X.

8) GTK is the library used to write GNOME graphical applications, QT is used for KDE.
most poeple freffere KDE (qt). KDE is a better Desktop In my opinion.. also QT has a great IDE which resembles MS Visual Studio.

these libray are used to write windowed grphical programs with WIMP interfaces.. (windows icons menu's pointers)

9) i suppose the linux uquivenlents are things like QT.. or GTK2 (if u like gnome.. i hate it)

10) never used COM, dont know what u are asking.

11) same as 10

12) same as 11

13) Linux Uses OpenGL, with all the extensions. OpenGL is the fastest, but there are open source replacemnets like MESA-GL if you dont have an OpenGL graphics card.

in linux, you get best openGL performance with ATI or NVIDIA. cards.
Old 08-19-2004, 01:48 PM   #3
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Igor007, your questions are far too complicated to be answered in one forum post. I suggest you go to a bookstore and browse through some introductory Unix programming texts. I've heard good things about Beginning Linux Programming, 2nd Ed. by Matthew and Stones or Understanding Unix/Linux Programming: A Guide to Theory and Practice by Molay. I've never read either, but I've heard them recommended. I personally used Teach Yourself Linux Programming in 24 Hours by Gay, but it's a bit out of date (a relatively minor problems since APIs don't change that much) and you may want something different -- hunt around.

Remember, the Unix programming environment has been around much longer than Windows, and the API is open. POSIX was an attempt to standardize all the various Unix operating system services -- it's not just for threads (although the POSIX thread API is the standard for Unix threads programming)! You might want to read the FAQ about it. It's posted fairly regularly to USENET in comp.unix.programmer and you can probably find it on too.
Old 08-19-2004, 03:18 PM   #4
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

Please refer further replies to:



Closed Thread

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
How to program under Linux/Unix platform Igor007 AIX 3 08-20-2004 02:00 PM
How to program under Linux/Unix platform Igor007 Programming 2 08-19-2004 05:54 PM
How to program under Linux/Unix platform Igor007 Solaris / OpenSolaris 2 08-19-2004 03:17 PM
How to program under Linux/Unix platform Igor007 *BSD 1 08-19-2004 03:14 PM
Cross platform program on linux & XP karfei00 Linux - Software 2 05-14-2004 10:06 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:58 PM.

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