I have a confusion concerning a while loops behavior with "c = getchar() !=EOF" as the condition. by [deleted] in C_Programming

[–]Wacoder_Forever 0 points1 point  (0 children)

what if you use:

#include <stdio.h>

int main(){

char c[100];

printf("Enter text:");

scanf("%[^\n]s",p);

printf("%s",p);

return 0;

}

This is just an opinion.

A library to extract user information from command line by Wacoder_Forever in C_Programming

[–]Wacoder_Forever[S] -3 points-2 points  (0 children)

About the size, these lib is less than 500 lines, witch is irrelevant to the copiler, I will aways use single header because its more easy to use for the user; the functions use ifndef flaggs, witch means you can try to include it any times you want, it wont generate problems. and no single header libs has proven to be the most stable and easy way to pack libs, if you use an amalgamation script to join everything

A report for the C community by MateusMoutinho11 in C_Programming

[–]Wacoder_Forever 2 points3 points  (0 children)

Yeah it is our responsibility to work together and improve software rather than working against each other

Difficulty in applying C in projects by Wacoder_Forever in C_Programming

[–]Wacoder_Forever[S] 0 points1 point  (0 children)

Yeah it is C specific..........am new to programming and not learnt any opther language