Hi People
I'm a newbie in c, I learn in c++, but I don`t really know to much. A friend make a code in c, working in a linux pc. And works perfect.
I normally work in Micorsoft Visual Studio, but this c code, seems not to work well (88 errors). So I start using DevCpp and looks that the c code runs, but there still are too much errors (31). Why the different compilers show different number of errors. The code employ a lot of gsl libraries (GNU Scientific Library).
You have any idea what ould be happening.
Thanx in advance for your time
Paulville
This are the kind of error that appears
In function `web_calc':
92: parse error before `double'
96: `y' undeclared (first use in this function)
96: (Each undeclared identifier is reported only once
96: for each function it appears in.)
100: parse error before `)'
103: `params' undeclared (first use in this function)
115: parse error before `const'
126: `t' undeclared (first use in this function)
135: `tend' undeclared (first use in this function)
146: parse error before `int'
147: `status' undeclared (first use in this function)
187: `s' undeclared (first use in this function)
188: `c' undeclared (first use in this function)
189: `e' undeclared (first use in this function)
In function `dynamics':
227: parse error before `ydot_vec'
245: `EAgsl' undeclared (first use in this function)
245: `yjgsl' undeclared (first use in this function)
245: `tvec' undeclared (first use in this function)
247: `Hmat' undeclared (first use in this function)
251: `Gmat' undeclared (first use in this function)
262: `Tmat' undeclared (first use in this function)
268: parse error before `*'
273: `Bp' undeclared (first use in this function)
277: `ratio' undeclared (first use in this function)
282: `death' undeclared (first use in this function)
291: `ydotgsl' undeclared (first use in this function)
295: parse error before `double'
311: `growth' undeclared (first use in this function)
312: `index1' undeclared (first use in this function)
313: `index2' undeclared (first use in this function)
315: `oldtemp' undeclared (first use in this function)