Search:

Type: Posts; User: maniel

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,116

    sorting a string

    how can i use sorting (like quick sort) to sort a string like 'I am a boy' to 'a am boy I'??
  2. Replies
    7
    Views
    1,214

    thx!but can i do it in another way. i have tried...

    thx!but can i do it in another way.
    i have tried one like this


    #define maxsize 80
    #include <stdio.h>
    int main()
    {
    int i;
    char input[maxsize];
  3. Replies
    7
    Views
    1,214

    thx.but can i base on this stupid program to have...

    thx.but can i base on this stupid program to have a 2d array and break the string into words?
  4. Replies
    7
    Views
    1,214

    whats wrong of this program

    #include <stdio.h>
    int main()
    {
    int i;
    char input[80];
    printf("Enter a string please:");
    gets(input);

    printf("The words are:\n");
    for(i=0;...
  5. Replies
    6
    Views
    1,142

    also, if i dont use fgets, can i have another...

    also, if i dont use fgets, can i have another way to get the string?
  6. Replies
    6
    Views
    1,142

    i wanna ask what is stdin??

    i wanna ask what is stdin??
  7. Replies
    6
    Views
    1,142

    question about string

    if i set the char array as a 2d array, how can i get the string from the user
    i have tried to use 'gets', but when i compiled it, there is syntax error..
  8. Replies
    6
    Views
    1,200

    THx u very much by the way i am a beginner of...

    THx u very much
    by the way
    i am a beginner of c, many times find many difficulty in writing programs, how can i improve my programming skills?
  9. Replies
    6
    Views
    1,200

    sorry, i havent typed it down that the string is...

    sorry, i havent typed it down that the string is stored in the 2D array having a maximum 80 words....
  10. Replies
    6
    Views
    1,200

    a problem about string

    after i get a string from the user, how can i break the string into words??
    likes
    the string" i am very happy today."
    to
    i
    am
    very
    happy
    today
Results 1 to 10 of 10