I'm writing a program and have a function named "move". But it's highlighted in my codeblocks? Is move a reserved word in c++? If so, what does it do?
I have it as void move( double t, double u)
It's not a keyword, but there is a commonly-used standard library function called std::move
; whoever set up your IDE's syntax highlighting decided to highlight it.
To avoid confusion with people reading your code, it'd be a good idea to call your function something else.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With