Search:

Type: Posts; User: algorism

Page 1 of 20 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    21
    Views
    2,436

    Whatever "dude". You were burned out the moment...

    Whatever "dude". You were burned out the moment you arrived. Your code is always childish and overly-complicated.

    I notice that you aren't bothering to help the guy that you gave the bad advice...
  2. Replies
    21
    Views
    2,436

    You're a braindead idiot. I don't want to get...

    You're a braindead idiot.
    I don't want to get involved in this thread because the OP doesn't seem to be able to do anything for himself. That's all. Go ahead and continue to hold his hand, moron.
  3. Replies
    27
    Views
    2,693

    I don't know anything about administrator...

    I don't know anything about administrator privileges for windows.

    What does the following code print? If you can get it running, it should show the minimum and maximum available resolutions for...
  4. Replies
    27
    Views
    2,693

    Just a cleanup of your code. Since I don't use...

    Just a cleanup of your code. Since I don't use Windows, I didn't run it (or even compile it).


    #include <windows.h>

    #define MAIN_SLEEP_DIF 5400
    #define SHORT_SLEEP 600
    #define...
  5. Replies
    9
    Views
    1,221

    I'm sorry for getting peeved. I couldn't...

    I'm sorry for getting peeved. I couldn't comprehend what your program was trying to do. It was obviously putting the digits together in every possible way and comparing them to ascii codes for the...
  6. Replies
    21
    Views
    2,436

    It's exactly 8 chars too long, and interestingly...

    It's exactly 8 chars too long, and interestingly the last 8 chars (including the nul) are .0000000, which would be written into the next array element (assuming he's made the element 20 chars long)....
  7. Replies
    9
    Views
    1,221

    You didn't fix the "malloc problems" since you...

    You didn't fix the "malloc problems" since you didn't test the return value to see if it's non-NULL. That's obviously the most important thing. The other changes don't really change anything at all...
  8. Replies
    9
    Views
    1,221

    You mean 10 to the 10 (not 100), i.e., what most...

    You mean 10 to the 10 (not 100), i.e., what most humanoids call "ten billion". Since you are mallocing two arrays of this size, I assume your machine has at least 20 gigabytes of memory. Lucky you!...
  9. Why is i a pointer? It should just be an integer....

    Why is i a pointer? It should just be an integer.

    Why are you treating an enum as an array? An enum is not an array. An enum just provides a bunch of named constants. That's all.

    All you need...
  10. Look, moron, I got the last word!

    Look, moron, I got the last word!
  11. I disagree with your pointless personal opinion...

    I disagree with your pointless personal opinion about the ordering of functions. And, no, it's not "wide-held".
    I never said anything about a delete node function.
  12. Replies
    2
    Views
    511

    You can't nest typedefs. You need to do it in two...

    You can't nest typedefs. You need to do it in two steps.
    And s is not an object anyway. It's just a type.


    union header; // forward reference

    typedef struct S {
    unsigned int size;
    ...
  13. Firstly, just ignore Hodor's "advice". It's just...

    Firstly, just ignore Hodor's "advice". It's just an opinion, and I totally disagree with it.

    I was going to point out numerous errors in your code, but since you don't have time to edit it I will...
  14. Obviously the X11 headers aren't needed in this...

    Obviously the X11 headers aren't needed in this example.
    gcc warns me that:
    * The printf's on lines 196 and 207 are missing their char* arguments.
    * color is unused.

    Nothing to do with your...
  15. Of course you can. What's the problem? Your...

    Of course you can. What's the problem?

    Your "pseudocode" is useless, however. E.g., it's missing needed break statements.

    If you need help, we need to see some real code.
    If the program is...
  16. I was totally mistaken about the return value of...

    I was totally mistaken about the return value of main. It had nothing to do with it. I didn't notice that you were using perror where you should have just used printf.

    You should never use perror...
  17. I'm blind. You're right.

    I'm blind.
    You're right.
  18. I doubt it has anything to do with errno. That...

    I doubt it has anything to do with errno. That would be strange indeed.
  19. Although you haven't bothered to give us any...

    Although you haven't bothered to give us any information about what system/compiler/IDE you're using, I assume that you're running your code from an IDE and it's simply telling you the return code of...
  20. You can't just throw in a library function call...

    You can't just throw in a library function call and expect it to work. You need to actually read about how the function works and use it correctly. For instance, if you read about strcmp you would...
  21. Thread: Some minds

    by algorism
    Replies
    5
    Views
    619

    As this person is either a troll or a mental...

    As this person is either a troll or a mental case, I suggest that we just ignore this. If you need further proof, look at his previous posts.
  22. Replies
    3
    Views
    409

    To be even more precise, mad-hatter's answer is...

    To be even more precise, mad-hatter's answer is wrong. It has nothing to do with which is a "variable".
  23. Replies
    6
    Views
    745

    Why in the world would you post all of the...

    Why in the world would you post all of the functions separately? That's idiotic. It's just more work for both you and us (if we want to run it). Post full, runnable programs whenever possible.

    And...
  24. Replies
    5
    Views
    606

    Yes. Exactly. You don't need to tell it what type...

    Yes. Exactly. You don't need to tell it what type you want. C automatically converts void* to whatever type you need. If your compiler complains then you are compiling as C++ instead of C, which is a...
  25. Replies
    5
    Views
    606

    Your code is missing necessary includes: ...

    Your code is missing necessary includes:


    #include <stdio.h>
    #include <stdlib.h>

    "third_main" should presumably be called main and it should return an int.

    You're missing the...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4