how to print variable values when using command prompt? Topic is solved

If you have a simple question and just want an answer.
User avatar
jeevanicherukuri
Member++
Posts: 17
Joined: Fri Dec 26, 2014 4:41 pm

how to print variable values when using command prompt?

Post by jeevanicherukuri »

When using command prompt, i used printf statement to print an integer value(.e. i read timer value).But it's showing error that printf is unknown function identifier.

So, how to print variable values in command prompt window?

View Solution
User avatar
Bianco
XCore Expert
Posts: 754
Joined: Thu Dec 10, 2009 6:56 pm

Post by Bianco »

Did you include <stdio.h> in your source file? Also when running an application from the command line, you need to run xrun with the --io flag to see output to the command line.