klimi
eg what is 3! algorythm: it is 3 * 2!
klimi
and what is 2! ? 2*1!
klimi
1! ? = 1 (hardcoded)
klimi
so with n it would be n! = n * (n-1)!
Рома
okey, thanks
Рома
I`m going try it
Anonymous
Nameful
what is that thing even?
Nameful
What?
the one in the back
Anonymous
It is Microsoft's one It were automatically generated in older versions of Visual Studio
Nameful
ohhh
Ilya
Hi Guys. Please, how can I read hex value (e.g. 0E 7F) from a file and easily convert the value to binary (e.g. 111001111111)? in C++
what for binary form, I'd better just create a table of all 256 binary values of each byte value and by means of this function-table convert each byte of value to binary. or this can be applied to semi-bytes
klimi
o.o
NEN
Just now I learning c programming...
I am studying C programming as well
Ilya
Ok. That's a nice idea. I thought there is a built in funciton to do that
Another possibility is https://en.cppreference.com/w/cpp/utility/to_chars
binary
itoa
This did the trick. Thanks 🙏
Ilya
This did the trick. Thanks 🙏
Note that this is not ANSI standard function
binary
Ilya
Please, what does that mean?
this is non-standard function that can be absent in the other compiler.
Jussi
You can implement your own itoa
Jussi
If it is not included
binary
this is non-standard function that can be absent in the other compiler.
I have another challenge. I have a plain text file with one line HEX value of example “1F AF 00 55 5D” and I want to pick this value and then XOR it recursively to finally get one value. Meaning 1F XOR AF XOR 00 XOR 55 XOR 5D Please, can you help me out on this?
klimi
Well you explained it
binary
Fight for it!
True 😎😃👌
Anonymous
someone friendly enouh i need a project with source code on shool or hospital management
Anonymous
Write it yourself
just a humble request..if you not willing just assume kindly
Anonymous
Azzam
🔥
Sasuke
Hi
Ибраги́м
https://www.youtube.com/watch?v=0vJXQ2VOzEs
Sasuke
I wanna learn c and then c++ What's the best way to learn. Should I go for books or videos? Suggest me with names. Thankyou
Sasuke
Whatever you like
Does book over videos or vice versa makes any difference?
Nameful
I think videos are better for getting started and books better for deep-diving into subjects
Artöm
Like 99%
Nameful
Most videos are shit
why do you say so?
Artöm
Save your time and read a book fully
Sasuke
Save your time and read a book fully
C primer plus is that, what you were talking about?
Artöm
I think videos are better for getting started and books better for deep-diving into subjects
This exact statement might be true. But I can recommend some good books but no videos, probably because books suffice for me
Sasuke
YouTube tutorials Will help
Any specific channel you likes
Artöm
Then one might be interested in discovering particular corner cases, which is good via some blogs (eg foonathan) or conferences videos (cppcon, cpp on sea)
Artöm
Thing is, such blogs and videos are completely useless for a novice
Artöm
With rare exceptions, like 104 std algos in one hour video from cppcon. Btw watch it if you havent already
Sasuke
Ok how is Let us c and C programming language by Dennis Ritchie I heared their names very often
Artöm
C programming language is C bible. Good book for documentation and language observing, also good but not the best book for learning
Artöm
#cbookguide
Artöm
Screw you Rose
Artöm
#cppbookguide
Sasuke
Check link above
It's guide of c++
Artöm
You want to start with C?
Artöm
It's guide of c++
Here you are https://stackoverflow.com/questions/562303/the-definitive-c-book-guide-and-list
Ilya
I think videos are better for getting started and books better for deep-diving into subjects
Videos are best for watching stupid films like Avatar, IronMan etc. For studying -books
Ilya
How?
Read some c++ study book like Prata or Limpman
Tony
I'm a first year IMCA student
Ilya
why do you say so?
Because most videos are shit
Tony
I'm having problem with c
Nameful
Because most videos are shit
would you elaborate?
Tony
Please help me