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:5948
Latest posts:

Operator overloading causes cout to not accept string inputs
@math1212 You say that your int main() does this: [code]int main() { cout << "works good"; //wo...

C++: Find the XOR of a closed interval of the array
[code]#include <iostream> using namespace std; int main() { int n, m; cin >> n >> m; i...

Error when iterating through template function with char
Show the code that called it. Your error message is clear as it stands - you called [tt]nucleotide_...

Operator overloading causes cout to not accept string inputs
@math1212, The snippet of code that you give doesn't even use the << operator for a polynomial, so ...

A problem involving divisors
For 70 and 84, - divide each by 7 gives 10 and 12 - divide the first by 2 and the second by 2^2 givi...