Search:

Type: Posts; User: skelectron

Search: Search took 0.00 seconds.

  1. Thread: show matrix

    by skelectron
    Replies
    5
    Views
    1,281

    thanks quzah,i really appreciate ur help...:)

    thanks quzah,i really appreciate ur help...:)
  2. Thread: show matrix

    by skelectron
    Replies
    5
    Views
    1,281

    so,without c99,is it possible to use 2d variable...

    so,without c99,is it possible to use 2d variable array?
  3. Thread: show matrix

    by skelectron
    Replies
    5
    Views
    1,281

    show matrix

    #include <stdio.h>
    #include <stdlib.h>
    int show_matrix(int column, int row, int matrix[column][row]);

    int main(void)
    {
    int m = 2;

    int matrix[m][m] = { {1,2}, {1,2} };
  4. Replies
    3
    Views
    2,046

    Any tips for learning c?

    hi everybody,i want to become a serious c programmer,but now i have a very stupid logic thinking..any tips for me to broaden my c language knowledge?
  5. Replies
    11
    Views
    1,288

    i need to back to the guess function because if...

    i need to back to the guess function because if it has a wrong numbers,we must retype the guess number..
  6. Replies
    11
    Views
    1,288

    frankly,my compiler is supporting the code,but...

    frankly,my compiler is supporting the code,but when i get the wrong place number and looping to function guess,the random generator will create a new random number again..what can i do if i want the...
  7. Replies
    11
    Views
    1,288

    randoming problem...

    now i'm using the for loop things for my mastermind game,but.....it still got a randoming problem just like the first time i use with if else..


    #include <stdio.h>
    #include <stdlib.h>
    #include...
  8. Replies
    5
    Views
    4,919

    #include #include #include...

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

    int guess(int);

    int main()
    {

    int digits;
  9. Replies
    5
    Views
    4,919

    hahaha,thanks for all the critics,actually now...

    hahaha,thanks for all the critics,actually now i'm trying to create the mastermind with array and for loop,but i still dont know how to start..anybody can give me the logical hints?:)
  10. Replies
    5
    Views
    4,919

    mastermind problem..

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

    int three();

    main()
    {
    srand((unsigned)time(NULL));
    four();
  11. Replies
    7
    Views
    3,972

    randomize problem

    yeah!it's worked!!thx for all who helped me,since i got a new problem though..when i'm stuck,i'll ask again.... :D ...
  12. Replies
    7
    Views
    3,972

    randomize problem

    the problem is when i returned to nine() i will get a new random numbers from the f,s,t,fo,etc..
    are there any solution to make the random function just generates once and then the values is saved...
  13. Replies
    7
    Views
    3,972

    randomize problem..

    now i'm doing a mastermind homework..
    my problem is how can i randomize once only when the program is running..


    nine()
    {
    int...
Results 1 to 13 of 13