"printf" did not work

i have a problem that "printf" didint show what i want

<printf ("objFunction = %d \n", objFunction);>

its show

the right one is
objFunction = 30232

what did i do wrong
Can you show the rest of your code? objFunction might not be set right, because the printf line is fine. If you're using visual studio, put a breakpoint after your printf line, and hover over objFunction and check its value
Registered users can post here. Sign in or register to post.