Solved

Book for X Programming

Posted on 1998-02-16
6
205 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
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.

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now