Search:

Type: Posts; User: yaya

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    4,377

    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
    779

    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,234

    Perhaps these will help? Queue...

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

    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
    13,860

    @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
    13,860

    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. I think what you're looking for are function...

    I think what you're looking for are function parameters.
  8. Yes, I see your point. Thanks for your help.

    Yes, I see your point. Thanks for your help.
  9. 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...
  10. 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....
  11. Replies
    8
    Views
    2,332

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

    That was the information I was looking for. Thanks.
  12. Replies
    8
    Views
    2,332

    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.
  13. Replies
    8
    Views
    2,332

    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:...
  14. Replies
    8
    Views
    3,901

    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.
  15. Replies
    8
    Views
    3,901

    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 );
  16. Replies
    8
    Views
    3,901

    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 )
    {...
  17. Replies
    8
    Views
    3,901

    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?
    ...
  18. Replies
    10
    Views
    1,314

    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...
  19. Replies
    17
    Views
    2,050

    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.
  20. Thread: confusion on goto

    by yaya
    Replies
    2
    Views
    1,953

    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...
  21. Replies
    5
    Views
    1,590

    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.
  22. Thread: Nintendo 3DS

    by yaya
    Replies
    30
    Views
    4,684

    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...
  23. Replies
    5
    Views
    1,315

    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;
    ...
  24. Replies
    18
    Views
    1,339

    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...
  25. Replies
    18
    Views
    1,339

    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...
Results 1 to 25 of 207
Page 1 of 9 1 2 3 4