Thanks for your reply.Now i followed Kurt's opinions, all of errors have been eliminated except that the file can not be opened. So i don't know where is wrong about the code of opening the file....
Type: Posts; User: victor_liang
Thanks for your reply.Now i followed Kurt's opinions, all of errors have been eliminated except that the file can not be opened. So i don't know where is wrong about the code of opening the file....
[/color][/left]
Yes, i added the brace, and run the code again, and the tips shown at the section of output become the following:
'my calculation.exe': Loaded 'C:\Users\liang\Documents\Visual Studio...
The update code is :#include<iostream>#include <math.h>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
int main(void)
//define the constant
//double...
Hey Kurt, thanks for your reply. I tried, but some others errors still appear. Please see the following reply i made to salem. I guess the problem originates from the header file, but i have included...
:redface:
In the c++ code, how to write the code for integral of bessel function?
Can we just use the library function:such the first kind of bessel function,_j0(i),_j1(i)? No need to use the integral form of...
// WKB.cpp : Defines the entry point for the console application.
//the Unit of length is nm, and energy unit is eV, the rest physical quantities are charaterized by I.U.
#include<iostream>...