Renan
You've already completed the CAPTCHA! 😊
kodes
Is it right decision to stop learning c and start learning c++, as I want to learn DS & algo and do competitive programming
Its quite same except for pointers I think, the concepts are exactly the same so you can just take a quick look at c++ basics it won't take any time and then start ds algo.
Nils
Iterating is the proper way.
Vlad
std::copy
Zel
If in doubt iterate. Also if you really just can't do it any other way if statements. Then look at the if statements if you see a mathematical pattern that can collapse them in a single line of code using another function, you found your answer.
Zel
Declaring your control variable outside the loop allows you to start or stop the loop from outside it, although that would require a separate thread and would not be thread safe.
Zel
¯\_(ツ)_/¯
Vlad
If we're talking about pthread/std::thread
Pavel
Is there an easier way to write a transfromation from map to vector using ranges? Note transformRangeOld and transformRangeNew functions https://wandbox.org/permlink/bSDC9xF5LQZbswE3
kodes
Does anyone know flutter here? I just want to know your opinions on the scope of flutter in future.
Wojak
Does anyone know flutter here? I just want to know your opinions on the scope of flutter in future.
Doing only Flutter without knowledge of Java and Kotlin for Mobile application development is same as just knowing Python and calling yourself programmer/developer. What I mean to say, Whenever you want to enter a domain it should not be on the basis of Meta-programming,templates and libraries. The hard-code way of developing logic instead of learning readymade libraries should be prioritised. You can forget the library/template but not the logic.
Wojak
Practise C/C++ well then Java/flutter/javaScript ( or as newbies like to address Node.js,angular.js etc directly without knowing JavaScript) ,flutter,Kotlin,python is all different syntax with a minor add-ons.
Wojak
Also newbies are inclined towards learning more languages then developing logic or having command over any one and tend to show off as if that's something great. Learning Syntax of different languages and coding EFFICIENTLY in different languages are two completely different things. Hope it helps you.
Wojak
So if You can built apps using Java then Flutter is an upgrade. Else it's memorizing libraries
kodes
Thank you so much for this. It was really helpful. I would just like to get some advice what would be better for me according to my current status. I have learnt c++ and for android development I thought of learning flutter but now as you said it would be better to learn the logics first so for that should I first learn java?
Wojak
You should avoid saying I have learned C++ and instead say I practise C++ . This would help you alot in interviews and if not, in groups like these where you can be thrashed for saying that. NO ONE HERE OR IN THE WORLD HAS COMPLETED C++.
Wojak
Coming to your Answer, develop the logic first, understand the working. Even if a template for a problem is avalable and you are solving that for the first time, try to do it the hard code way. For example, if you don't know how sorting works say in an array , then for the first time you should solve it using any sorting aldorithm. Then you can solve it using template sort(arr,arr+length); (Just an example to tell you what I'm trying to say) So if any language that allows you such practise and is not complete Template Based or encourages meta-programming Like Python( I hate it so sorry for using it repetedly for example) , then you can use that wether that be Java,Kotlin or Flutter
Wojak
👍👍
Čьrnobogъ
hello
Merazi
hello
Welcome
Anonymous
@PrakashKumar756, well, am I a joke to you? https://t.me/programminginc/323459
V01D
Uninitialized variables are not a good idea
Dima
Damn, roasted python there.
Python is certified crap
Anmol
So if You can built apps using Java then Flutter is an upgrade. Else it's memorizing libraries
So you're trying to say that one should know java/kotlin before learning flutter?
数学の恋人
I don't know a jackshit about Java or kotlin, but I do know dart and flutter framework
数学の恋人
ah that's nice, I just corrected someone I get warned, while there was whole lot of conversation going on about the same topic then nothing.
Anonymous
Can anyone help me with good books for learning c++ as a beginner
Renan
Can anyone help me with good books for learning c++ as a beginner
Beginner regarding C++ or programming in general? 🤔
Noarch
Do you guys use any c++ learning softwares for beginner
Monday Morning
Can anyone explain what is the difference between NULL and nullptr , Please ?
Igor🇺🇦
Can anyone explain what is the difference between NULL and nullptr , Please ?
I https://stackoverflow.com/questions/20509734/null-vs-nullptr-why-was-it-replaced
Whistleblower
Has anyone worked on cross compilation? So can you provide me with proper docs or the technique to learn cross compilation. It would be a great help.
Anonymous
google cmake
Nappu
pls explain arrays
Anonymous
pls explain arrays
/warn google it
Whistleblower
google cmake
Thank you so much . Have you ever done cross compilation of any python based library to gcc?
Alex
what is your issue?
Alex
just use target gcc compilator
Anonymous
No, I barely use python, mostly for web crawler
Whistleblower
what is your issue?
Actually I want to learn about cross compilation.
Alex
cross compilation - compilation for another target architecture. just take target compiler and start
Whistleblower
Yes I read the doc of cmake so I came to know this .
Whistleblower
I have used some frameworks where I faced this cmakelist.txt files in which the target was written .
Alex
cmake is not required to do cross compilation
Whistleblower
So I was a bit interested to learn to about cross compilation and how we do this practically
Whistleblower
@kasha131 can I pm you , if you can share some knowledge regarding this.?
Alex
I don`t have much knowledge, not ready to provide lecture. I can`t see great difference, just compile as usual using another compilator
Whistleblower
Hmmmm ... I see
Nils
No because it's easier to show like this
Anonymous
How to run any code for unlimited time as user input and output ?
Anonymous
Suppose user wants to check a number is even or odd for unlimited times
Anonymous
So what's the problem?
Anonymous
Enclose the code in a while(true)
Give a basic program with that
Anmol
Give a basic program with that
🤦🏻‍♂️🤦🏻‍♂️🤦🏻‍♂️🤦🏻‍♂️
f0xeri
Google it
Anonymous
while(..?..)
Anonymous
while(..?..)
while (.!.)
f0xeri
While what u want
Anonymous
While what u want
Yea ok got it
🧬
🧬
is this even legit code style?
Accel
Lol...😂
V01D
Do you guys use any c++ learning softwares for beginner
The only software a C++ programmer needs is a compiler and an IDE