void loadsn(SN_curve sncurve[6]) { ifstream infile; int totalData = 0; string value; infile.open("Curve.txt"); if (infile.is_open()) { do { infile >>sncurve[totalData].material>>sncurve[totalData].SFP >> sncurve [totalData].slope>>sncurve[totalData].elast_mod >>sncurve[totalData].poisson >>sncurve [totalData].km; totalData++; } while (!infile.eof()); infile.close(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)