Search:

Type: Posts; User: Helgso

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    13
    Views
    1,741

    Ok, I found the program here:...

    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?
  2. Replies
    13
    Views
    1,741

    Where could I see a tutorial that would help you...

    Where could I see a tutorial that would help you make such program?
  3. Replies
    13
    Views
    1,741

    A question regarding command prompt's look

    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()
    {
  4. Hehe I went over Visual C++ and I found it bit...

    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...
  5. Replies
    2
    Views
    1,078

    Precisely! THANKS!

    Precisely! THANKS!
  6. Where do I get a compiler for Code::Blocks that...

    Where do I get a compiler for Code::Blocks that supports wide streams?
  7. Replies
    2
    Views
    1,078

    A question about the Playsound() function

    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);
    }
  8. Yeah about that, Codeplug, when I try out your...

    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:'...
  9. But if I want to be making a portable exe that...

    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"?
  10. So how do I use Lucida console font? Will that...

    So how do I use Lucida console font? Will that get me to print &#254;? Sorry, I'm a noob.
  11. The problem is, when I use your code, ahh let me...

    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...
  12. If someone comes up with a solution on this...

    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...
  13. Yeah, I tried Visual Studio but it did the same...

    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...
  14. Yeah, you're right. -------- @ Elysa: Wait...

    Yeah, you're right.

    --------

    @ Elysa: Wait a second, are you telling me that the code you gave me to find the number for &#254; and print it out might be wrong code?
  15. Well, I'm trying out Visual C++ for the first...

    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 &#254; but not a box like in Code::Blocks compiled exe ...
  16. Allright, I'm installing Visual Studio. All I...

    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?
  17. How would I utilize Code::Blocks to do that?

    How would I utilize Code::Blocks to do that?
  18. Any clues what compiler? :D

    Any clues what compiler? :D
  19. If I do std::cout

    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"
  20. I'm running Code::Blocks and I just have those...

    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...
  21. If I do that, my compiler, Code::Blocks says:...

    If I do that, my compiler, Code::Blocks says: "converting to execution character set: Illegal byte sequence"

    Any other ideas?
  22. Letting C++ program show special characters such as æ, þ, ó

    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 <<...
  23. I got it now! All I had to do: #include...

    I got it now! All I had to do:


    #include <iostream>
    #include <string>
    #include <fstream>

    using namespace std;

    int main()
  24. Strangely enough, this still doesn't work. The...

    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...
  25. File input/output, using a string as a filename?

    My program:


    #include <iostream>
    #include <string>
    #include <fstream>

    using namespace std;

    int main()
Results 1 to 25 of 36
Page 1 of 2 1 2