Mail Archives: djgpp/1998/03/04/04:10:48
Just out of curiosity, what's the code? Did you compile and link C code as though it were C++?
There isn't that much difference between the two afaik, but individual linking libraries could be different.
> So I made a test for comparing computing time.
> The result is
> c code : 21 sec
> c++ code : 57 sec
> Fortran77 code : 115 sec
>
> The test code is quite simple, consisted of 3 nested "for" loops.
>
> I don't understand this situation.
>
> I've read manuals and they told me
> computing time should be at least close between C and C++
>
> Does this mean that C++(or DJGPP) is not suitable
> for numerical computation?
>
> Thanks in advance
>
> Bum-Seok Hyun
> mailto:dominic AT gong DOT snu DOT ac DOT kr
>
>
>
>
- Raw text -