Search:

Type: Posts; User: Yonatan

Page 1 of 13 1 2 3 4

Search: Search took 0.70 seconds.

  1. Thread: Hi

    by Yonatan
    Replies
    13
    Views
    708

    Hi

    :rolleyes:
  2. Thread: Post Race!

    by Yonatan
    Replies
    68,907
    Views
    18,133,877

    Moo.

    Moo.
  3. Replies
    1
    Views
    469

    Differential equations are da best!

    Differential equations are da best!
  4. Replies
    14
    Views
    721

    Simple trigonometry? :( www.google.com

    Simple trigonometry? :(
    www.google.com
  5. Thread: Using ||

    by Yonatan
    Replies
    12
    Views
    699

    Hehe, sure.. You can also do choice &= 3; in the...

    Hehe, sure.. You can also do choice &= 3; in the original question and then not worry about an invalid choice ;)
  6. Thread: fscanf woes

    by Yonatan
    Replies
    4
    Views
    828

    What's so plain about C?! :( Using a space in...

    What's so plain about C?! :(

    Using a space in the format string will make the scanning function skip several types of whitespace characters:

    fscanf(m_pFile, " %f", &fData[i])
  7. Hi, that's what I said? Win9x uses...

    Hi, that's what I said?

    Win9x uses winpopup.exe as a non-integrated program to do this, there is no standard API for it there.
  8. Replies
    5
    Views
    597

    Oh, I misread it, and thought he meant it is...

    Oh, I misread it, and thought he meant it is regrettable that Standard C++ has not been under Microsoft control, which is clearly not regrettable and quite relieving :o
  9. 1) It isn't DOS 2) I'm pretty sure it's...

    1) It isn't DOS
    2) I'm pretty sure it's NetMessageBufferSend (Win2K/WinXP only, of course) but not certain.
  10. Replies
    5
    Views
    597

    Looks like a bunch of crap to me.

    For some reason, I highly doubt that this will come complete and not very buggy.

    ***? Is he saying what I think he's saying?

    :) Good job. Too bad Microsoft has already driven everyone away from...
  11. Replies
    6
    Views
    580

    Play first, and keep trying to make the XOR of...

    Play first, and keep trying to make the XOR of the amounts of pearls of each row equal to 0, until you can easily make it so that the computer is left with 1-1-1.
    I start by removing all of the...
  12. Thread: Post Race!

    by Yonatan
    Replies
    68,907
    Views
    18,133,877

    Salubrious.

    Salubrious.
  13. Thread: Roots

    by Yonatan
    Replies
    16
    Views
    842

    Nice :)

    Nice :)
  14. Replies
    16
    Views
    1,786

    Use . not ,

    Use . not ,
  15. Thread: Post Race!

    by Yonatan
    Replies
    68,907
    Views
    18,133,877

    hehe No, I understood it

    hehe
    No, I understood it
  16. Replies
    12
    Views
    1,289

    www.realvnc.com Works on a LOT of operating...

    www.realvnc.com
    Works on a LOT of operating systems.

    Since you use only Windows you might want to check possibly better Windows-specific ones though.
  17. Thread: Post Race!

    by Yonatan
    Replies
    68,907
    Views
    18,133,877

    :o

    :o
  18. Thread: Roots

    by Yonatan
    Replies
    16
    Views
    842

    The assumption is that the 6 roots are positive....

    The assumption is that the 6 roots are positive. You found the coefficients assuming 4 of the 6 roots are positive. If one or both of the other two is/are negative, the coefficients you found are an...
  19. Replies
    16
    Views
    1,786

    The Sqr function, as I already said, uses the...

    The Sqr function, as I already said, uses the FPU. It's just a wrapper around the FPU instruction fsqrt.
    Here is the disassembly, commented by me:

    ; Taken from MSVBVM60.DLL

    ; Data at virtual...
  20. Thread: Roots

    by Yonatan
    Replies
    16
    Views
    842

    That's wrong though, it has 6 roots. 4 roots are...

    That's wrong though, it has 6 roots. 4 roots are positive, what about the other 2?
  21. Replies
    5
    Views
    803

    Oh, that. The AnimateWindow function may help...

    Oh, that.

    The AnimateWindow function may help you here. You do have to make your own window though.
  22. Replies
    48
    Views
    2,778

    :(

    :(
  23. Practically same thing #include ...

    Practically same thing

    #include <windows.h>

    typedef int (__stdcall *STATUSCALLBACK)(int uCalled, int uReturn, LPVOID wParam);

    int __stdcall test(STATUSCALLBACK f, LPVOID wParam)
    {
    return...
  24. Replies
    3
    Views
    575

    LOL ewwww

    LOL
    ewwww
  25. Thread: Post Race!

    by Yonatan
    Replies
    68,907
    Views
    18,133,877

    Hmm... Guess your girlfriend should get a new...

    Hmm... Guess your girlfriend should get a new sweater
  26. Replies
    48
    Views
    2,778

    Did you know that if you looked at the first 800...

    Did you know that if you looked at the first 800 digits of pi in binary, read them from front to back and vice versa, divided them to 8 columns and read them in zig zags, then the prime rows only...
  27. Replies
    17
    Views
    822

    In which you can also, of course,...

    In which you can also, of course, unconventionally cheat:

    func(*static_cast<large_struct*>(0)); // :rolleyes:
  28. Replies
    48
    Views
    2,778

    :D

    :D
  29. Thread: Post Race!

    by Yonatan
    Replies
    68,907
    Views
    18,133,877

    View Post

  30. Replies
    17
    Views
    822

    Or an advantage, depending on how you look at it....

    Or an advantage, depending on how you look at it.
    (If you look at it in a way that makes it seem like an advantage, you're looking at OOP.)
  31. Thread: Post Race!

    by Yonatan
    Replies
    68,907
    Views
    18,133,877

    Liar. :mad:

    Liar. :mad:
  32. Replies
    17
    Views
    1,808

    That depends on the file system. What about RAM...

    That depends on the file system.
    What about RAM drives?
  33. Replies
    48
    Views
    2,778

    lol You all now owe me $1

    lol
    You all now owe me $1
  34. Replies
    3
    Views
    575

    http://www.annoyances.org/exec/forum/winxp/r103516...

    http://www.annoyances.org/exec/forum/winxp/r1035169745
  35. Replies
    17
    Views
    822

    By the way, references are new to C++. In C you...

    By the way, references are new to C++.
    In C you have only pointers. In C++ you have both.
    For an example of how pointers are written, the above function G in C:
    void G(int *x)
    {
    printf("G:...
  36. Replies
    17
    Views
    822

    Passing by reference means a function can change...

    Passing by reference means a function can change the value of the variable. Here, it doesn't receive just a value, by an entire variable which it can write to.
    Try this:
    void F(int x)
    {
    cout <<...
  37. Replies
    5
    Views
    803

    Take a look at the Shell_NotifyIcon function. ...

    Take a look at the Shell_NotifyIcon function.

    This has probably been asked already on the API forum. Click here: :rolleyes:
  38. Replies
    1
    Views
    449

    Maybe in Win9x. I'm currently connected to the...

    Maybe in Win9x.

    I'm currently connected to the Internet via Windows 2000's equivalent of DUN.

    Unable to kill process tapisrv:
    Process does not exist.
    Unable to kill process rnaapp:
    Process...
  39. Unless working with COM, all VB Strings should be...

    Unless working with COM, all VB Strings should be translated to char* (LPSTR) in the DLL.
    Try:

    #include <windows.h>

    typedef int (__stdcall *STATUSCALLBACK)(int uCalled, int uReturn, LPSTR...
  40. Replies
    17
    Views
    1,808

    For one, you could surely avoid the 2 gotos in...

    For one, you could surely avoid the 2 gotos in your code by changing them to a set of whiles, ifs and breaks, possibly adding one or two boolean variables... (Change the goto to { x=true; break; } or...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width