CodeWarrior中如何使printf输出的参数在超级终端中显示出来呢?
如题吧,谢谢!
附上代码吧:
#include "support_common.h" /* include peripheral declarations and more */
#if (CONSOLE_IO_SUPPORT || ENABLE_UART_SUPPORT)
/* Standard IO is only possible if Console or UART support is enabled. */
#include <stdio.h>
#endif
int main(void)
{
int counter = 0;
#if (CONSOLE_IO_SUPPORT || ENABLE_UART_SUPPORT)
printf("Hello World in C++ from MCF52259 derivative on MCF52259 board\n\r");
#endif
for(;;) {
counter++;
}
}
如何让Hello World in C++ from MCF52259 derivative on MCF52259 board在超级终端中显示呢,求解
大家是看不懂我的问题呢,还是什么原因啊,给个回复吧,拜托了
[ 本帖最后由 hackyesorno 于 2012-3-1 11:07 编辑 ]