MTK how would one go about doing your second step
Replace any consecutive groups of 1 or more whitespace chars with a single '\n'
Im having issues with that on my program, but i need it for more...
Type: Posts; User: Darkw1sh
MTK how would one go about doing your second step
Replace any consecutive groups of 1 or more whitespace chars with a single '\n'
Im having issues with that on my program, but i need it for more...
I have a text file that is supposed to output only the words in order... so i made a code using only putchar and getchar, the while loop works and my problem is as follows when more then one...
I understand enter is left and usually i would do a getchar of that character so its gone....
but where in the FAQ should i look and yes i did look and i looked again today...
but other than that...
I was not able to find anything other than scanf, is it possible with scanf because thats what we were taught.... and if u could explain the other command that would be awesome!
well thank you for everything i did a little research and got a lot done but now i have 1 last problem, if u run the following code when it asks yes or no to redo the code if i print yes it writes...
hrm its not working... no matter what i have done i am new to C/C++ and this loop wont work
/*Included Files*/
#include <stdio.h>
#include <math.h>
int main(void)
{
float side1, side2, side3, s, area;
char loop, y,Y, n,N, ch;
TY TY trying it now!
that didnt help at all!
I have a program,
and i need to create a loop....
I want a do you want to continue loop I have been having so much trouble with it i have tried many things and its not working for example
...