- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
I am using borland compiler... i need to define 4 gloabal arrays of double type that can store 5000 values like double d[5000],d2[5000],d3[5000],d4[5000].. and an array of objects of class data whose syntax is: [code]class data { public: int x,y; double s,w,e,d; }d[5000],f[5000];[/code] i am facing two errors: array size … |
|
when i m using this code: its not complete code..assume everything is right... [code] for(int result=0;result<g;result++) { u1+=((a[result].real_z1*tw[result])/sumd); u2+=((a[result].imaginary_z1*tw[result])/sumd); u3+=((a[result].real_z2*tw[result])/sumd); u4+=((a[result].imaginary_z2*tw[result])/sumd); } cout<<"\n""Value of U1:"<<setiosflags(ios::scientific)<<setw(10)<<setprecision(8)<<u1; cout<<"\n""Value of U2: "<<setiosflags(ios::scientific)<<setw(10)<<setprecision(8)<<u2; cout<<"\n""Value of U3: "<<setiosflags(ios::scientific)<<setw(10)<<setprecision(8)<<u3; cout<<"\n""Value of U4: "<<setiosflags(ios::scientific)<<setw(10)<<setprecision(8)<<u4; ofstream abc; abc.open("result.txt", ios::out | ios::ate); abc<<endl<<endl; abc<<"Data at position [ "<<i<<" , … |
|
hello freinds.I am anshul agarwal doing my summer internship in Germany. I am facing one problem in visual c++.. Actually i have done a project in borland c++ but because of memory constrain, I am forced to switch over to visual c++... My program is to read 5000 data from … |
|
hello freinds.I am anshul agarwal doing my summer internship in Germany. I am facing one problem in visual c++.. Actually i have done a project in borland c++ but because of memory constrain, I am forced to switch over to visual c++... My program is to read 5000 data from … |