Recent content by rambo3131

  1. R

    C# Creating a Simple Sudoku Game in C#

    by the way ı try to use backtracking algorithm .Am ı right ? or can anyone suggest to me easir way to generate sudoku.
  2. R

    C# Creating a Simple Sudoku Game in C#

    Hi ,I want to generate a sudoku game in c sharp.First I will make 3*3 cells sudoku simple,then whole sudoku (9*9) . I ve added to form 9 commoboxes and a star button. When ı click the start button , the programme will fill randomly two cells with 1, 2, or 3 . Then player will fill other empty...
  3. R

    How to Write a C Program for Derivative Calculation?

    Hi,i ve problem about C.i should write a program that read expression from standart input take derivative and print. For example: input: (X^2-1)*tan-ln^2/X output: (((X*2)*tan+(tan^2+1)*(X^2-1))-(1/X*ln*2*X-ln^2)/X^2) I converted expression to postfix form by shuting...
  4. R

    What are some hints for inserting a node into a linked list in C?

    hi ,i have a problem about c.i should write a function that struct node *insert(struct node root,int n) .This function should create a node and then place it in list (whose head pointer is root )for n th node .Please give me some hints ..
  5. R

    Hi,i have a question about C. (i use linux).The problem is: I will

    Hi,i have a question about C. (i use linux).The problem is: I will read arbitrary number of character lines from standard input.(not from a file). Size of the lines is also arbitrary. Lines are separated with new line character. . I must send EOF with CTRL-D from terminal. I should allocate...
  6. R

    Finding word in a two dimensional array

    Hi, I have a question about C.In a two dimensional array ,I will search a word (not a letter).Do i have to use pointers?
  7. R

    Inputting to Char Arrays from Keyboard - Linux/GCC

    yes ,i will study for a while myself .If i have a problem,i ll ask .thank you
  8. R

    Inputting to Char Arrays from Keyboard - Linux/GCC

    I don't know pointers well .Do you really think that i must know pointers to solve this problem?
  9. R

    Inputting to Char Arrays from Keyboard - Linux/GCC

    No ,ı don't mean copy.while taking input ı will write this: abcdefg klmnfgftrgfdgdgdg dsdghbvd hhyjdsv mjkkdsdg dsrghjmd bsxatujkolhfdsrfb fgg edfgshdh sdgsgdh gfsdgsg sgsgs ıluıuıl jyujtjdjyj first line must be taken array 1,second line must be taken array 2.
  10. R

    Inputting to Char Arrays from Keyboard - Linux/GCC

    ı mean : before ı clicked enter, i will write some charecters from keyboard .These must be taken first char array.Then, i will click enter then go to next line.Later i will write some charecters again,but this time these must be taken second char array .
  11. R

    Inputting to Char Arrays from Keyboard - Linux/GCC

    Hi,I have a question about C.I have declared two char arrays.I want to write one string through one line to take them first array.When ı touch enter and go to next line ,it will place my charecters which have been given later touching enter to second array.What can I do this? ,please help me...
  12. R

    Inputting and Ordering Numbers in C

    Besides, ı got your eof example sciurus.thanks a lot :)
  13. R

    Inputting and Ordering Numbers in C

    yes, Ctrl+D is so useful .Thank you so much.
  14. R

    Inputting and Ordering Numbers in C

    Thanks for all of you so much! I used " ı like serena" 's technique(without eof) and understood this. Moreover i want to learn about eof ( i think, this eof was important).How can i use eof?.Should i create file ? but i don't know this.Could you give an example code please?
  15. R

    Inputting and Ordering Numbers in C

    Sorry ,topic must be taking inputs in C .By the way I use linux.
Back
Top