Nikita
if you wanna learn c++
Dima
ohhh I see
Dima
look
Dima
perhaps
Dima
qsort(ptr, right + 1 - left, sizeof(int), &arraysort::compare);
replace sizeof int by T, because its size of item
qsort(ptr, right + 1 - left, sizeof(T), &arraysort::compare);
Nikita
and i know a interesting way to learn c++ sometimes more funny (imho) is competative programm
Nikita
oh no
Nikita
basic has more perspective i'd like to try that👍
Dima
qsort third parameter is a size of element in array
Vinayak
Vinayak
👍
Vinayak
Anonymous
👍
Anonymous
When did you learn C++
sAntHoshH
hyp3rbor3ax
hyp3rbor3ax
But something is still wrong, the second array is sorted wrong
hyp3rbor3ax
4.1 2.1 6.1 1.4 -1.2 -0.2
-1.2 -0.2 2.1 1.4 4.1 6.1
harry
anyone want to code review my rudimentary linked list implementation?
hyp3rbor3ax
Ok, I changed it back to my initial compare
hyp3rbor3ax
And now it works O_o
harry
Dima
oh yes replace previous compare method
Dima
forgot to tell
Dima
idk why did I compare pointers KEK
Dima
Dima
brain melt
hyp3rbor3ax
I don't like pointers -.-
hyp3rbor3ax
CPP is a horrible language
Dima
you'll get used to them
Dima
it's great
hyp3rbor3ax
Does Rust have pointers?
Dima
yes it does
Dima
perhaps even high level languages have something alike it
Dima
nullable in c#, optionals in swift
hyp3rbor3ax
Thank you very much for your help!
Anonymous
Hi guys
Bilol
Hello bruv
Anonymous
I am a programming begineer i have completed c basics and want to start with android app devlopment but i'm confused that should i directly start with java basics than android or learn c++ first i would be pleased if someone could help me decide
Anonymous
hyp3rbor3ax
Why not Kotlin?
Riyaz
Lab manual for c and c++ send me
Anonymous
Why not Kotlin?
Should i directly learn that language or consider learning c++ or java first
hyp3rbor3ax
You need to know OOP Basics, but I think in a good Kotlin tutorial/book they should be also covered.
Anonymous
Nikita
Try to stsrt learning smth that uses oop
hyp3rbor3ax
I just googled a little bit. Seems like it's recommended to learn java first.
Nikita
Yeah
Nikita
Because java uses it everywhere
Nikita
In c++ you have choice
Anonymous
Anonymous
Anonymous
Is it good for it
Bilol
Guys it would be nice if you load books about Java
hyp3rbor3ax
libgen.io
Nikita
Phylosophy of java book
Nikita
The best choice
Mikhail
All IT eBooks
Bilol
Thank you
Ибраги́м
Bilol
Says Nikita!
Nikita
If you like games try libgdx - library for java for simple(@nd enough complained) games
Dima
you can learn by open sourced engines
Dima
UE, Godot so on
Nikita
In ky opinion interrsting way to learn oop(with book ofcrs)
Bilol
k=m
Nikita
Igor🇺🇦
Why not Kotlin?
Why? Java has much better and widespread documentation and more code is written on it. And from my understanding they are practically the same
Igor🇺🇦
At least very similar
Ибраги́м
Why not?
Who says that book is the best ?
Nikita
https://www.google.com.ua/search?client=ms-android-huawei&ei=bJQNW4bhMsb-sQG817nwDw&q=thinking+in+java&oq=think&gs_l=mobile-gws-wiz-serp.1.0.0i67l3j0j0i67.13369.14607..15271...0....99.414.5......0....1.......3..41.c6LUbxeLfkk%3D
Nikita
Nikita
Nikita
Of course c++ without libraries not enough helpful
Nikita