[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.tools.cdt] How to know a variable is a uninitialized variable?
|
How to know a variable is a uninitialized variable?
Hi, all.
Is there any way to identify a uninitialized variable in CDT on linux.
sample:
int main()
{
int i=0;
i++; //When the execution stream is here, the ii, iii, iiii
//variables are undefined. the values of them are random number
//But, how can i know that the ii, iii, iiii are uninitialized
//variables by CDT.
int ii;
i++;
int iii;
i++;
int iiii;
return 0;
}