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/TMS320C6748: Print value of int

Part Number: TMS320C6748

Tool/software: Code Composer Studio

I am using LCDK C6748 with XDS100. I am writing a problem and want to print the counter use to check if it run correctly. The counter is store as a int. But i could not print the value out. I tried to use both cout and printf.

I write another simple program to check and it didnt print out as well. The simple program look like this.

#include <iostream>
using namespace std;
int main(){
int i = 1;
cout << i ;
return 0;
}

If it is possible, how can i print out the int i.

Thanks