Dima
no
Dima
it’s not an ide
Adkhambek
CLion
Hi. Can you install RxCpp on CLion
Anonymous
O
klimi
Which ide is better for c and c++
whatever you like or others you around you
Anonymous
From clion and qtcreator Which ide is open source
klimi
qtcreator
Dima
bruh asking questions about ide lol
Anonymous
Thanks
Dima
why not just to try it
Anonymous
I have a question
Anonymous
If I set an integer value to a char type variable doesn't it assigns the variable with the char having the ASCII value of that integer
Anonymous
?
Anonymous
or is there something else happening?
Anonymous
oh
Anonymous
but it changes the int value into a char
Anonymous
which encoding system is used for doing that?
Anonymous
ASCII or something else
I_Interface
which encoding system is used for doing that?
Only ASCII, C++ doesn't support fully UTF-8 for now.
Anonymous
and what if I give an ascii value that isn't assigned with any char
Anonymous
does it creates a NULL char?
Anonymous
i tried
Anonymous
and it using printf it show nothing
Anonymous
is it NULL or something else?
Anonymous
*used printf it showed nothing
I_Interface
is it NULL or something else?
Try to debug it and watch what variable contains inside.
Anonymous
ok
Anonymous
👍
Anonymous
ASCII or something else
C is byte oriented. It will stores everything in bytes. printf will send a byte stream to standard output. It is up to terminal / output device to interpret bytes
Anonymous
thanks
Anonymous
and the outcome was same as what you said
Anonymous
%x showed a %c showed nothing
Anonymous
but %f showed 0.00000
Anonymous
why?
Anonymous
oh and %d showed 10
Anonymous
because float is of 4bytes?
Anonymous
%x showed a %c showed nothing
any char will be converted to int whenever is used in printf or any other function with variable argument list (in C, not C++). So it is safe to use %d or %x for char type, however it is recommended to use %hhd and %hhx
Anonymous
but %f showed 0.00000
it is undefined behaiviour
Anonymous
❤️
Anonymous
can you explain broadly (%f). couldn't understand that one
Anonymous
oh I found out googling
Anonymous
thanks again.
Anonymous
Hi
Anonymous
hi
klimi
hi
MilkBeforeCereal
hi
Anonymous
Hello, World!
klimi
Anonymous
?
Dima
oh finally
klimi
Nicu
Anonymous
??
Pawan
Bye bye !!!
Anonymous
hey
Anonymous
I'm currently reading The C Programming Language The Ultimate Beginner’s Guide By: EasyProgramming Publisher
Anonymous
which should I read next?
Anonymous
to learn C.
Anonymous
more deeply.
Nameful
Anonymous
any book for algs?
Anonymous
can you suggest me any?
Anonymous
Anonymous
is it a device's kernel's source
Anonymous
or ?
Jaaziel
?
I am in the same and I repeat your sentense. We use it in spanish social
Anonymous
??
Anonymous
ill be back in a minuette
Dima
lol what a nonsense
Jaaziel
Anonymous
which should I read next?
ISO 9899 http://www.open-std.org/JTC1/SC22/wg14/www/docs/n1256.pdf
Jaaziel
:0
Anonymous
Thanks A
Anonymous
hello there!
Anonymous
cortana: hi there
Anonymous
is a admin here?
Anonymous
i habe a problem