LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to program under Linux/Unix platform (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-program-under-linux-unix-platform-219666/)

Igor007 08-19-2004 09:28 AM

How to program under Linux/Unix platform
 
Hi
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:
igor_d007@excite.com


Igor

qwijibow 08-19-2004 12:04 PM

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.

btmiller 08-19-2004 12:48 PM

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 faqs.org too.

finegan 08-19-2004 02:18 PM

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.

http://www.linuxquestions.org/rules.php

Please refer further replies to:

http://www.linuxquestions.org/questi...hreadid=219671

Cheers,

Finegan


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