Search:

Type: Posts; User: Rash

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    950

    You don't need to worry about tangents of angles...

    You don't need to worry about tangents of angles -- because computer screens are flat, you want to think about how the rays of light are laid out as they pass through a plane in front of the camera....
  2. Replies
    86
    Views
    44,480

    If there's any reason not to become a math major,...

    If there's any reason not to become a math major, it's the pain you get from reading these divide by zero conversations.
  3. Replies
    20
    Views
    5,904

    It's impossible, even if you isolate bits of...

    It's impossible, even if you isolate bits of hardware. You don't know whether a chip retains information from what was typed in 30 days ago, or 2000000 years ago, and there's no way you can...
  4. Thread: C++ Is So Hard!!!

    by Rash
    Replies
    20
    Views
    3,762

    If you feel tired of C++, take a break and go...

    If you feel tired of C++, take a break and go look at some other language, like Perl or Python or Scheme (but not PHP). When you go back to C++, you'll feel much more comfortable with it.

    Why not...
  5. Replies
    20
    Views
    4,722

    Long answer: do whatever makes the most amount...

    Long answer: do whatever makes the most amount of money/economic output for the time you're spending.
  6. Thread: Math...

    by Rash
    Replies
    7
    Views
    3,160

    First, move the angle of rotation so that it's...

    First, move the angle of rotation so that it's between 0 and 90. Call this angle t. (If it's between -90 and 0, use its negative, if between 90 and 270, subtract from 180.) Let the ratio of the...
  7. Replies
    9
    Views
    1,330

    The implementations of malloc and free are...

    The implementations of malloc and free are correct. Somewhere else in your program, you're writing to a place in memory that you have not correctly allocated. If you write outside the bounds of any...
  8. Replies
    46
    Views
    11,955

    Sure, but have the game run over stdin and...

    Sure, but have the game run over stdin and stdout, not some class. And, um, specify a wide set of options for the programming language to use. (Including Scheme :-). Or else I'll write Scheme code...
  9. Replies
    13
    Views
    2,236

    the 'new' operator doesn't pull memory out of its...

    the 'new' operator doesn't pull memory out of its hat, it looks through the array of memory, which is demarcated by some datastructures, and finds a place to put things. If you write to the wrong...
  10. Replies
    133
    Views
    78,191

    Stop worry about what is pointless or not; your...

    Stop worry about what is pointless or not; your life is pointless.
  11. Replies
    16
    Views
    4,485

    If anybody has a body weight less than 100 lb and...

    If anybody has a body weight less than 100 lb and greater than 400 lb, I'd be very impressed.
  12. This is not true; reversing a singly-linked list...

    This is not true; reversing a singly-linked list is simple to do.


    node * reverse_in_place(node *list) {
    node *tail = NULL;
    node *tmp;
    while (list) {
    tmp = list->next;
    ...
  13. Replies
    7
    Views
    2,227

    You can specify the names of the array which...

    You can specify the names of the array which stores command line arguments in your definition of the main procedure. E.g.
    int main(int argc, char ** argv) { ...
    Then argc tells you how many...
  14. Replies
    18
    Views
    4,972

    Defeating spyware and adware should be a...

    Defeating spyware and adware should be a technological issue. You shouldn't try to fix technical or user-interface problems of certain operating systems with laws; you should fix the operating...
Results 1 to 14 of 14