 |
 |
x11 + (c++) + mac os x
|
 |
|
 |
|
Mac Elite
Join Date: Jun 2003
Location: Alabama
Status:
Offline
|
|
i was wondering if any of you have any good resources to building c++ applications using the x11 ide's. can't seem to find any help with building applications all help seems to be on just using it to run unix apps. thx in advance.
mafia
|
|
|
| |
|
|
|
 |
|
 |
|
Registered User
Join Date: Oct 2003
Status:
Offline
|
|
i was wondering if any of you have any good resources to building c++ applications using the x11 ide's.
X11 IDE's? Integrated development environments that run on X?
Perhaps you mean, the X11 API's. It's quite arduous to program directly
using xlib. That's why not many folks do it, and why there's not many
books on the subject. Try the XFree86 website for links. Though, xlib
(and the slightly higher-level x-intrinsics (Xt?) library) is a C API, not
C++.
Most GUI toolkits (like GTK+ and QT) are written to wrap the xlib calls in
higher-level functions or classes to make the application-programmer's life
easier.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jun 2003
Location: Alabama
Status:
Offline
|
|
hey thx for reply i meant api, but just couldn't think of it and just typed ide... i'll check oout the site.
mafia
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
Not to mention you shouldn't be using X11 if you want a true OS X experience 
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jun 2003
Location: Alabama
Status:
Offline
|
|
tru but i satill haven't gotteen the hang of cocoa yet.
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Apr 2001
Location: Long Beach, CA
Status:
Offline
|
|
Originally posted by Mafia:
tru but i satill haven't gotteen the hang of cocoa yet.
So you are going to learn to program for X11 instead? That's silly. Trust me. I've done both Qt and Cocoa. Cocoa is better and makes more sense.
As per Cocoa: do you know what the model/view/controller paradigm is? (start there)
and Qt: it's not C++, but it's like C++.
|

ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jun 2003
Location: Alabama
Status:
Offline
|
|
its not that i was going to learn something all new i know c and c++ i read that u could program gui's with c and c++ in x11 so i asked an opinion before i tried it.
mafia
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Sep 2000
Location: Texas
Status:
Offline
|
|
GUI's in cocoa are very easy. Also, you can use your existing c and c++ in cocoa as well. Trust me, very easy!
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
Originally posted by Mafia:
its not that i was going to learn something all new i know c and c++ i read that u could program gui's with c and c++ in x11 so i asked an opinion before i tried it.
You can write a fully OS X compliant GUI with nothing but C API calls. It's called Carbon. Or you could spend, what, a few hours reading Apple's Obj-C PDF to understand the language (it's really that easy) and then run off and start doing Cocoa apps.
X11 is not the way to go.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|