olli
Because it was malformed
BinaryByter
is there something worse than indian C++ tutorials?
Anonymous
is there something worse than indian C++ tutorials?
Indians asking about indian c++ tutorials maybe
Anonymous
😆😆😆
olli
I just followed this short tutorial https://www.youtube.com/watch?v=I2-RmR7JRdc
See the red line below Betsy? It's the error you get
Anonymous
now it seems fine
Anonymous
BinaryByter
where do you define operator « for cows though?
BinaryByter
why can cout print Cow this easily?
olli
why can cout print Cow this easily?
He prints pointer to Cow
BinaryByter
oh he prints it as a pointer
BinaryByter
so its casted to a void* pointer?
Anonymous
yes
BinaryByter
but is that possible without implicit casting?
Nicola
Anonymous
so why I can't declare it as a private
Anonymous
my constructor
BinaryByter
i meant explicit
olli
so why I can't declare it as a private
Private means you can only access it from inside the class itself. main is not inside the class, so you cant access the constructor there
olli
i meant explicit
http://eel.is/c++draft/conv.ptr#2
BinaryByter
oh
BinaryByter
dafaq?
Nicola
after making the exchange, I need to make a permutation to get t
Nicola
Help me please😂
Nicola
from the sequence 10110000 I want 01101000 (both are strings)
Nicola
using an exchange function
Nicola
the original string v is copied into the string t, and the exchange is associating v [i] = t [random number] (although I should avoid duplicating it)
Silvestr
Hello guys, I need timeout function is this function are presented in boost?
Anonymous
Hello guys, I need timeout function is this function are presented in boost?
For what exactly? Maybe you find something in boost_asio, maybe deadline_timer.
Silvestr
Silvestr
and problem is in amount of actions I need
Silvestr
I don't like implementations on threads
Silvestr
it's too many threads
Anonymous
who uses sublime text ?
Dima
/ban @gouravsardana
Anonymous
so no one use 😕
Anonymous
Anonymous
so no one use 😕
Or no one who uses it is online
Anonymous
its also possible
Anonymous
or no one want to tell that they use by being silent
Anonymous
Yeah maybe
Anonymous
Or no one can't tell the true because have a problem with keyboard
Anonymous
or an admin despite the fact that he used it but prefer to keep it in secret by just forwarding my question to different directions
Dima
what’s your problem?
Anonymous
I just want to use header files in sublime text
Anonymous
#ot
Anonymous
when I compile my cpp file he can't see my own header files
V
Hi everyone. I need help, I'm playing with function arguments and getting an error. What is the mistake here?
V
Output:
V
Gdb:
V
I've tried to google this error
V
But nothing
V
But nothing
Many people wrote that problem may be in the index
V
Many people wrote that problem may be in the index
But I really don't see a problem here
Anonymous
What are you trying to do? could you show line 35:36?
Anonymous
Anonymous
You overrun the array with both for loops
Anonymous
^
Anonymous
Override
V
ShowArray() correct?
I think so because gdb said that problem in loop
Anonymous
Yes
Anonymous
You overrun the array bounds. It's for(int i = 0; i < arraySize; ++i) not <=
Anonymous
Example: You have a array with 5 elements. [0] [1] [2] [3] [4] And cause you try to write/read at 5 (cause you do <= instead of <) you overrun it. There is no element with the index 5. [0] [1] [2] [3] [4] ^
V
But
Anonymous
?
Anonymous
But?^^
V
It doesn't work
Anonymous
Ok
Anonymous
It should work. Did you recompiled it?