 |
|
 |
|
|
 |
learning graphics in C/C++ |
 |
 |
|
|
01-28-04 06:36 AM
After I had finished my console programming course in C, I wanted to
learn to program graphics and using the mouse. I tried it with Visual
C++ 6 in 21 days(under Windows), but that course just seemed to explain
me how to you use a program which can "program for me". But I'm no
friend of click&play-programming, so I remembered that I don't know a
program which can "program for me" under UNIX. I hope that there really
is no program which can do such stuff, so, if I want to learn
programming under UNIX, I have to program everything line by line.
So my actual question is, whether anybody knows where to get a C or C++
course for UNIX where I really have to program every line on my own.
I hope you can help
Thanks in advance
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: learning graphics in C/C++ |
 |
 |
|
|
01-28-04 09:35 AM
Erik Paul wrote:quote:
> After I had finished my console programming course in C, I wanted to
> learn to program graphics and using the mouse. I tried it with Visual
> C++ 6 in 21 days(under Windows), but that course just seemed to explain
> me how to you use a program which can "program for me". But I'm no
> friend of click&play-programming, so I remembered that I don't know a
> program which can "program for me" under UNIX. I hope that there really
> is no program which can do such stuff, so, if I want to learn
> programming under UNIX, I have to program everything line by line.
> So my actual question is, whether anybody knows where to get a C or C++
> course for UNIX where I really have to program every line on my own.
>
> I hope you can help
> Thanks in advance
>
You are describing something that is difficult to accomplish. Most UNIX
systems have a window manager that has a protocol for granting access to
the frame buffer. Unless you want to write your own window manager
(which is a gigantic task) you will have to live with the established
protocol for dealing with the existing window manager. Even so, the job
of creating and managing an application that works with a window
manager is quite a task. Even something a simple as a pop-up text box
would require you to write volumes of code. But, this task is already
done in any of several windows packages (like X/Motif). This leaves
you free to develop your graphics application without having to program
every bit of the windows infrastructure as well.
--
Fletcher Glenn
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: learning graphics in C/C++ |
 |
 |
|
|
01-28-04 09:35 AM
Erik Paul wrote:
quote:
> After I had finished my console programming course in C, I wanted to
> learn to program graphics and using the mouse. I tried it with Visual
> C++ 6 in 21 days(under Windows), but that course just seemed to explain
> me how to you use a program which can "program for me". But I'm no
> friend of click&play-programming, so I remembered that I don't know a
> program which can "program for me" under UNIX. I hope that there really
> is no program which can do such stuff, so, if I want to learn
> programming under UNIX, I have to program everything line by line.
> So my actual question is, whether anybody knows where to get a C or C++
> course for UNIX where I really have to program every line on my own.
>
> I hope you can help
> Thanks in advance
You really have to separate C/C++ from the idea of graphics. The
languages themselves have no connection to keyboards, graphics,
screens, etc. There are OS and hardware specific libraries that
allow this kind of thing. Nanosoggy's Visual C++ has such a library.
Many unix systems use something called X-windows. There are
rather huge books and courses on all of the graphics systems.
If you want Unix, try searching for X-windows programming on
the web. You will find lots of stuff.
Speaking only for myself,
Joe Durusau
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: learning graphics in C/C++ |
 |
 |
|
|
01-28-04 12:37 PM
In article <4017cedc$0$17593$9b622d9e@news.freenet.de>, Erik Paul wrote:quote:
> After I had finished my console programming course in C, I wanted to
> learn to program graphics and using the mouse. I tried it with Visual
> C++ 6 in 21 days(under Windows), but that course just seemed to explain
> me how to you use a program which can "program for me". But I'm no
> friend of click&play-programming, so I remembered that I don't know a
> program which can "program for me" under UNIX. I hope that there really
> is no program which can do such stuff, so, if I want to learn
> programming under UNIX, I have to program everything line by line.
> So my actual question is, whether anybody knows where to get a C or C++
> course for UNIX where I really have to program every line on my own.
I'm not sure at what level you want to do graphics programming, but
take a look at http://www.gtk.org/ and read the GTK2 tutorial,
it might get you going.
[ Post a follow-up to this message ]
|
|
|
 |
|
 |
|
 |
|
|
 |
Re: learning graphics in C/C++ |
 |
 |
|
|
01-28-04 01:36 PM
Erik Paul wrote:quote:
> After I had finished my console programming course in C, I wanted to
> learn to program graphics and using the mouse. I tried it with Visual
> C++ 6 in 21 days(under Windows), but that course just seemed to explain
> me how to you use a program which can "program for me". But I'm no
> friend of click&play-programming, so I remembered that I don't know a
> program which can "program for me" under UNIX. I hope that there really
> is no program which can do such stuff, so, if I want to learn
> programming under UNIX, I have to program everything line by line.
> So my actual question is, whether anybody knows where to get a C or C++
> course for UNIX where I really have to program every line on my own.
>
> I hope you can help
> Thanks in advance
>
http://www.linuxjournal.com/article.php?sid=4879
[ Post a follow-up to this message ]
|
|
|
 |
|
|
|
|
Sponsored Links |
 |
 |
|
|
 |
All times are GMT. The time now is 05:42 PM. |
 |
|
|
 |
|
 |
|
|
 |
|
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
vB code is ON
Smilies are ON
[IMG] code is OFF
|
|
|
|
Medical and Health forum | Computer Games Reviews | Graphics design forum
|
 |
|
 |
|