shreyas
Shall I start with Python, I am still noob
Anonymous
All noobie here?
Vladimir
Shall I start with Python, I am still noob
No matter what language will be first. You definitely change it later.
Anonymous
Can anybody tell me what that is: const function<void(vote_row&)> updater
Vladimir
But I would recommend not take VBA as first
Anonymous
why function with <>
Anonymous
I only see template has <>
Anonymous
don't mess around
Vladimir
Can anybody tell me what that is: const function<void(vote_row&)> updater
Seems like we are 3 here online, and I can't answer. Wait till others wake up :)
shreyas
Anonymous
youtube
shreyas
See this telusko. How is it??
Gradus
Sid Sun
See this telusko. How is it??
Not really a python group
Sid Sun
You may look at The Devs network, they have one
klimi
Can't people read nowadays or what
Artöm
const function<void(vote_row&)> updater Is this a function template? but it's missing template keyword.
No, it's a regular function. It return type's called function and has template argument of type void(vote_row&)
Pavel
how much slower can be memcpy of 256 bytes comparing to assigning to an int variable (both on the heap)?
Pavel
Just wondering how slower can it be
Dereje
#cbook
Anonymous
Since cin is an object of istream and it is used for taking input, then why can't we use the object of istream to take inputs in cpp?
Anonymous
Like: int x; istream k; k>>x; Why is this wrong?
Anonymous
Since cin is an object of istream and it is used for taking input, then why can't we use the object of istream to take inputs in cpp?
I think because cin is the predefined object of istream class some manipulations and adjustments has been done after declearing it.
Anonymous
I think. Please be sure.
Anonymous
Can anyone tell me how to execute if and else statement at the same time without using go-to and dont write the printf statement at if condition ?? Solve it??
Mat
if and else at the same time?
Anonymous
Yess
Anonymous
It's tricky
Mat
What do you mean?
Anonymous
Just suppose we want to print hello world and hello in if statement and world in else statement and output should be hello world
Anonymous
Like: int x; istream k; k>>x; Why is this wrong?
because basic_istream doesn't have a default constructor
b4kn
how would you output "Hello" without printing "Hello" in if condtion?
b4kn
Can anyone tell me how to execute if and else statement at the same time without using go-to and dont write the printf statement at if condition ?? Solve it??
Anonymous
Ya but inside it on the if statement part not in the condition part
Anonymous
The basic question is that u just have to execute the if and else statement both at the same time
b4kn
I can't understand what do u mean
b4kn
at the same time only with multithreading I think
b4kn
Or u mean just execute "if" and "else" both?
Anonymous
If and else both at the same time
Anonymous
The statement inside the if also executed with statement inside the else part
Giri
C/ phython which is best for automation industry
b4kn
ok. at the same time, but for what u wanna execute both if-else? just dont write if-else statement
Anonymous
No no it's just a tricky question I want a annswer of it
Anonymous
If you able to solve it then share the code with me
b4kn
okay, I think I can do it
Anonymous
Ok so share me the code as soon as possible
b4kn
but using c++ #include <thread>
b4kn
or do u wanna c code?
Anonymous
Yess
snoden
Anyone here to teach me C lang?
Anonymous
??
Anonymous
Can you do it without using thread
b4kn
I think, u cant do it without multithreading or multiproccesing
Anonymous
Just use any type of logic at if condition
Anonymous
You just send me the code when u will complete it
b4kn
when compiler look at if-else statement, it at first chek if conditions THEN go to else. Really, I do not know how to do it without parallel programming. Maybe someone else will help u
Anonymous
Okay fine
Anonymous
Thanks
Jian Yang
https://del.dog/olevarunun.cc Can someone review this code. I intentionally wrote this for ascending order but the O/P is in the opposite, anyway I'm getting the answer. But not sure about why it acts so. Or am I the one not seeing things clearly. Pls let me know what have I done wrong
Jian Yang
Thanks in advance!
Vladimir
Will check, thanks man
Try to picture algo on the paper and get what's going on each iteration
b4kn
Do you know other chats about C++ in Russian or English?
b4kn
share plz
klimi
share plz
Cant you search for them....
klimi
Why do i have to work as a slave
klimi
Developers are lazy so they make programs to make their life easier
b4kn
I searched but nothing
b4kn
I thought ur a member in those chats
Vladimir
Cant you search for them....
In fact I also don't know how to search for tg groups on the net if you are not already part of one with links to others. I tried, honestly, and only could get here by way "ask friend -> invite to js club -> invite to cpp club -> invite here".
klimi
Telegram dictionaries exists