klimi
mhm
klimi
i warned
Shubham
ok sorry admin
i m not admin sir don't insult me
klimi
i m not admin sir don't insult me
I'm sorry admin to insult you don't ban me please
Prometheus
can someone answer this
Depends what is entered into them.
Shubham
i didn't undt
Shubham
understand*
Prometheus
If you have printf output “hello world”. Then that’s what you’ll get out of it.
Anonymous
Hi guys, anyone using nana c++ library here?
BinaryByter
and what is buffer in c and c++
it is a lot of memory at once
BinaryByter
think of a fruit basket
BinaryByter
You are only allowed to put fruits into that basket
BinaryByter
not anywhere else
BinaryByter
with a small basket, you don't have space for a lot of fruit
BinaryByter
but a bigger basket might be too big for the room
BinaryByter
Now, translate this basket to space in ram
BinaryByter
its usually used for strings
Mat
Can't you see the difference?
Ayush
I am asking for advice not asking you to do it
Mat
You asked for a ready to use code. That's work
Ayush
Sorry if you saw that way
Mat
I just read your question😅
Mat
🤔
Ayush
Okay
Ayush
Why everyone suggest to learn c first?
Prometheus
Learn java first.
Ayush
All my seniors in college and my friends
Ayush
Even teachers
Ayush
I am not able to write the code in c for audrino for gesture control on robotic hand Firstly I have spent 2 weeks in Python regarding it but it was a dead end and now the net it all out of resources just help me out hete
Ayush
here*
Francisco
All my seniors in college and my friends
Well, I'd suggest Python as a first language, and most of people I know too
Francisco
It might not be the most efficient one, but it's easy to learn and widely used
Francisco
And I love C++, but we must admit it's not the most friendly language to start with
Dima
lol
Anonymous
You're taking the remainder of player divided by 2 and then if it's true(non-0) or false(0) you're either making player be equal to 1 or 2
I see what you mean , the player++ increases player by one each time and %2 will after each increment will leave a remainder of 1 or 0
Mihail
I see what you mean , the player++ increases player by one each time and %2 will after each increment will leave a remainder of 1 or 0
Yes that's exactly the point, but if I was doing it I'd just do player%=2; and deal with values of 0 and 1 and not 1 and 2.
Mihail
And the added bonus with working with 0 and 1 is that they have a different meaning, because one has the meaning of false and the other of true, so you'd be able to write if's like this: if(!player) // player 0 if(player) // player 1 instead of: if(player == 1) // player 0 if(player == 2) // player 1
BinaryByter
its not being divided by anything
Mihail
In the player%=2 what is the player being divided by ?
That's a short version of: player = player % 2;
Mihail
It works for +, -, *, / and %
BinaryByter
and &
BinaryByter
and |
Anonymous
So let’s say player is equal to 11 , it would return a value of 1
BinaryByter
yep
Anonymous
Got it
BinaryByter
with 12, it would return 0
BinaryByter
Proving your posession of two functional eyes
Francisco
and |
And ^, <<, >>
Anonymous
How to call a function based on user input
Anonymous
Switch statement
Anonymous
Nvm
14•08
Nvm
???
Anonymous
???
I going to try a switch statement
R@JESH
Hii
Whistleblower
Assembly language on atmel studio what does .dseg and .cseg directives do
Pradeep
Hello this is Pradeep
Anonymous
hi
Anonymous
I am new here whi would suggest me which IDE should I use for c++
Hakker
can any one will make flowchart for me ;-(
Gevorg
I am new here whi would suggest me which IDE should I use for c++
I prefer Visual Studio for Windows and Eclipse for linux-like OS
CM
can any one will make flowchart for me ;-(
How do you request such a thing?
S.
Eclipse is ... cumbersome
Hakker
it can be done on MS WORD?
Hakker
ok
Anonymous
CM
ok
Maybe if I can ask if you understand what a flow chart is?
Hakker
pictorial way of representation of algorithm