User forums > Help
I need Unicode!
David Perfors:
To get those Unicode chars working, you have to use wchar_t instead of char or std::wstring instead of std::string. There are a lot functions where you should use the w (==wide) variant. (I guess that is the problem and not the version of C::B)
When you are using Windows apps, you need to define UNICODE (or something like that) For more information you could better use CodeProject as guide. (and since when students don't have time to read?? :P I am a student to, but I have plenty of time :))
thomas:
--- Quote from: BennM on December 08, 2006, 06:12:00 pm ---I'm a student, so I haven't enough time to read the whole wiki-article.
--- End quote ---
You have to be joking... if students don't have time, then who has...?
Besides, there is nothing you need to do for IDE and compiler to use Unicode. The compiler uses UTF-8 as default encoding, and the nightly builds are Unicode by default, too.
Pecan:
--- Quote from: BennM on December 08, 2006, 06:12:00 pm ---I've installed the latest version of the nighty builds!
I'm a student, so I haven't enough time to read the whole wiki-article. Could you please tell me how to setup my compiler to interprete ascii or unicode?
--- End quote ---
Students should read and do their own homework.
Wish I had Wiki's and Google when I was a student.
We had to haul around books back then, with much less information..
Had to spend hours waiting in line to get to the library catalog drawers. And if it wasn't indexed, more hours in the stacks searching, turning pages, failing, searching some more. Yuck. Thank god the world has changed.
BennM:
Codeblocks is "only" a tool for me to do my work - if I had to read a lot of pages for every tool I need, I wouldn't be able to do all my exercises. I study Mechatronik (Mechanical engineering, electro-technology and computer science ) - it's very heavy. A software has to run after installing - no one who needs a tool likes to configure it in many hours, just to compile a few programs! I like this Code:blocks project and the idea of open-source, but it's not very easy to get a working program in short time!
David Perfors:
It is easy to get a program working when you read the instructions in the wiki ;) But I agree, a program should work out of the box, or with a minimal amount of configuration
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version