Search:

Type: Posts; User: nwasiq

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,357

    Unique integer values for words

    I need to assign unique integer values to words in a dictionary that have the same alphabets, for example 'act' and 'cat' should have the same integer value. Would just adding the ascii values of the...
  2. Thread: C++ snake

    by nwasiq
    Replies
    10
    Views
    72,871

    Okay so now I understand most of the things of...

    Okay so now I understand most of the things of this program but this corner of the window still puzzles me. Why is this happening?
  3. Thread: C++ snake

    by nwasiq
    Replies
    10
    Views
    72,871

    Why do you say that? I think it's good because it...

    Why do you say that? I think it's good because it isn't that complicated and doesn't use anything I haven't studied
  4. Thread: C++ snake

    by nwasiq
    Replies
    10
    Views
    72,871

    and couldnt this array (to store snake...

    and couldnt this array (to store snake coordinates) have been a 1D array??
  5. Thread: C++ snake

    by nwasiq
    Replies
    10
    Views
    72,871

    'past[pastCounter][0] = 1; //keep the game from...

    'past[pastCounter][0] = 1; //keep the game from crashing because if you hit the wall it kicks you from the wall
    past[pastCounter][1] = 1;'

    wats the meaning of this initialization?
  6. Thread: C++ snake

    by nwasiq
    Replies
    10
    Views
    72,871

    C++ snake

    #include <stdio.h>
    #include <stdlib.h>
    #include <windows.h>
    #include <conio.h>
    #include <time.h>

    void draw(char main[][75], int score);
    void reset(char main[][75]);
    void move(char...
Results 1 to 6 of 6