I need to make an adjustment to an old ANSI C application. The original programmer is no longer with us and nobody here has experience with C.
I have an integer value (numofgroups) that I want to convert to a string value (pie_count). I know that there is a 'sprintf' function, but the documentation is extremely poor as to how to call the function. I've tried several variations of this function but keep getting compile errors.
Any suggestions would be greatly appreciated.
I have an integer value (numofgroups) that I want to convert to a string value (pie_count). I know that there is a 'sprintf' function, but the documentation is extremely poor as to how to call the function. I've tried several variations of this function but keep getting compile errors.
Any suggestions would be greatly appreciated.