Search:
Forum
General C++ Programming
"printf" did not work
"printf" did not work
Feb 9, 2019 at 2:11pm UTC
shuthairah
(26)
i have a problem that "printf" didint show what i want
<printf ("objFunction = %d \n", objFunction);>
its show
objFunction=0
the right one is
objFunction = 30232
what did i do wrong
Feb 9, 2019 at 2:21pm UTC
pSystem
(13)
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
Feb 10, 2019 at 4:25am UTC
Duthomhas
(13208)
Sigh, duplicate.
http://www.cplusplus.com/forum/general/249643/
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs