Anonymous
Telegram bots are scripted using python
h1z9x8h*ehsjhgooqoap
checkout these books
Anonymous
#ot
Dima
Telegram bots are scripted using python
in fact you can use everything
Anonymous
checkout these books
Which books? Can't see any here ☹️
Anonymous
in fact you can use everything
Hope I won't be scripting a bot using JavaScript.
h1z9x8h*ehsjhgooqoap
h1z9x8h*ehsjhgooqoap
U dont need to do it from scratch,there are templates to start from.
PM
Okay,Thanks everyone
Anonymous
how to learn c than other languages
h1z9x8h*ehsjhgooqoap
Rust Go
h1z9x8h*ehsjhgooqoap
Learn C under linux with git is a good way to practise.
BinaryByter
Rust Go
Dont learn rust
BinaryByter
but go's good
h1z9x8h*ehsjhgooqoap
why Rust not?
BinaryByter
Because its another one of those modern languages that dont actually help too much?
Jussi
I have 2 methods in my class; std::string GetSessionHost() { return mSessionHost; } const std::string& GetSessionHost() const { return mSessionHost; } One of them returns a const reference to the member var, and another returns a copy of it. How can I be sure that my code calls the reference one when calling GetSessionHost ?
BinaryByter
dont use getters and setter tho
h1z9x8h*ehsjhgooqoap
Rust has a rigorous checking system to help coders advoiding errors
Jussi
the const one will be called if your class is const
My code always called the copying method, but when I removed the copying method and left only the reference method, it works now and calls it instead
h1z9x8h*ehsjhgooqoap
but anyway life is too short ,no time to learn.
Dima
What you gotta do is use your life to learn stuff
Dima
BinaryByter
If you want that, use cobol
Jussi
Nvm, my problem was simple; I cannot overload functions by return type :)
BinaryByter
why not?
they have overhead and they are justbuseless
Jussi
No shit
this was actually new to me
Jussi
yes it did
Jussi
I guess it because one of the methods was const, another was not
BSP
Did it work? As in the reference being returned for a const instance?
Jussi
No
Jussi
Well
Jussi
ofc it would've worked if the instance was const
Jussi
but it wasn't
Jussi
I created a new explicit method for returning that const reference
Jussi
with different method name
BSP
ofc it would've worked if the instance was const
I wouldn't assume without trying.
Jussi
Well I got it working as needed now :-)
Jussi
c++ is a nice language, because it is so complicated
BSP
Fun fact you can decorate a method with && just like const.
Web7 TimeLord ¤
Kaushik
Thank you
itsmanjeet
Why does print return the node?
print is for testing it is a function in my library thats why return i resolved the bug by adding static and const at some places
Shb
#ot
Anonymous
Hi
Anonymous
Anyone which can help me in programming
🐰🐾 سمیه
Anyone which can help me in programming
Ask your second question first 😂
Anonymous
😂
Anonymous
Just learn binary.😂 (Just kidding);
h1z9x8h*ehsjhgooqoap
This often involves shared libraries and dynamically loadable modules. However, the inner workings of shared libraries and dynamic loading are some of the least understood and most mysterious areas of software development.
Anonymous
Because it's a time consuming process
BinaryByter
Meh
🐰🐾 سمیه
Hi, I've a faulty C program and need someone to fix it for me. It's a 180 line program. If anyone could do it, please let me know
Dima
wouldn’t you debug it?
🐰🐾 سمیه
I can't, because it has errors
mrphyber
I can try
h1z9x8h*ehsjhgooqoap
issues are commonly the types of overflow accessing arrays, dangling pointers
🐰🐾 سمیه
Pm me please
Dima
Why won’t you tell us the errors
h1z9x8h*ehsjhgooqoap
use valgrind to check your codes
Dima
Nikolas
and valgrind is most likely overkill in this case
Nikolas
also, if she said she can't debug, I guess she means a compilation error
Dima
there’s still some error
h1z9x8h*ehsjhgooqoap
syntax error
Dima
-__-
🐰🐾 سمیه
It has may errors, I can't handle it on my own.
h1z9x8h*ehsjhgooqoap
not run time errors