Solved

Book for X Programming

Posted on 1998-02-16
6
208 Views
Last Modified: 2010-04-10
I am interested in learning X Programming and I have background in C++ and assembly. Can someone recommend me a good book that is suitable for beginner?

Thanks.
0
Comment
Question by:bubblebobble
  • 2
  • 2
  • 2
6 Comments
 
LVL 1

Expert Comment

by:andla
ID: 1182388
What is X-programming?
0
 
LVL 32

Accepted Solution

by:
jhance earned 0 total points
ID: 1182389
I'd suggest "Xlib Programming Manual" (the "1" book in the series) from O'Reilley & Assoc.  It's a good starting point.  If you're making a trip to the bookstore, you might as well get the "2" boot as well, "Xlib Reference Manual".  You'll need it soon enough.
0
 

Author Comment

by:bubblebobble
ID: 1182390
andla, the simplest answer is that it may look like microsoft with their MFC. However, this is for X window application in UNIX environment. I am not sure if my answer is correct, I am only a beginner. Maybe jhance can give us a better explanation. Will you, jhance?




0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 32

Expert Comment

by:jhance
ID: 1182391
X is a windowing system developed at MIT to address the problem of differing graphics programming libraries on different unix workstations.  It's not really akin to either the Win32 API or MFC as both of these include a great amount of operating stuff as well as graphics.  X addresses only the graphics and windowing and leaves the operating system stuff to unix, which was fairly portable in that area already.  Theoretically, you should be able to take well written X-Window programs and port them to any computer that support the X library.  In practice it's harder than that but it's been done for a number of years now.

The other nice thing about X is that it's network based.  This is a concept that is just now coming to Windows with the "new" Microsoft Hydra (now called WTS) technology or the Citrix WinFrame product.  X allows you to run you application on one computer (often remote) and display it at your desk.  This is very powerful when the remote system is a high-end server.  You get an interactive window into the server but don't have to be physically present.

All in all, it's pretty slick.  There are a couple of drawbacks.  First, it's bulky.  It takes significant CPU and memory resources just to start up.  These days it's not so bad with even the low-end unix workstations coming setup with 128MB RAM and 200MHz processors.  Second, it's a bear to program in X.  It's just plain complicated.  You might want to consider using one of the higher level application layers like MOTIF after you become familiar with the basics.
0
 

Author Comment

by:bubblebobble
ID: 1182392
You are great!
0
 
LVL 1

Expert Comment

by:andla
ID: 1182393
Thank you jhance and bubblebobble. : )
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
computer science syllabus 3 100
max float value 3 59
print bytes of an integer 6 21
why doesn't assert terminate here? 2 8
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

685 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