عزة
Yes.
its just seven zero ???
Serhii
you mean 00000001 is 2^0 00000010is 2^1??
Just like 0001 is 10^0, 0010 is 10^1, 1234 is 1*10^3 + 2*10^2 + 3*10^1 + 4*10^0
Григорий
its just seven zero ???
It's just example.
عزة
why 1234 is 1*10^3 no 1*10^4??
sorry now Iunderstand you 😅
Serhii
sorry I donot understand you !! again please
If you have number with digits a1 a2 a3 a4 ... an(1245 : a1=1, a2=2, a3 = 4, a4 = 5) in base P, this number can be represented as: a1*P^(n-1) + a2*P^(n-2) + ... + an * P^0
Serhii
why 1234 is 1*10^3 no 1*10^4??
Because power goes to 0
Serhii
is p any number?
Yup, it's just a base for numeric system. We use as base 10, computers use 2
-_-
~0 is -1 0 in binary 00000000 ~0 in binary 11111111 11111111 in decimal ? ? ? confusing here
Serhii
and you can use 8 or 16!?
16 is very often used by computers
Serhii
and you can use 8 or 16!?
You may see something like 0xf130da35e
Serhii
You may see something like 0xf130da35e
If number starts with 0x, this usually means base 16
Serhii
In c++ it always means base 16 number
Serhii
Also called hexadecimal
Serhii
in programs!?
https://ideone.com/0MPLjm
Artöm
11111111 is -1 ? how ?
Read how 2's complement works
Asdew
This is a very good resource on that: https://www.cs.cornell.edu/~tomf/notes/cps104/twoscomp.html
Anonymous
U1=1 U2=2 Un=2 (Un-1+Un-2) (for n>2) Write function return nd terme in this suite Please some1 help me
klimi
Ah Fibonacci
Anonymous
Anonymous
Ah Fibonacci
U know answer
klimi
Yes
Anonymous
Yes
So give me😂
Dima
Solve it yourself
Dima
me first
klimi
*sigh*
klimi
me first
*pat pat*
Ludovic 'Archivist'
Klimi love purges, he would make a great leader of CCCP ⸮
Mar!o
Nitin
Hi
Timothy
Hi
klimi
Hi
Sid Sun
Anonymous
Hi
Hi😊
Nitin
Hi
Anonymous
Hi
How are you
Nitin
Fine
Anonymous
Fine
Where are u from
Nitin
And you
Anonymous
And you
Super
Nitin
India
Nitin
Hi
Dima
discuss this in private
Dima
this is ontopic group
Anonymous
Nitin me too I'm studying cs😊
Nitin
Nitin me too I'm studying cs😊
Aisha I have text you personally
Anonymous
Igor🇺🇦
I would love to share with you that I've reported your message as spam. Don't contact me even if you're interested
klimi
first
Dima
/ban Sharing my ban with you
Dima
Nitin
/ban
Dima
/ban
You want some?
I_Interface
Anonymous
some c/c++ discussion was going on?
Anonymous
anybody wants to work on some c/cpp project for fun and learning purposes?
Anonymous
Me
we can discuss details in pm if you are interested
Anonymous
ok, If anybody else wants then feel free to send me private message, I am free these days so maybe we can work together on some project
Francisco
anybody wants to work on some c/cpp project for fun and learning purposes?
You can always collaborate on already existing projects. I have personal open projects thateverybody is welcome to collaborate
Francisco
One is a rubik solver. The other two are libraries for polynomials and modular numbers
Anonymous
sounds interesting, what languages are you coding in
Nitin
/sizeof
Joo
Hello everyone
Anonymous
welcome joo
Joo
welcome joo
Thank you
Anonymous
Thank you
wanna share your expertise or experience in c/cpp?
Joo
wanna share your expertise or experience in c/cpp?
I am a beginner so i dont know much