Search:

Type: Posts; User: Zahl

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Does it make anyy difference if a function is "inline"

    Well, does it?
  2. Replies
    2
    Views
    22,900

    What size exactly is the constant BUFSIZ

    BUFSIZ is declared in stdio.h but I havn't been able to find out exactly how big it makes the buffer when I use it.

    I'm just curios. :)
  3. Replies
    7
    Views
    1,176

    As a last question (on this thread :D) why the i...

    As a last question (on this thread :D) why the i <= length? Wouldn't File.get(ch) not always end the loop when needed?
  4. Replies
    7
    Views
    1,176

    I've tested the following three while loops and...

    I've tested the following three while loops and it is only the one Salem have shown me that actually works without reading to few or to many characters.
    Why is that?
    Besides... I thought get()...
  5. Replies
    7
    Views
    1,176

    Yeah you might think so, but this code is made...

    Yeah you might think so, but this code is made with borlands AnsiString instead of string, and when you use AnsiString it starts with 1 instead of zero. ;) - Besides... I've checked.
  6. Replies
    0
    Views
    882

    What actually happens when we use strings

    String TTextFile::Load() const
    {
    String Text;

    ifstream File(itsPath.c_str());

    if (File.is_open())
    {
    while (File.good())
    {
  7. Replies
    7
    Views
    1,176

    Loading a file... but there is a small error

    The comments are in danish so you probably wont understand them, but since the code is fairly simple I don't think it will be a problem.

    The error is this:
    If you are to load a file that contains...
  8. Replies
    1
    Views
    1,001

    Can this observation be true?

    That WinXP like win98 and win95 accepts NULL-connections where win2000 don't?
    The funny thing is that logically should WinXP like win2000 not accept these NULL-connectrions.
  9. Thread: Win32 and MFC

    by Zahl
    Replies
    3
    Views
    1,107

    What do you mean by "MS Windows" how does that...

    What do you mean by "MS Windows" how does that differ from Windows?

    BTW do you give me that link be´cause MSDN and MFC is the same thing?
  10. Thread: Win32 and MFC

    by Zahl
    Replies
    3
    Views
    1,107

    Win32 and MFC

    Besides being a "wrapper" for win32 what does MFC do (Microsoft foundation classes).

    BTW is all API's that makes it possible to make windows applications based on win32?(SDL)
  11. Replies
    1
    Views
    950

    Is MSCV MFC and WIN32 related?

    I doesn't have any further to add...
  12. Replies
    23
    Views
    3,864

    Now look at this: 2/3 = 0.666...7 How come...

    Now look at this:
    2/3 = 0.666...7

    How come that it then produce 2 in the example.

    *EDIT* I just turned to my English-Danish book and found out what reaminder means. Sorry guys :rolleyes:
  13. Replies
    23
    Views
    3,864

    Well he shows how this work with: rand returns -...

    Well he shows how this work with:
    rand returns - 0,1,2,3,4,5,...

    rand%3 returns - 0,1,2,0,1,2,...

    But if you say 2/3 the remainder wont be 2 but 3...
  14. Replies
    23
    Views
    3,864

    How come that modulus have this effect?

    How come that modulus have this effect?
  15. Replies
    23
    Views
    3,864

    the word "seeds" seems strange to me. Plz help me...

    the word "seeds" seems strange to me. Plz help me out. (Denmark)

    Oh, and besides that... what is the point of modulus in all this?
  16. Replies
    5
    Views
    1,372

    what about endif then... it's always placed in my...

    what about endif then... it's always placed in my code automaticly by my compiler so I really don't know what it does.

    BTW can one use define to other things but values like including headers?
  17. Replies
    23
    Views
    3,864

    But I thought %

    But I thought % <- was a modulus... how does this have to do with a random number?

    Other then that... what is the difference betwem rand() and srand() along with what does this line do:...
  18. Replies
    5
    Views
    1,372

    Stumble upon #ifndef

    I've never used these before, but from time to time when reading other peoples code I stumble upon #ifndef and #pragma. What does these do. they got a be in familly with #define and #include right?
  19. Replies
    3
    Views
    1,499

    What's the difference betwem these two libaries

    #include <iostream.h>
    #include <stdio.h>
  20. Replies
    29
    Views
    7,337

    It was made in C instead of C++... that amaze me...

    It was made in C instead of C++... that amaze me man! :eek:
  21. Replies
    4
    Views
    944

    Union really isn't needed much anymore since...

    Union really isn't needed much anymore since todays computers can spare the memory you will waste when having an int and an double even if you only need the double in one situation.
  22. Replies
    3
    Views
    943

    So the only thing better about WIN32 is that it...

    So the only thing better about WIN32 is that it is perfect for windows apps.
  23. Replies
    5
    Views
    2,707

    Tutorials about regedit

    Is there any good tut's anyone would recomend about how the regedit works and how one use it.

    Further more... I've noticed that when people talk about regedit they say HKLM and stuff like that...
  24. Replies
    3
    Views
    943

    win32 before SDL ?

    Is it a good idea to start learning win32 before SDL or is it a waste of time since SDL has win32 "in it".

    I have already learnt both I would just like to know if I have completly wasted my time....
  25. Thread: Those darn API's

    by Zahl
    Replies
    6
    Views
    2,949

    Those darn API's

    I have finally found out what is the hardest part of C++ (or any coding language) is isn't the language or the methods and "tricks" but those darn API's.
    The problem is that since I havn't made the...
Results 1 to 25 of 160
Page 1 of 7 1 2 3 4