I write C code with visual studio 2008.I want to place varibles “inside” the code.Like this
int main()
{
foo();
int i;
foo(i)
return 0;
}
Can I do it ?
For now this generates compile errors,despite that I compile it with /Tp option
Compile as C++. Or, perhaps, use this ugly trick with an extra block: