
please wait
by Ch1156
When to use const class member variables? (1,2)
|
So while doing something, I made a member of my class const, and i got errors, upon some cursory research I found i need a copy constructor, and to define my ow... |
Apr 8, 2024 at 4:52pm
[21 replies] Last: Ok, so its perfectly ok to use static const, and to make it non copyab... (by Ch1156)
|
by Jonathan100
lest shift an u8 array
|
Hi. I have an exsiting u8 array in a function (function that get u16 array as argument). How can i create a new u16 array the starts from 3th byte of an existi... |
Apr 4, 2024 at 4:47pm
[2 replies] Last: what you had is probably close. remember that c++ starts at zero. th... (by jonnin)
|
by hassan236
const keyword in function declaration
|
#include <iostream> #include <iomanip> using namespace std; const int NUMCOLS=4; const int TBLlROWS = 3; const int TBL2ROWS = 4; void showArray ( const... |
Apr 4, 2024 at 10:43am
[2 replies] Last: thanks buddy (by hassan236)
|
by PhysicsIsFun
size_t implicit conversion
|
Greetings! I have a loop that doesn't want to break when it should. for (int i = Xdata.size() - 1; i >= Xdata.size()-B; --i){ // loop body ... |
Apr 4, 2024 at 5:04am
[17 replies] Last: I swear I’m getting senile. I'm getting there first. :|... (by deleted account xyzzy)
|