Search:

Type: Posts; User: bahada

Search: Search took 0.00 seconds.

  1. Replies
    11
    Views
    4,200

    I solved this problem in another way thanks, and...

    I solved this problem in another way thanks, and I asked at first at daniweb but i couldn't get the answer for hours, then I asked here..
  2. Replies
    11
    Views
    4,200

    to catch if the character is a space or not...

    to catch if the character is a space or not (backspace and horizontal tab)
  3. Replies
    11
    Views
    4,200

    Deleting spaces in a string

    Hi,
    I want to write a code which takes an array of 20 characters and deletes all spaces between characters, it should leave only letters. For example:
    input :a b c d e
    I want to make it...
  4. Replies
    15
    Views
    10,525

    I tried something but I couldn't succeed and...

    I tried something but I couldn't succeed and printing only first letters is really not a homework of me I just wondered how to do it. I am sorry If I broke the rules and thanks for helping.
  5. Replies
    15
    Views
    10,525

    Well, can any of you show me that how can I hold...

    Well, can any of you show me that how can I hold only first letters of these words, tabs and backspaces can exist between words:

    like this is the string:
    weather is so warm today

    and i want...
  6. Replies
    15
    Views
    10,525

    I'm sorrry but I couldn't understand why would I...

    I'm sorrry but I couldn't understand why would I use putchar(), I don't want to print them as they are, I need to edit them before. Can you give me an idea how can I parse them. Thanks.
  7. Replies
    15
    Views
    10,525

    Dividing a string to words

    Hi, I want divide a string (which is composed of words), to words, and I want to keep these words somewhere in memory. To be more clear there is a sentence like:


    weather is so warm today

    I...
  8. Replies
    4
    Views
    1,577

    I understand now, thank you very much...

    I understand now, thank you very much...
  9. Replies
    4
    Views
    1,577

    Yeah I understand now, thanks! Can I also learn...

    Yeah I understand now, thanks! Can I also learn why do these two codes behave differently when i change the line
    printf("%d\n", ip);
    to the line:
    printf("%p\n", ip);

    thanks.

    bahada
  10. Replies
    4
    Views
    1,577

    a simple question about pointers

    Hi, I am a freshman computer engineering student and I've just started programming in C, it may seem a bit simple but I couldn't find the answer of my question. Here is the code I write:

    ...
Results 1 to 10 of 10