This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] CCS/TM4C123GH6PM:在 CCS 中、返回整数的函数不起作用

Guru**** 1997655 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/695829/ccs-tm4c123gh6pm-in-ccs-a-function-returning-integer-not-working

器件型号:TM4C123GH6PM

工具/软件:Code Composer Studio

#include

int x = 100;


int main (空)

printf ("%d\n"、returnX ());
返回0;


Int returnX (void){
返回 x;

其中包括我测试过的代码、CIO 不显示输出。 感谢您的帮助!