Mat
I am a beginner I not know the proper steps of programming language
Start reading Wikipedia and click some blue links. Then, with the general idea in mind, start to follow some online course and do basic stuff
Anonymous
Yes. I have a good channel on YT but it is in Russian(you can use subs). I can give a link if someone is interested
Mat
bast -> best ,sorry
You can edit your messages
Anonymous
Give me the links how to learn programming languages in videos
Anonymous
Someone please help me
Anonymous
Hello sir please help me
Anonymous
Don't
What's problem
Mat
What's problem
Flooding with help requests. Tag the guy you're referring to and wait
Anonymous
But solve my problem
Mat
But solve my problem
We're not here to solve your problems. You had some advices, use them.
Anonymous
In this telegram group and Indian has admin of this group
Brooks
only google
Anonymous
Anyway i wrote pm
Mat
Shutter Shy: There is two ways to learn programming. You can start from the "bottom" to the "top" or vice versa. What do I mean? "Bottom" it is learning how the computing machines work and "top" itis learning how to write code for these machines. So if you have a lot of free time I suggest you to start from the "bottom" and go to the "top". In this case you gonna understand programing much dipper then people that know only how to coding. But if you want to get job or realise your project faster you can start from the "top". You also can check this video(turn on subs). If you know nothing about programing I think it will make a sence https://www.youtube.com/watch?v=BbOkf586700
Anonymous
yap tnx
Dima
Nice
Anonymous
https://github.com/x899/hackerrank my HackerRank's solution (work in progress)
Anonymous
Hiii
Anonymous
Hiii
👋😂
数学の恋人
C++ statement: std::cout << "Square root of "<<x<<" = "<< std::fixed << square_root(x)<<"\n" What will be it's C equivalent?
数学の恋人
also how can I tackle with std::fixed in C?
数学の恋人
is %lf not correct?
Mihail
where that 5 is how what you'd set with std::setprecision
数学の恋人
oh
Mihail
is %lf not correct?
no such specifier
Anonymous
Should i ask a coding question here?
Mihail
%f is for a double
Mihail
and a float will be implicitly converted to that
Mihail
Should i ask a coding question here?
only if it's related to C/C++
Mihail
and don't ask to ask
Mihail
just ask
数学の恋人
Hmm... but on this blog I saw %lf https://fresh2refresh.com/c-programming/c-printf-and-scanf/
Mihail
so just use %f
数学の恋人
Hmm... okay so either %lf or %f is fine?
数学の恋人
Yeah I used %f
数学の恋人
What's wrong with this statement?
Dima
why there’s an empty array operator?
Mihail
What's wrong with this statement?
what are you trying to do?
I_Interface
数学の恋人
Nothing I sorted it out
Dima
dereference probably
I_Interface
dereference probably
only of 1st element ?)
数学の恋人
I should have done *data instead of *data[]
Mihail
or just data[]
Mihail
but yeah not both
数学の恋人
I was returning the whole data array
数学の恋人
actually data is a pointer to double
Mihail
*data and data[] would've done the same thing here
数学の恋人
oh okay
数学の恋人
Expected expression before ']' token
klimi
It gives error
Invalid syntax
klimi
You can't just say []
klimi
Its like saying... Give me the element no .....
klimi
Data[0] should work
klimi
Cuz its the pointer to first item
数学の恋人
Theoretically it expect an index
yeah that's what I thought
数学の恋人
So what should I do to return whole array?
Mat
data
Mat
That's the array
Mat
I believe
数学の恋人
Oh yes
I_Interface
Oh yes
what u wanna to do with this function ?
数学の恋人
I actually take input in array say n elements then I return whole array to another function
I_Interface
ah, u taking n elements and returning new array, right ?
数学の恋人
yes
数学の恋人
Apart from all this, what is implicit function?
Dima
Ah. I miss Maxi, he would say something like “use std::vector, noobs”
Dima
and then he would argue about c being a trashcan.
I_Interface
and then he would argue about c being a trashcan.
but u know, what is using of std::array is better if u can do this)
数学の恋人
Ah. I miss Maxi, he would say something like “use std::vector, noobs”
😂 If I were writing that program in C++ I sure would have used it