Pavel
It will be much better. aint it?
That depends on the task, but if you need to find key-value pairs, map or set looks better
Liam
but it is like building an apartment with a hammer and some woods
It depends on specific situation. The problem I faced is a already-built online search engine (in C++), and a required to-be-built debug system, which is bind closely to the existed search engine. In this situation, building the debug system (web interface) with C++ is very natural, since every message required by the debug system is internal state of the search engine, and thus could be extracted easily with the engine itself.
Anonymous
Hi, im learning threads in C++
Anonymous
But im seeing that pthread isnt available to windows..
Anonymous
I have found the pthread-win32, may you have some documentation?
Anonymous
that this is for windows
Anonymous
Anonymous
Somebody there?
Anonymous
Wich librarie contain it?
Anonymous
Anonymous
ohh ok...
Anonymous
ohh ok...
Google for it
Anonymous
I found it
Anonymous
Do you have some good book?
Anonymous
about this topic?
Anonymous
about this topic?
cppreference.com is good enough
Anonymous
ohh documentation...
Anonymous
Thanks bro...
asura
test
Anonymous
Can anyone suggest me a project on big data??
klimi
Hmmm, create maps app
Anonymous
Prediction of disease
What type of disease???
Anonymous
What type of disease???
Like diabetes or heart
Anonymous
It's simple... Look on Github
Anonymous
Anonymous
Every one is doing it
Anonymous
Yes
Anonymous
Every one is doing it
In which college you??
klimi
Meanwhile I am doing robot arms
klimi
Weeaboo
What did you say?
Anonymous
Wibu
klimi
Wibu
What?
Ilya
Google for it
Don't Google, cppreference it!
Ilya
Hi, im learning threads in C++
Use std::thread, since c++11. Read Antony Williams book.
Anonymous
UwU
What is this??
Anonymous
Great
Anonymous
Anonymous
Anonymous
Dbit Dehradun
Love dehradun
Anonymous
OwO
Anonymous
Can anyone help me with error flag
Anonymous
In c programming
Francisco
#meta
Lionel
i and iii are correct. But will Copy const be called if an object is passed by reference as a parameter to a function?
Anonymous
Yes
Lionel
So all three?
Anonymous
III is not correct
Anonymous
II is not correct
Lionel
Base obj1 = ob2 //constuctor is called
Lionel
so i alone?
Anonymous
Maybe your test is old and III is aslo correct
Anonymous
But now it is not
Lionel
what is an object returning from a function
Lionel
it means we are using reference to that object?
Lionel
after deleting one pointer initialised by another pointer, we can't access both the memory location right? both P and Q becomes dangling pointers ?
Lionel
No, will not
so i and iii, per se?
Ilya
so i and iii, per se?
Yes, but (iii) has a special condition. If RVO is not used, the constructor will be called. If RVO is used, constractor call can be omitted. So, in (iii) a constractors MAY BE called, not ARE CALLED.
Ilya
you can access it, you are not right.
You can access the memory but this is UB.
Lionel
yes , becomes dangling.
We can access. But it will refer to some random value?
Lionel
Got it👍
Ilya
actually I can't understand the last option
Why are you sending this? You either study or make yourself self-check. Listening like others answer is useless
Lionel
I try not to send pics often. Wasn't able to interpret the third option. So had to send.
Lionel
Okay👍
Artöm
III is not correct
[n]rvo you mean? It is rather limited. In general copy/move is performed
Artöm
Just have noticed move wasn't mentioned
Artöm
98 test than, 1 and 3 the answer