Loner〽💻
hi..how does one convert a double to LPSTR??
Anonymous
hello
Anonymous
I need help with an assignment can anyone help. I dont know where to start
Shashank
Hello guys, I just wanted to know where I can learn C++ online. All suggestions are welcome, thanks!
Shashank
Thanks a lot vivek
Shashank
Does hackerrank have c++ material too? I thought it was for comp. prog
Yty
Yes you can practice c++ questions on it, which will help you to learn new algorithms..there is a separate portion in it for c++
Shashank
Oh I see
Shashank
Is gfg enough to prepare and get started with (at least) basic competitive coding for c++?
Yty
Is gfg enough to prepare and get started with (at least) basic competitive coding for c++?
More than enough ...if someone practice it well..it has from basic to advanced data structures like graphs, tries etc..
Shashank
oh wow
Shashank
Thanks for the valuable info vivek
Anonymous
If you're just getting started, I guess getting familiar with the syntax and the language tools is the first thing. Codecademy is a nice starter for that. Competitive programming is more about logic building than language specific implementation. If you understand the algorithm, you can always infer it to the language you prefer given you understand it well. Gfg is good as a reference since it does contains code snippets for c++ as c++ is one of the most used languages used in cp. Else, you could try codewars.com if you want the problems to be randomized.
Anonymous
It's not good for a beginner
Anonymous
Unless you want to be a competitive programmer
Anonymous
One good platform to learn c++ is exercism.io Open-Source, community driven. Might be a little messy for the start but once you understand the build and test system, it's a great place to learn. You can even contribute to it later if you wish to.
Shashank
thats awesome
Shashank
will have a look
AL
Welcome to my channel Qt Notes https://www.youtube.com/channel/UCJYAXPO91iPFpY-62NjzdKA
Anonymous
Hey guys
Anonymous
So string. Push_back inserts character at the end ryt? !!
Anonymous
Is there a push_front function so it can add string to the front of a string
Anonymous
Int main() { Std::string str="12345"; Std::stoi(str); // no error here Std::stoi(str[0]); // error why? }
Anonymous
Anonymous
Char is not a string
Anonymous
Ohh i see, so is there a char to integer function?
Anonymous
And you trying to use function that coverts string to int for converting char to integer
Anonymous
Ohh i see, so is there a char to integer function?
Yes: my_char — '0' That's it
Serenity
Hey , I would like to improve my c skills. Whats the correct way to do that ? I am now taking an academic course which provides a basic background.
Serenity
But my programming skills are certainly of low quality.
Asdew
Just program.
✍🏾👨🏾‍💻G(T)<=>K(S)⚽️🏃🏾
Serenity
Have
Anonymous
Do you efficient source ?
Depends on a language you&#39;re asking about
Serenity
C
Anonymous
C
#cbook
Anonymous
hihi
Del
HI, I have an English text that can not really understand. Can anyeone explain the text below in plain english to me? &quot;He grows flowers as well as vagetables.&quot;
Del
I&#39;m not an english native speaker.
Anonymous
Hi
Hermann
is possible use uint8 type in macros in c?
Hermann
is possible use uint8 type in macros in c?
is #define K1 (uint8_t)5 good?
Pavel
Is there any pragma setting -std flag?
Anonymous
Pubg
Anonymous
Is there any pragma setting -std flag?
Why do you even need that?
Pavel
testing system has a bug: if there are any warnings, no protocol of testing is shown
Pavel
but I&#39;m used to decomposition declarations of c++17
Anonymous
Code with the standard you have Competitive programmers must suffer
Anonymous
)))
SouRAbh MEenA
anyone send &#39;let us c&#39; book solution
SouRAbh MEenA
if(available)
TalkSick
vector&lt;int&gt; vec = { 10, 20, 30, 40 }; auto it = vec.insert(vec.begin(), 3); What value does &quot;it&quot; stores ?
Pavel
Anonymous
I think what you should look at is what iterators are and how do they behave in c++. ``it`` stores the iterator pointing to the inserted value in this case, which is the start of the vec.
Anonymous
Eh markdown in tele is messy :[
Pavel
triple `
Dima
Eh markdown in tele is messy :[
use tripple or single quotes
Anonymous
Inserts a newline
klimi
inline