Forum Discussion
Altera_Forum
Honored Contributor
12 years agoAre you beginner in C program ?
Comparing strings in C is not so easy as comparing integers. Keep in mind that a string in C is terminated by a NULL character '\0' You can compare a suite of characters. Before comparing, just try to simply print the received strings. The output may be buffered. So "printf" seems to not work. You can "force" the print by adding a function that looks like "flush()". could you please tell us what you exactly want to do ?