MᏫᎻᎯᎷᎷᎬᎠ
Yeah
MᏫᎻᎯᎷᎷᎬᎠ
You barely see something done implicitly
The same goes for undefined behavior
MᏫᎻᎯᎷᎷᎬᎠ
That is the cool part
MᏫᎻᎯᎷᎷᎬᎠ
Thread safe
MᏫᎻᎯᎷᎷᎬᎠ
Forced to make thread safe application
kλletaa
learn nim
MᏫᎻᎯᎷᎷᎬᎠ
Without the need of garbage collector
Anonymous
Haha, I just finished the functions and templates documentation part! I am loving it!
What do you mean by "functions and template documentation"?
MᏫᎻᎯᎷᎷᎬᎠ
kλletaa
learn nim
Dima
Why are you such non-sense?
kλletaa
i am reta
Sid Sun
In C++
Anonymous
Sid Sun
I think learning new things about them
Yeah, kinda. I'm starting out with C++ so I didn't know what even templates were and in functions there are some cool things I didn't know about
Anonymous
You've just read cppreference about functions and templates?
Sid Sun
Is there any specific link?
I've been using this: http://www.cplusplus.com/doc/tutorial/functions/
Nikhil
how to use vcpkg with cmake
kλletaa
Anonymous
how to use vcpkg with cmake
I'm pretty sure google knows that
Anonymous
Nikhil
I'm pretty sure google knows that
the search results were not very useful
Nikhil
read the manpage
which manpage
kλletaa
which manpage
all of them
Sid Sun
I'll fetch a C++ one tomorrow from the library
Anonymous
the search results were not very useful
https://youtu.be/KOeOLOu6nHw https://www.reddit.com/r/cpp/comments/b5r79e/bootstrapping_a_vcpkgbased_cmake_project_in/?utm_medium=android_app&utm_source=share https://youtu.be/4z2jmDr36Fc
Sid Sun
The thing is I think most of them are not up to date with the latest specs
MᏫᎻᎯᎷᎷᎬᎠ
Yeah, kinda. I'm starting out with C++ so I didn't know what even templates were and in functions there are some cool things I didn't know about
don't worry templates is a large topic maybe the largest in C++, so, there are other cool things waiting for ya, just keep this passion up
Err0rX
how can i make for loop to start it's search from at specific index and stop it to a specific index. i mean that if i have an array of 10 elements, then i want make the for loop to search from index number 4 to 7, how can i?, i searched it on web, but didn't find any specific answeres
Err0rX
c
Anonymous
c
Then switch to C++
Err0rX
is it impossible for c?
Anonymous
Anonymous
I provided you a correct example
Till
is it impossible for c?
No reason to use C in 2019
Err0rX
i know c is outdated , but i need to , if it's impossible for c , then why it's? btw i have done exactly the same thing in your c++ code (for loop), but it's not working
Anonymous
I Gave You The Solution
Anonymous
Is it so hard to just copy it to code and use??
Err0rX
oh sorry i thought your code is for cpp
Anonymous
Err0rX
ok i am trying now
Err0rX
nope
jack
i need this output in c
Anonymous
Good for you
Dima
i need this output in c
Read the rules before posting
jack
i wrote a code to make that given string(placement) to ementplac
jack
Read the rules before posting
yeah i know those rules
Anonymous
yeah i know those rules
Then you deserve a warn
jack
i already wrote a code
jack
just stuck
jack
m not asking for the whole program
Err0rX
const size_t begin_index = 4; const size_t end_index = 7; for (size_t i = begin_index; i <= end_index; ++i) { ... }
your solution is correct , thanks for the solution, but why you used const to constant the value, and why you used size_t ? it's just represents the size of an object in byte
jack
let me send my code
Dima
yeah i know those rules
no you don't
Dima
jack
no you don't
how can you say this?
jack
i mean on which basis.
jack
?
Dima
how can you say this?
posting photo of screens is not welcomed here, much better if you post a screenshot
Err0rX
It is a good practice to use const whereever it is possible
you mean it can stop like buffer overflow stuffs?
Anonymous
It is just a good practice
Anonymous
Hopefully you'll understand it when you get more experience
Err0rX
ok thanks for the tip i will try to use const in my practice, and one more why you use size_t
jack
Anonymous
/report
I_Interface
/report
I_Interface
xD
I_Interface
/report
sync xD
Ariana
/warn read rules my eyes are bleeding from so much blue