start with structure

This commit is contained in:
2019-04-05 21:40:26 +02:00
parent 93cd8c6a05
commit f5aeeb9d23
11 changed files with 891 additions and 55 deletions

BIN
snippet/snippet1 Executable file

Binary file not shown.

12
snippet/snippet1.c Normal file
View File

@ -0,0 +1,12 @@
#include <stdio.h>
#include <string.h>
int main() {
char text1[15] = "Wolfgang/11";
char text2[15] = "Wolfgang";
if (0 == strncmp(text1, text2, strlen(text2))) {
printf("match\n");
}
}