Search:

Type: Posts; User: the_jackass

Page 1 of 11 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    3,908

    To know the reason why, type cat --help :D

    To know the reason why, type cat --help :D
  2. Replies
    41
    Views
    31,342

    Theres a problem with the code as you have...

    Theres a problem with the code as you have written, otherwise its fine. When both players cross 50 in one after next turn, the first player should win. More concretely say the current scores are...
  3. Replies
    41
    Views
    31,342

    Actually, I was thinking wrong...forget what I...

    Actually, I was thinking wrong...forget what I said about AND and OR. It is not good to check the victory in the loop conditions since you have to check it after each turn. You need to have the code...
  4. Replies
    41
    Views
    31,342

    Look at the condition of the loop. OR gives...

    Look at the condition of the loop.

    OR gives true if any of the conditions are true
    AND gives true only if all of the conditions are true

    And the game must proceed as player 1, player 2, player...
  5. Use an dx and dy (ie change in x and y for a...

    Use an dx and dy (ie change in x and y for a given time interval) value, much more general. Randomly set initial position and velocity values and update ball position every given time interval. When...
  6. Replies
    1
    Views
    1,046

    1. Use "wb" and "rb" modes when working with...

    1. Use "wb" and "rb" modes when working with binary data.
    2. You dont need to rewind after writing each record. Otherwise you are going back to the beginning of the file and overwriting the old...
  7. Replies
    13
    Views
    16,749

    Is it just me or is anyone else unable/having...

    Is it just me or is anyone else unable/having difficulty to reply to certain threads?

    Edit: Talking about this thread in particular: fread returns 0, perror: No error
  8. Replies
    41
    Views
    31,342

    I dont think there should be an else here. And I...

    I dont think there should be an else here. And I believe the bottom code must be within the loop.
  9. Note the return type of 'strtol' and check the...

    Note the return type of 'strtol' and check the number you are inputting. long usually means a 32 bit integer. long long is usually a 64 bit integer.
  10. Replies
    13
    Views
    16,749

    And uh it feels slow in certain other sense too....

    And uh it feels slow in certain other sense too. :(
  11. Replies
    5
    Views
    3,710

    Not related to your problem, but if the...

    Not related to your problem, but if the dimensions of each 2d array, and each row, etc are same within the 3d array then it would perhaps be easier to just allocate a single dimensional array:...
  12. Replies
    13
    Views
    16,749

    Same here (I'll be returning here soon)

    Same here

    (I'll be returning here soon)
  13. Replies
    17
    Views
    8,105

    I guess I should return to directly using the hex...

    I guess I should return to directly using the hex values (like 0x46464952 for "RIFF").
  14. Replies
    17
    Views
    8,105

    Well I find byte, word and dword easier to type...

    Well I find byte, word and dword easier to type than uint8_t, uint16_t and uint32_t.


    I believe the conversions between long, size_t and unsigned int wont cause any issues since my code would...
  15. Poll: What do you think about anthro reptiles? Dont...

    What do you think about anthro reptiles? Dont they have beautiful eyes? Do you like triangles in designs?
  16. Replies
    17
    Views
    8,105

    Critique my .wav writer code

    Okay this is the .wav writing code I'll use for my useless little experiment:



    #include <iostream>
    #include <fstream>
    #include <cmath>
    #include <vector>

    const double...
  17. Poll: Well I have zero knowledge of art, I used to...

    Well I have zero knowledge of art, I used to think furry/anthro art was its own style...I didnt know it was Asian influenced.
  18. Poll: Katz is sexy beyond words :)

    Katz is sexy beyond words :)
  19. Replies
    13
    Views
    5,434

    Hmm... au seems to be a very simple format...

    Hmm... au seems to be a very simple format too...I'll make the program output both au and wav files then.
  20. Poll: Lions/tigers are beautiful sublime beasts. Its...

    Lions/tigers are beautiful sublime beasts. Its hard to express this level of beauty in words.

    But goats have a sublimeness of their own too...after all Satan is often shown as a goat. :)
  21. Replies
    13
    Views
    5,434

    I havent played enough games to try doing that....

    I havent played enough games to try doing that. However if I do make one it'll be a simple 2D "engine". :)
  22. Poll: Haha no bestiality doesent interest me...the...

    Haha no bestiality doesent interest me...the reason I like anthro art is something of a lengthy explanation which I wont go into.

    As for the examples you gave...anthros belong to a spectrum from...
  23. Replies
    13
    Views
    5,434

    What is the simplest wave based music format? (Ie...

    What is the simplest wave based music format? (Ie one in which you actually put in the amplitude at each point of the sound and not like midi where you give instructions to play a set of instruments)...
  24. Replies
    13
    Views
    5,434

    Quick gratification

    I'm feeling a lack of inspiration lately (and also a lack of free time). I try challenge websites once in a while and am not currently in the mood to do that either...do you know ideas for some...
  25. Poll: Well...I deliberately havent shown the anthros I...

    Well...I deliberately havent shown the anthros I consider the utter eptiome of beauty. :)
Results 1 to 25 of 271
Page 1 of 11 1 2 3 4