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

Asking for advice
For machine learning: For C++ you can take other...

Function return issue
You appear to have at least three variables called target - in main, as a global variable in game.cp...

Function return issue
Game::print_result is a void function; i.e., by definition it returns nothing. Since out is passed b...

Why will my C++ code written in Xcode not compile on other platforms?
[code]#include <iostream> #include <cmath> #include <valarray> #include <string> using namespace std...

print a asterisk right angled triangle
[code]#include <iostream> using namespace std; int main() { int base; cout << "Enter base: ";...