-
Notifications
You must be signed in to change notification settings - Fork 0
๐จ Filter out a character out of String.
This is incomplete discussion on how to filter out a String.
Warning! The below implementation has a static buffer size which can cause buffer overflow.
#include <stdio.h>
int main()
{
char buffer[32];
printf("Type: ");
scanf("%[a-zA-Z0-9_-.]",buffer);
printf("Input: '%s'\n",buffer);
return(0);
}
TutorialsPoint Reference for C standard library is always useful.
https://www.tutorialspoint.com/c_standard_library/index.htm
General C language overview can be found on Geeks for Geeks.
https://www.geeksforgeeks.org/c-programming-language/
Advanced In-depth book on C language.
Extreme C: Taking you to the limit in Concurrency, OOP, and the most advanced capabilities of C
Quick simplistic tutorials on C language can be found here.
https://www.tutorialspoint.com/cprogramming/index.htm
https://www.programiz.com/c-programming
Learning and Reference of C language.
Public Domain.
Also available in CC0 or MIT License.