Quote:Original post by Ultimape
I believe windows api uses "wide characters" (wchar)... which is basically their own version of unicode.
Win32 uses UTF-16. A wide character is a datatype which is more than one byte and is meant to store a character.
Quote:Original post by Ultimape
I believe windows api uses "wide characters" (wchar)... which is basically their own version of unicode.
Quote:Original post by Spoonbender
One word. Don't. [wink]
There is really no magic in it. First, in Windows applications, the main function is replaced by WinMain for historical reasons. That should allow you to create a win32 application although without any windows or graphics.
......
But don't rush it. You won't lose anything by staying in the text-based world a while longer. The big sticking point is always how well you know programming, and that's the same whether or not you have a graphical component to your programs.
Quote:Original post by Gage64
I recommend that you stay away from the Win32 API as it will just give you a lot of headaches. If you want to use "real" graphics and program 2D games, I recommend that you take a look at SDL which is much easier to use than Win32.
Quote:Original post by paul23
Thanks for the advice: the problem is that I can't really think of much to program with only the command line (and files) output (cout,cin). Made a few small things already: like a sorting algorithm of data in files (only using arrays/made my custom bubble sort), some string modify functions (well character-array - modify functions) and a small guess-the-number game
Quote:Original post by george135
Is it a joke ?
SDL is for kids only, who don't know anything about programming .
With win32 api, you can do *everything*
"real graphics" has no sense at all. SDL is just a wrapper !
With GDI/GDI+ tou can do everything in 2D.
With DirectX, you can do everything in 3D.
Read the Petzold and MSDN.
Quote:Original post by jalexbrownNo, I'll agree with you. One thing, though:
I must be the only person here who's going to suggest learning Java. Java is great for making Win32 applications with real GUIs. The best part of Java is that it's platform-independant, so the exact same code will run in Windows, Linux, MacOS, Solaris, or any other OS with Java on it. Java's not all that difficult to learn if you've learned the basics of C++. Also, if you're going to create Win32 apps in Java, use Eclispe with the proper GUI Editor. It gives you a simple drag-and-drop interface for making GUIs. All you have to do is add listeners so you can interact with the objects.
Quote:Java is great for making Win32 applications with real GUIs.Then, by definition, they're not Win32 programs.
Quote:Original post by jalexbrown
The best part of Java is that it's platform-independant, so the exact same code will run in Windows, Linux, MacOS, Solaris, or any other OS with Java on it.
Quote:Original post by EasilyConfused.NET has many problems on other operating systems that Java does not (I vastly prefer .NET/Mono, to the point of working for Mono this summer, and I'll still admit that).Quote:Original post by jalexbrown
The best part of Java is that it's platform-independant, so the exact same code will run in Windows, Linux, MacOS, Solaris, or any other OS with Java on it.
Fair point, but so will the .NET languages eventually [smile].