hey guys is it possible 2 do so??? as in like i want 2 write numbers from 1 to 1000 in a file f.txt say.... using the while loop im stuck... as the indexing variable for incrementing the numbers to 1000 ITSELF gets printed if i use '' or "" or '\j' or "\j"...
also is there an easy way of converting this c++ code 2 a python code [without suing swig].... its basically arrays....
[CODE=c]
float a[6][6];
for(int i=0;i<5;i++)
{
a[2][2]=i;
a[4][3]=-i;
}[/CODE]
I can easily substitue tht for loop in c++ with the standard while loop in python... im not getting the arrays part... any help wud b appreciated
also is there an easy way of converting this c++ code 2 a python code [without suing swig].... its basically arrays....
[CODE=c]
float a[6][6];
for(int i=0;i<5;i++)
{
a[2][2]=i;
a[4][3]=-i;
}[/CODE]
I can easily substitue tht for loop in c++ with the standard while loop in python... im not getting the arrays part... any help wud b appreciated
Comment