ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Removed Areas > C / C++

Exploring C++

<< < (2/3) > >>

Gothi[c]:
As for cool C++ graphics and winamp visualisations, get comfortable with C++ and you IDE first...
-f0dder (November 26, 2007, 05:53 AM)
--- End quote ---

Golden advice.
However, once you're comfortable enough with C++, your IDE, and not to forget your debugger, you could use a few methods to achieve those effects.
1) using DirectX (DirectDraw and/or Direct3D)  (windows only)
2) using SDL (cross platform library for 2d graphics or 3d graphics through an opengl cross-platform wrapper)
3) using pure OpenGL (cross platform) good tutorials here(see tutorials menu on the left).
4) for the actual sound response you can use DirectSound (windows only), Audiere (cross platform), SDL(cross-platform) again (see here), or IRRKlang(also cross platform). (there's others too of course, if you google long enough ;))

f0dder:
Notice that OpenGL isn't 100% cross-platform - you need some per-platform init code, and to do anything interesting you need extensions, which also requires a bit of platform specific code to use.

arunpawar:
Thanks for the advice. :D
What is STL? And how it is going to help C++ programmer like me?
Also Where can i see the usage of functions mentioned in header files?For example ctime.h  has time related structure or function where to look for usage?

f0dder:
STL = Standard Template Library = "libc++"... basically things in the std:: namespace, like vectors and strings.

SDL = Simple Directmedia Layer, graphics (and more) library.

Gothi[c]:
Notice that OpenGL isn't 100% cross-platform - you need some per-platform init code, and to do anything interesting you need extensions, which also requires a bit of platform specific code to use.
-f0dder (November 26, 2007, 05:19 PM)
--- End quote ---

Unless you use it through SDL like I mentioned, which seems to be the easiest way to get (complete) cross-platform openGL applications to compile without editing anything on about any platform

(SDL supports:
"Linux, Windows, BeOS, MacOS, MacOS X, FreeBSD, OpenBSD, BSD/OS, Solaris, IRIX, and QNX.
The code contains support for Windows CE, AmigaOS, Dreamcast, Atari, NetBSD, AIX, OSF/Tru64, RISC OS, and SymbianOS, but these are not yet officially supported. ")

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version