• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

C programming question

You're doing this wrong. Whoever wrote this is using a very awkward way to accomplish a simple task. It's equivalent of scratching your left ear with your right hand. I don't have time to examine the program in detail but I see a number of potential problem. I bet if you re-write your program, making it simpler you will get rid of the problem.
 
Originally posted by: Argo
You're doing this wrong. Whoever wrote this is using a very awkward way to accomplish a simple task. It's equivalent of scratching your left ear with your right hand. I don't have time to examine the program in detail but I see a number of potential problem. I bet if you re-write your program, making it simpler you will get rid of the problem.

I could write it simplier if I really wanted to, but there are reasons why I'm not.

The problem in the above script was actually caused due to me overlooking a critical detail in strncmp.

 
Back
Top