Search:

Type: Posts; User: vex_helix

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,167

    Data Structures

    I want to use data structures to create like a 2D array (x,y) and then sort them by looking at x. The code is below but when I sort it, it sorts only the x's.. the corresponding y value doesn't...
  2. Replies
    11
    Views
    1,574

    malloc() or calloc() commands for dynamic memory...

    malloc() or calloc() commands for dynamic memory allocation
  3. Replies
    5
    Views
    1,076

    String and NULL

    How do u store make a string with letters to null ? strcpy(word, 0) ?

    Also also do u detect if the string is null?
  4. Replies
    2
    Views
    2,004

    double pointer to 2-dim array?

    suppose I have a double pointer that stores words in a list:

    ex:
    char **wordlist;

    How do I store the data of **wordlist into a 2-dimensional array say List[define][define2] which is also a...
  5. Thread: Anagram

    by vex_helix
    Replies
    7
    Views
    2,002

    Suppose you have 7 letters, how does one find all...

    Suppose you have 7 letters, how does one find all possible words from those letters? I can be a two letter, 3 word?
  6. Thread: Anagram

    by vex_helix
    Replies
    7
    Views
    2,002

    I made two differnet files and linked them into a...

    I made two differnet files and linked them into a project in Visual C++ (Ms). It gives an error which says that the Main method is already defined.

    There are two main methods in each file and I...
  7. Thread: Anagram

    by vex_helix
    Replies
    7
    Views
    2,002

    Anagram

    I found an anagram program.. but it was designed for unix. Can someone help me convert it to windows? Or if someone has a better anagram algorithm?



    ============================= canonize.c...
  8. Thread: Scrabble AI

    by vex_helix
    Replies
    9
    Views
    8,017

    Thx jez. Making words by integrating yr tiles and...

    Thx jez. Making words by integrating yr tiles and tiles on board is a little troublesome.
  9. Thread: Scrabble AI

    by vex_helix
    Replies
    9
    Views
    8,017

    Brainstorming some ideas for scrabble AI

    Hi,

    I have successfully completed the human vs. human part for my program (some minor bugs remain :) ). I couldn't have done it without you guys. I greatly appreciate your help.

    I think I am...
  10. Replies
    5
    Views
    2,356

    Scanning all directions?

    I like yr idea Quzah regarding entering one at a time. But how do I check all directions for words?

    Consider initial words:


    B
    G E T
    O

    And I make both NOT AND BET
  11. Replies
    5
    Views
    2,356

    Player's input in Scrabble?

    Argh.. this is getting frustrated. I fix one problem, another one appears. I am now having trouble on how to take in the user's input in a game of Scrabble. Consider the first player already went,...
  12. Thread: Scrabble AI

    by vex_helix
    Replies
    9
    Views
    8,017

    Wow. That's actually not bad. Really simple to...

    Wow. That's actually not bad. Really simple to design and find words thx!!

    But, here's the thing that's bothering me. How do I play new new letters on the existing words? Isn't the algorithm u...
  13. Thread: Scrabble AI

    by vex_helix
    Replies
    9
    Views
    8,017

    Scrabble AI

    I want to implement a computer play option with AI in my Scrabble game. I came across Appel-Jacobsen Move Generation, Maven and Gordon Move but they were to advanced for me as a beginner to write....
  14. Replies
    10
    Views
    4,145

    Scrabble Continued...

    The shuffling and drawing works great thx...

    Before proceeding ahead with my project and later encountering problems better ask this now.

    The scrabble game can be against 2 - 4 people. So how...
  15. Replies
    10
    Views
    4,145

    How do draw a tile randomly? From Salem's...

    How do draw a tile randomly?

    From Salem's post, I understand how to shuffle an array. My idea is to create an array with predefined letters like you mentioned. Shuffle them. And them draw them 1...
  16. Replies
    10
    Views
    4,145

    Truly random characters (scrabble)

    Hi,

    I am in the process of creating a Scrabble game. I am a beginner with C. I made a code that generates a certain amount of specific letters and store it in array:


    #include <stdio.h>...
Results 1 to 16 of 16