Solved

Book for X Programming

Posted on 1998-02-16
6
210 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: 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

Independent Software Vendors: 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!

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…
Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

734 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