Search:

Type: Posts; User: shiroaisu

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Oh wow that actually worked! Thanks a bunch. ...

    Oh wow that actually worked! Thanks a bunch.

    For future reference: where did you find that?
  2. There's no code to show, it's literally just a...

    There's no code to show, it's literally just a call to SDL_Init().

    I've redownloaded SDL and tried again with a 64 bit mingw this time and the same error occurs, except now its "In RaiseException...
  3. I can debug a simple console program no problem....

    I can debug a simple console program no problem.

    I tried to use SDL_Init() to initialize SDL components one at a time, and then I used breakpoints to try to figure out if there was a particular...
  4. Debugger crashes with "In RaiseException()"

    I'm not sure if this is the right place to ask this question, but I've been trying to debug an SDL program I'm working on, but for some reason the debugger quits right at the first call with the...
  5. Try this: 7.6 — Function overloading « Learn...

    Try this: 7.6 — Function overloading « Learn C++
  6. Heres my 2 cents: I used to think it was...

    Heres my 2 cents:

    I used to think it was bretty cool to just go and do some experimentations, but with the dangers of undefined, and implementation specific functionality, this is very much...
  7. The huge block-comment is a perfect example of...

    The huge block-comment is a perfect example of how to use comments. That one in particular is perhaps a bit too verbose, and it is of course aimed at the whole program and not just a single class. It...
  8. Replies
    3
    Views
    1,018

    Ok, in your first example you are trying to print...

    Ok, in your first example you are trying to print a string but giving printf a pointer to a short? You are giving %s as an argument to printf. Besides that, you see the same value because you are...
  9. Replies
    2
    Views
    1,103

    Yes, and what seems to be the officer problem? ...

    Yes, and what seems to be the officer problem?

    Also, I am portuguese and I highly recomend not writing code in portuguese if at all possible. Besides, I don't believe many people will be able to...
  10. Did you even read the output? I feel you took no...

    Did you even read the output? I feel you took no effort to at least try to find the problem online. "Undefined references" are a common error.

    Also, for my amusement, here's a list of redundant...
  11. DEF is used to be simpler, and it adds the suffix...

    DEF is used to be simpler, and it adds the suffix implicitly.
    DEFF is used to do expand the arguments, since arguments will not be expanded when they are concatenated.
    DEFFF does concatenation.
    ...
  12. At first that was the main objective, and I have...

    At first that was the main objective, and I have thought about that, but I don't think it is that bad. It's a bit messy on the definitions and declarations, but usage is pretty smooth (as in, it's...
  13. Well, I had never seen the problem solved like...

    Well, I had never seen the problem solved like this. I guess it's a solid way to go then?
  14. Typesafe, non pointer based, generic functionality / types

    I want to know your oppinion on this method I though about of defining type generic names. The idea is simply using the preprocessor to generate the names for you. Here's a quick example:
    ...
  15. Replies
    16
    Views
    4,014

    Disregard my stupid statement wich I can't seem...

    Disregard my stupid statement wich I can't seem to edit. I have one question though: how much did the standards on padding and pointers changed over the years? Will "the C language" still be a good...
  16. Replies
    16
    Views
    4,014

    But doesn't malloc automatically align memory...

    But doesn't malloc automatically align memory blocks using the bigger type so that isn't a problem?
  17. lmgtfy (http://lmgtfy.com/?q=C+file+tutorial&l=1)...

    lmgtfy
    More where that came from.

    I sugest you don't stop at tutorials when learning some functionality. Search for the manuals and actually learn how things work.
  18. Yeah, that's what I meant, thank you. I use...

    Yeah, that's what I meant, thank you. I use "transformed" very loosely: input A originates output B. Sorry if that was confusing.
  19. Problem is when we start to use structures. In...

    Problem is when we start to use structures. In that case there are no options but to include the whole structure name in the identifier.
  20. That doesn't seem right. PHP is not a compiled...

    That doesn't seem right. PHP is not a compiled language, it's an interpreter. The interpreter might be built in C, but PHP code is transformed into HTML. Maybe there are diferent implementations, but...
  21. Replies
    16
    Views
    4,014

    I assume that since the void * doesn't enforce...

    I assume that since the void * doesn't enforce type, it might be hard to keep track of errors where you accidentaly pass a void pointer pointing to the wrong type of data.

    For instance:

    ...
  22. Replies
    11
    Views
    3,809

    The linker search path is where the linker...

    The linker search path is where the linker searches for libraries you try to link with your program. If you do not include it the linker will not find the library specified and you will get a linker...
  23. Replies
    11
    Views
    3,809

    You probably need to find the folder where the...

    You probably need to find the folder where the library was installed and add the include/ directory as a compiler search path, and the lib/ directory as a linker search path. I've not used visual...
  24. Don't worry, I'll be careful... MOM...

    Don't worry, I'll be careful... MOM...
  25. Replies
    11
    Views
    3,809

    You can just download the .msi installer and...

    You can just download the .msi installer and select advanced, as stated in the website, to install the dev libraries you need.
Results 1 to 25 of 119
Page 1 of 5 1 2 3 4