#include <stdio.h>
#include <locale.h>
FILE* fp;
int main() {
char* filename = "data.txt";
setlocale(LC_ALL, "Russian");
char str[100];
char cc[256];
fopen_s(&fp, "data.txt", "r");
while ((fgets(cc, 256, fp)) != NULL) {
printf("%s\n", cc);
if (cc == "print") {
printf("Принт");
}
}
}
print