Search:

Type: Posts; User: yaya

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    5,138

    Disable Alt Enter fullscreen?

    I'd like to know if it is possible to stop a window automatically resizing to fullscreen when the user presses Alt-Enter. Not that I want to disable it, rather, I want to handle it myself. Is there a...
  2. Replies
    2
    Views
    921

    Hmm... looks like I've gotta replan this then. ...

    Hmm... looks like I've gotta replan this then.

    Thanks for the help.
  3. Replies
    1
    Views
    3,679

    Perhaps these will help? Queue...

    Perhaps these will help?
    Queue
    Circular buffer
  4. Replies
    2
    Views
    921

    Templated Abstract Class...

    This is better explained in code. Suppose I have this:



    template < typename T >
    class Foo
    {
    public:
    T i;
    };
  5. Replies
    9
    Views
    15,424

    @kmdv: I specifically need the extra byte from...

    @kmdv: I specifically need the extra byte from the wchar_t.

    @Elysia: Jesus of Nazareth, my brain overheats just trying to understand that std::transform function. Pity it won't compile.

    I get...
  6. Replies
    9
    Views
    15,424

    Converting wstring bytes to string...

    I'm trying to get the bytes from a std::wstring and put them into a std::string. Unfortunately, I'm somewhat lacking when it comes to c-style string. I've made this code (and it works), but is there...
  7. Yes, I see your point. Thanks for your help.

    Yes, I see your point. Thanks for your help.
  8. Do you mean like this?: std::wstring Convert(...

    Do you mean like this?:

    std::wstring Convert( std::string )

    If so, I something like this right now, though it can get a bit messy when you start using it a fair bit. I was just looking into an...
  9. Overload conversion operator from outside class...

    I wan't to convert an std::string to a std::wstring. To make things easier, I want to overload the conversion operator to make it more simplified but I don't want to encapsulate in my own class....
  10. Replies
    8
    Views
    2,815

    That was the information I was looking for....

    That was the information I was looking for. Thanks.
  11. Replies
    8
    Views
    2,815

    Yeah, I understand that there are better ways to...

    Yeah, I understand that there are better ways to do this, but I just wanted a bare-bones example. I am assuming you want to go through all of the elements of the vector to do some sort of processing.
  12. Replies
    8
    Views
    2,815

    What is the purpose of iterators?

    This question has had me for a while: Why use iterators when you can access the elements directly. For example, suppose we want to fill an empty vector with a for loop. Why would we do it like this:...
  13. Replies
    8
    Views
    4,759

    Oh, they weren't in the same scope. I was just...

    Oh, they weren't in the same scope. I was just simplifying code. I guess I'll just keep searching. Thanks for the help.
  14. Replies
    8
    Views
    4,759

    There isn't really much to show... but: //...

    There isn't really much to show... but:


    // first time
    FILEIOASCII File( Filename, IO_READ );

    // second time
    FILEIOASCII File( Filename, IO_WRITE );
  15. Replies
    8
    Views
    4,759

    The code I gave you before was test code...

    The code I gave you before was test code (obviously) but here is the actuall code:


    FILEIOASCII::FILEIOASCII( std::string& Filename, __int8 OpenType, bool Append ) : OpenType( OpenType )
    {...
  16. Replies
    8
    Views
    4,759

    Crash on ofstream declaration...

    I'm making a sort of I/O wrapper for a larger project, but all of a sudden this crash has appeared. I have narrowed it down to this line:



    std::ofstream test;


    Not very elaborate, eh?
    ...
  17. Replies
    10
    Views
    1,884

    I used to work at a school as a computer...

    I used to work at a school as a computer technician. We always wanted teachers to take up using free software (eg: OpenOffice.org, GIMP, etc) but there were always a number of reasons why it didn't...
  18. Replies
    17
    Views
    2,606

    I'll second this. Great movies if you put all the...

    I'll second this. Great movies if you put all the blood behind you.
  19. Thread: confusion on goto

    by yaya
    Replies
    2
    Views
    2,171

    Firstly, and most importantly, don't use...

    Firstly, and most importantly, don't use goto's... ever. A while loop would do the same thing and look much neater, too.

    Secondly, you check the same thing over and over. ie you always check...
  20. Replies
    5
    Views
    1,799

    From personal experience (for what it's worth), I...

    From personal experience (for what it's worth), I found OpenGL to be a bit easier to kick start off with. But they eventually get just as hard as each other.
  21. Thread: Nintendo 3DS

    by yaya
    Replies
    30
    Views
    6,234

    I agree with Bubba on this one. But the fact is,...

    I agree with Bubba on this one. But the fact is, Nintendo are targeting casual gamers and ONLY casual gamers. Casual gamers only want to play on a system that sounds cool, regardless of whether it...
  22. Replies
    5
    Views
    1,517

    I haven't tested this, but I think this is one...

    I haven't tested this, but I think this is one way of doing it:



    std::string Text = "This is a reaaally annoying...";
    std::vector< std::string > Words;
    std::string Temp;
    ...
  23. Replies
    18
    Views
    1,776

    Ahh, I figured it out. I changed (or forgot to...

    Ahh, I figured it out. I changed (or forgot to change) the pointer at one point in the code. But now I'm confused as to why it DID work under debug mode. All well, at least it's working now. Thanks...
  24. Replies
    18
    Views
    1,776

    No, sorry, that small code a gave you doesn't...

    No, sorry, that small code a gave you doesn't produce the error (I just tested it), rather, it is sort of what it going on in my actual program. It just seems weird that it is pointing to the same...
  25. Replies
    18
    Views
    1,776

    The problem is, I've got 1000s of lines of code...

    The problem is, I've got 1000s of lines of code and this particular variable is used a number of times through out it (I doubt I could find them all).
Results 1 to 25 of 206
Page 1 of 9 1 2 3 4