Ok, I found the program here: ftp://ftp.gtk.org/pub/gtk/2.14/
But what can't figure out is how to install it. Help?
Type: Posts; User: Helgso
Ok, I found the program here: ftp://ftp.gtk.org/pub/gtk/2.14/
But what can't figure out is how to install it. Help?
Where could I see a tutorial that would help you make such program?
I know already that you can change cmd's background and font color by doing:
#include <iostream>
#include <windows.h>
using namespace std;
int main()
{
Hehe I went over Visual C++ and I found it bit confusing, maybe I should just start using it? The problem is how much disk space it takes, 1.8GB while Code::Blocks takes 120MB.
Do you know of a...
Precisely! THANKS!
Where do I get a compiler for Code::Blocks that supports wide streams?
I got my sound to play with this code:
#include <windows.h>
#include <mmsystem.h>
int main()
{
PlaySound(TEXT("song.wav"), NULL, SND_ALIAS | SND_APPLICATION);
}
Yeah about that, Codeplug, when I try out your code my compiler Code::Blocks says:
"|13|error: expected class-name before '{' token|" So it seems to have problems after you state first 'public:'...
But if I want to be making a portable exe that shows þ in windows xp, wouldn't I need a command to put in the program to change the font, only on that exe, that would f.x. trigger "just this time"?
So how do I use Lucida console font? Will that get me to print þ? Sorry, I'm a noob.
The problem is, when I use your code, ahh let me just show you it on a screenshot so you'll understand me ... : http://www.tv.is/vefir/helgi/images/Annad/C_forritunarhjalp/strange.JPG
So, that box...
If someone comes up with a solution on this matter, please share with us. Especially you Elysa, since you've done it before. As you know, most recent videogames have support for those characters and...
Yeah, I tried Visual Studio but it did the same as Code::blocks,
returned 254 when = "cout << (wchar_t)254;"
returned "a box" when = "cout << (char)254;"
The "box" is like a...
Yeah, you're right.
--------
@ Elysa: Wait a second, are you telling me that the code you gave me to find the number for þ and print it out might be wrong code?
Well, I'm trying out Visual C++ for the first time and let's see if it works! Hopefully when compiled with Visual, it will return a þ but not a box like in Code::Blocks compiled exe ...
Allright, I'm installing Visual Studio. All I have to do is to copy+paste my program into that compiler, let it compile and I'm good?
How would I utilize Code::Blocks to do that?
Any clues what compiler? :D
If I do std::cout << static_cast<wchar> (254), it says that "wchar" was not declared
Also, std::cout << (wchar_t)254 just gives me "254"
I'm running Code::Blocks and I just have those lines of code which I told you first about.
I think this has something to do with the font the cmd is using, I tried letting it print with the number...
If I do that, my compiler, Code::Blocks says: "converting to execution character set: Illegal byte sequence"
Any other ideas?
Hey guys, I want my program being able to print out special characters such as þ, ó, æ, í, á ... and so on. I know I can do this by:
#include <iostream>
int main()
{
std::cout <<...
I got it now! All I had to do:
#include <iostream>
#include <string>
#include <fstream>
using namespace std;
int main()
Strangely enough, this still doesn't work. The program compiles and runs without errors, but after running, "Goblox.txt" still doesn't get created in "C:\Program Files\Machinery\" ...
I tried...
My program:
#include <iostream>
#include <string>
#include <fstream>
using namespace std;
int main()