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
Gender:Male
Occupation:Teacher
Skills:C++
Python
Fortran
MPI
History
Joined:
Number of posts:6939
Latest posts:

print the content of your program's source file to console, without user inputting the file name or giving it in source.
[quote]is there scope of (philosophical) debate[/quote] There's no way that is a squirrel!

print the content of your program's source file to console, without user inputting the file name or giving it in source.
[code]#include <iostream> #include <fstream> #include <string> using namespace std; int main() { ...

What is the "z" prefix in string literals?
It's just possible that it somehow got confused with the 'Z' part of a "BOZ constant" - correspondin...

how can replace and add to array
Either use a std::string or a vector<bool>. Then you can corrupt your messages to your heart's conte...

how can replace and add to array
[quote=Hawlong]Output: 10011100010000 I want change out put like this [ by code] : 110111000100010[...