-
A stupid question
Hello.
I am really new at linux (6 days) and did not install everything on my computer, like a C++ compiler yet. So I could not try this. So please forgive me this question.
Does these function/classes work with Linux too?
#include <windows.h>
WndProc()
CreateWindowEx()
M.Donner
-
-
Thanks!:)
Can anybody tell me, where I can find a tutorial or hints, how to create a windows with Unix, with C++ and prepare it for OpenGL?
I have found many for Windows but none for Linux.
M. Donner
-
try this:
link
You can use KDevelop environment, if it is not installed, you can install the package from distributive disk, or search by google.
Or use command line 'c++'. See manuals for more details, I'm not very experienced in Linux Programming.
-
Linux is considered to be just a kernel. The kernel doesn't provide any direct GUI api.
There's another layer of abstraction - the X-server. Then another ones are GUI environments (KDE, Gnome, etc.). For programming GUI, U should usually use some toolkit: Gtk/Gtk+, Tcl/Tc, ... .
U can find a lot of information about specified toolkits via the Web.
About OpenGL too. A request like "Linux OpenGL programming" gives many links with google.com.
I'm not familiar with GUI programming. In addition, U can ask on linuxquestions.net to get more details about specified toolkits.
-
Go visit Nehe. He has versions of his OpenGL tutorials for just about any platform/language you can dream of. I'm sure you will find what you're after there.
-
-
You can also use X-Windows to work with GUI's on linux (I think this one is based on C) and the one that I think it's used more often is called QT (this one is based on C++).
I haven't seen many tutorials about Qt online but I know there are a few Qt communities.
But frankly, if you want to really get into it, I suggest you get a book because *** you will soon see, Linux is quite different. (that's not a bad thing! :P ).