User profile: lastchance

User info
User name:lastchance
Location:Manchester, England
Bio:University lecturer in engineering

Teaching: fluid dynamics, mechanics, CFD, numerical methods.

Research: computational fluid dynamics (CFD), renewable energy (marine and wind), aerodynamics, heat transfer, hydraulic engineering.

I have a first degree in Maths and a PhD in Mechanical Engineering. I do a lot of mathematical modelling in the physical sciences.

I program mainly in Fortran at work, but I enjoy improving my C++ in this forum.
Statistical data
Number of posts:5167
Latest posts:

Yet another take on "using namespace std;"
I totally agree, @seeplus! However, putting one's own functions in their own namespace doesn't get ...

Yet another take on "using namespace std;"
So, simply prepending std:: won't save me from name clashes - I would explicitly have to put my own ...

Yet another take on "using namespace std;"
So, I've dutifully not (for once) coded "using namespace std;" and I've dutifully (for once) stuck "...

Calculate Sinx in C++
Try extending the range: [code] for( double [b]d = -360 ; d < 361[/b] ; d += 10 )[/code] You've ...

Writing a matrix in text file
@telco - If the operation is [i]input[/i], you really shouldn't be calling the stream "out". - Sinc...