[Webinar] Streamline your web hosting managementRegister Today


Getting Started

Posted on 2000-02-12
Medium Priority
Last Modified: 2010-04-22
I am an experienced C/C++/Java programmer. I know ANSI C/C++ inside and out, and am very familiar with Win32 programming. I would like to learn Linux and X-Window programming (general stuff, not qt or another library just yet unless I have to). Are there any good online resources to teach me this? If not, how about books? Maybe I am looking in the wrong places, but I can't find anything. What about an online reference for Linux similar to the MSDN?
Question by:TheSnowman

Expert Comment

ID: 2521080
For X-Window programming, you might
want to look into TCL/TK.


TCL is a freely distributed scripting
language and TK is the toolkit for
building cross-platform GUI.

The ease and power of TCL/TK have
seen Perl, Python and even REBOL coming
out with ways to hook up TK for
Perl-TK implementation etc.

If TCL/TK do not interests you, you
might want to go over to http://www.gnome.org
The APIs or libraries for GNOME are
not tied to any vendor like KDE.

Take a look also at Linux.com which
acts as a portal for Linux related stuff

Hope this helps....

Expert Comment

ID: 2524666
If you _REALLY_ want to program X11 at the lowest level - visit www.ora.com and search for "Xlib Programming Manual". You will be given also links to reference and some related books.

SHort references about funcitions you could get by issueing command "man X11Function" but printed material sometimes provides litle more details.

But again - I know of no moderm user program what is written at this level. Unless you intend to do system level software - choose Qt, Gtk, Motif, OpenLook or any other higher level library. And only in case of 2 latest X11 knowledge will help you...

Accepted Solution

ramaswamys earned 200 total points
ID: 2530178
For general X-Windows programming Kenton Lee's site is a good starting point - http://www.rahul.net/kenton/xsites.html. The Linux Documentation Project has tons of HOWTOs - http://www.linuxdoc.org. The Linux Developer's Network ( www.linuxdev.net ) and the Linux Programmer's Bounce point ( http://www.ee.mu.oz.au/linux/programming/ ) are good resources. As for books, the O'Reilly books ( www.ora.com ) are the best in the business - they have comprehensive books on programming Xlib,Xt, Device Drivers etc. Personally I have found for system level programming "Linux Application Development" by Erik Troan & Michael Johnson to be an excellent book;it is published by Addison Wesley.


Author Comment

ID: 2540352
Thanks - those links really helped!

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
Suggested Courses

590 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question