Search:

Type: Posts; User: atif7865

Search: Search took 0.00 seconds.

  1. Thank you so much,, You solved my problem......

    Thank you so much,, You solved my problem... hehehe
  2. How to put a string in a 2 dimensional character array?

    how can you put a string into the 2 dimensional character array?

    lets say you have


    char array1[10][10];
    char array2[10] = {"my array"};

    how do you put the value of "array2" in "array1" ??
  3. hi, thanks for reply,, i have modified the...

    hi, thanks for reply,,

    i have modified the code a bit but am getting an error.






    char ch;
  4. first of all, thank you for your response. well...

    first of all, thank you for your response.
    well i need 200 countries with 50 characters max.

    yes, i think i can get rid of counting the number of the lines.

    as far as you last response, i just...
  5. I understand what you say, but the problem is...

    I understand what you say, but the problem is that i can not get the values of fscanf into the arrays, as i mentioned. have i made any mistake there?
  6. how to use two dimensional character array for reading fields from a file?

    Hi, New to C programming

    I am trying to write a program in C in which i will be changing the value of a particular field based on the input of the user. I understand that there is no way in C...
  7. Replies
    3
    Views
    2,414

    All those that are preceded by a space.

    All those that are preceded by a space.
  8. Replies
    3
    Views
    2,414

    discard characters after space

    hi, i am writing a program in c in which i want to ask user for an input. but i want to discard all the input characters that are preceding by a space. i know you can use getchar() in a while loop...
Results 1 to 8 of 8