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..
Type: Posts; User: bahada
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..
to catch if the character is a space or not (backspace and horizontal tab)
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...
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.
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...
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.
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...
I understand now, thank you very much...
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
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:
...