Search:

Type: Posts; User: CactusC

Search: Search took 0.01 seconds.

  1. Replies
    39
    Views
    9,967

    I'm using lcc-win32. ...

    I'm using lcc-win32.

    http://support.microsoft.com/kb/57888

    P.S. Sorry for the smiley, it has a different meaning in our country :)
  2. Replies
    39
    Views
    9,967

    I did it.

    I did it.
  3. Replies
    39
    Views
    9,967

    I would like to make a program, which does smth...

    I would like to make a program, which does smth when one of the arrows (of keyboard) is pressed. So I would like to ask which funcion should I use (scanf, getch...?) to get the pressed arrow....
  4. Replies
    39
    Views
    9,967

    Than you. I've changed char t; to ...

    Than you. I've changed


    char t;

    to


    char t[100];
  5. Replies
    39
    Views
    9,967

    Thanks for an idea, but therefore I've faced...

    Thanks for an idea, but therefore I've faced another problem. I decided to use isdigit to check if the inputed number is not a char and if it isn't-then convert it with atof or atoi.

    But then i...
  6. Replies
    39
    Views
    9,967

    Hello, I would like to ask how could I check...

    Hello,

    I would like to ask how could I check if the input is right:
    the program asks user to input a float from a keybord, but user inputs a char. Is there any funcion which can check that?
    ...
  7. Replies
    39
    Views
    9,967

    Thanks :cool:

    Thanks :cool:
  8. Replies
    39
    Views
    9,967

    Could anyone explain me why this program prints...

    Could anyone explain me why this program prints out
    "Enter string 0"
    "Enter string 1"
    at one time and doesn't read the string[0][100] ?




    #include <stdio.h>
    #include <string.h>
  9. Replies
    39
    Views
    9,967

    Oh, sorry, I've forrgotten to change, i was...

    Oh, sorry, I've forrgotten to change, i was trying to print the first string, but it is like the third one.

    I have founded the mistake :)
  10. Replies
    39
    Views
    9,967

    Hello again. Could anyone help me to find...

    Hello again. Could anyone help me to find mistakes why this programs prints out only the lats string.




    #include <stdio.h>
    #include <string.h>
    #define SIZE 124

    int main ()
  11. Replies
    39
    Views
    9,967

    Thanks a lot :cool: The problem was that I...

    Thanks a lot :cool: The problem was that I haven't included string.h Thank's very much :)
  12. Replies
    39
    Views
    9,967

    Also I wanted to ask how to print these strings,...

    Also I wanted to ask how to print these strings, because every try computer writes me 'runtime error'



    #include <stdio.h>

    int main () {

    char string[100][3];
    int i, j;
  13. Replies
    39
    Views
    9,967

    Yes, I've already tested that, I can't see...

    Yes, I've already tested that, I can't see russian symbols correctly, that's why I have chosen the othe char set ISO-8859-4, which is displayed correctly in my computer.
  14. Replies
    39
    Views
    9,967

    Yes, you'r right. But it would be enough for me...

    Yes, you'r right. But it would be enough for me to display it correctly on my computer :)
  15. Replies
    39
    Views
    9,967

    I need to set char set Latin 4, it's also called...

    I need to set char set Latin 4, it's also called ISO-8859-4, but i still can't find anything, explaning how to deal with that. :rolleyes:
  16. Replies
    39
    Views
    9,967

    So if I'll try to solve this problem using wide...

    So if I'll try to solve this problem using wide chars, I should define every char, which isn't included to ANSI C?
  17. Replies
    39
    Views
    9,967

    But if I need to save all Russian chars, isn't it...

    But if I need to save all Russian chars, isn't it possible to set whole language alphabet somehow, using UTF-8 locale?
  18. Replies
    39
    Views
    9,967

    Thanks very much, i did it (atctually you did it)...

    Thanks very much, i did it (atctually you did it) ;) I had some practice programing with Delphi, but it's much easier to work with strings there :)

    And the other thing i wanted to ask what...
  19. Replies
    39
    Views
    9,967

    no..i'm new to C.. that's why i'm having problems...

    no..i'm new to C.. that's why i'm having problems with such a simple task :(
  20. Replies
    39
    Views
    9,967

    ok, i tired to correct mistakes.. but..there are...

    ok, i tired to correct mistakes.. but..there are some left..



    #include <stdio.h>

    int main () {

    char string[3][100];
    int i, j;
  21. Replies
    39
    Views
    9,967

    Problems with array of strings

    Hello,
    I would like to as how shoul i input strings into array from keyboard?

    Thanks in advance.

    my code is:



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