1 Reputation Point
Ranked #4K
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
33% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
0 Endorsements
Ranked #17.3K
4 Posted Topics
you can do also [code] void get_size(char *buffer,int size) { fgets(buffer,size,stdin); } int main(void) { char buffer[100]; get_size(buffer,sizeof buffer); } [/code]
Hello guys i began reading K&R but there problem in a code i dont really understand it here code of a sequeeze function [code] /* squeeze: delete all c from s */ void squeeze(char *buffer, int c) { int i, j; for (i = j = 0; buffer[i] != '\0'; …
Hello guys I m trying to code a program to fix indented code but problem is that i will use strstr to search for the for string then i ill read it till it encounted \0 then i wanna jump to next line to add 4 spaces before the code …
The End.
lolguy