开发者

Printing a variable from a C routine [closed]

开发者 https://www.devze.com 2023-03-19 06:13 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
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

精彩评论

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

关注公众号