BinaryByter
^
what is your question?
Daniele°
what is your question?
It's a reply for user
BinaryByter
i mean, first of all, why not store it as lvalue?
Anonymous
BinaryByter
i know, but now, what is your problem?
BinaryByter
you need to allocate some memory to it
BinaryByter
here, you are writing to unallocated/unmapped memory
BinaryByter
yes you initialize it
BinaryByter
but WHAT IS YOUR QUESTION?
Mat
Have you read the answers?
BinaryByter
but WHAT IS YOUR QUESTION?
will I ever get a question to answer? 🤔
olli
will I ever get a question to answer? 🤔
struct a{char ** b;} how to printf b ? was the question
BinaryByter
struct a{char ** b;} how to printf b ? was the question
oh. well you can't just "Print" b
BinaryByter
since it will print pointers
olli
That's what @vbextreme explained
BinaryByter
Oh he wasn't the one asking the question!
olli
indeed
BinaryByter
🤦‍♂️
olli
i mean, first of all, why not store it as lvalue?
what had lvalues to do with it though?
BinaryByter
if the values you put into it (say with a set of answers to a user), you could just print them out at compile time instead of having them in a vector
BinaryByter
in general std::array + std::string > char**
olli
don't agree... char** size is dynamic, std::array not
BinaryByter
std::vector*
BinaryByter
:P
BinaryByter
in general std::array + std::string > char**
lets add an "IMHO" before this escalates
olli
One of the things I really love about C++ that there is like no general rule, it always depends on the case
BinaryByter
>:D
olli
but, char** can be more efficient!
Vicknesh
Thank you
BinaryByter
but, char** can be more efficient!
I fear that you are right
BinaryByter
xDD
Daniele°
VECTOR > CHAR** 11!!!11
vector is for boy, char* is for man
BinaryByter
vector is for boy, char* is for man
vector is for people who know that production code cannot work with bleeding edge
BinaryByter
no
Mihail
no
BinaryByter
technically char* is a vector
char *a; a.push_back ('a);
BinaryByter
THIS DOESNT COMPILE 😢
BinaryByter
EVEN THOUGH CHAR* IS TECHNICALLY A VECTOR
Anonymous
My English is not so good ...
Anonymous
Anonymous
It's so hard for me😂
BinaryByter
its fine
BinaryByter
your english really has to be horrible in order for you to get banned
BinaryByter
sure :D
Anonymous
I come from China, and my English is not so good, I will try my best to learning English and C :)
BinaryByter
are you from singapore or from china?
BinaryByter
wait this is ot
BinaryByter
#ot
Anonymous
BinaryByter
okay
BinaryByter
poor you
Mihail
BinaryByter
the communist party in china is huge shit
BinaryByter
its pretty much a dictature
Roxifλsz 🇱🇹
Why?
Spyware everywhere
Mihail
I come from China, and my English is not so good, I will try my best to learning English and C :)
Honestly if that's your English it's great. I've seen so much worse
Anonymous
the communist party in china is huge shit
not talking about government bro
BinaryByter
I know that you can'T talk about the shitty communist party :P
Anonymous
Honestly if that's your English it's great. I've seen so much worse
I would appreciate if u can tell me the wrong when I say the wrong sentences :)
Mihail
#ot
BinaryByter
I would appreciate if u can tell me the wrong when I say the wrong sentences :)
"the errors" not "the wrong" i'd put it like "if you could tell me the errors I make"
Roxifλsz 🇱🇹
Mihail
Because this group is just for programming
Anonymous
okay, sorry
BinaryByter
Mistakes actually
oh yea, mistakes
BinaryByter
sorry
Mihail
Errors isn't that correct either imo
BinaryByter
i'M stupid 😢