开发者

Printing a variable from a C routine [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. 开发者_如何转开发 Closed 11 years ago.

I do not know how to use "C", but have a working C program that I need to print a program variable to determine what the program is doing. Can you tell me the easiest way to do this Jack


to print on stdout use printf function from stdio.h


To watch the values of a particular variable in Turbo c (windows)
Window-> watch -> enter your variable name. Then Press F7.
You can able to keep track the value of the variable.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜