Solved

Book for X Programming

Posted on 1998-02-16
6
204 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

758 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

22 Experts available now in Live!

Get 1:1 Help Now