Isc
no need to touch OpenGL
Nomid Íkorni-Sciurus
pros and cons over sdl ?
Isc
SDL is C
Isc
is old, you need to manage memory
Isc
and 2D api is a extension, that is not complete and needs to touch renderers and textures for using images etc
Isc
SFML is sprite-based
Nomid Íkorni-Sciurus
Hm...
Isc
SFML is better, basically
Nomid Íkorni-Sciurus
then why is it still being used ?
Isc
because the portability, SDL can be ported easily as its C
Isc
for webassembly for example, and for SFML it would be more complicated (but possible)
Isc
if you dont aim wasm, go SFML
Nomid Íkorni-Sciurus
My target would be windows/linux, mainly on x86_64 cpus
Nomid Íkorni-Sciurus
Ok, I'll give SFML a try
Nomid Íkorni-Sciurus
Isc
cool :D
Anonymous
Persian member plz come p v
Anonymous
Well I m weak in pointers...Any suggestions for improvement
Nomid Íkorni-Sciurus
Suppose you have a classroom where every seat is labeled with numbers from 0 to 256.000
Nomid Íkorni-Sciurus
The person A seats at position 8
Nomid Íkorni-Sciurus
So &A is the pointer to A, which means A is the person seated at &A: &A is 8 (which is the pointer)
Nomid Íkorni-Sciurus
The classroom is the memory and &A is... where the contents of A begins (you may want to label more than one person with "A" as you do with C strings, that is "hello" => 'h', 'e', 'l', 'l', 'o', '\0')
Roxifλsz 🇱🇹
Nomid Íkorni-Sciurus
harry
pointers and addresses arent the same thing, are they
Nomid Íkorni-Sciurus
so yes, &A is the address aka the pointer
Nomid Íkorni-Sciurus
no
how is that wrong?
harry
the pointer has its own seat in your stadium
harry
an address hasnt
Nomid Íkorni-Sciurus
Ah I got what you mean
Nomid Íkorni-Sciurus
yes, a pointer variable is a container which has another address, but the actual "pointer variable" contains the address it points to
Nomid Íkorni-Sciurus
So, to store &A somewhere you need another container, B which holds that address
harry
yeah
Nomid Íkorni-Sciurus
Anonymous
Hello
Himanshu
Guys tell me a good book to start learning c++
Himanshu
Like i am a newbie
Himanshu
I have learned coding till highschool level in c++
Anonymous
Guys tell me a good book to start learning c++
Give trining vedios from youtube
Himanshu
By the way do you mean training videos?
Leander
scanf(%[^#n]s@, greeting); will accept a string array included space. It terminated when enter was press.
Anonymous
Thx dear for accepting my request
Anonymous
Welcome to C/C++!
olli
As with regular expressions, this matches all non-whitespace characters, expect for the new-line character.
Rajath V
Read👍
Anonymous
Welcome to C/C++!
Anonymous
Welcome to C/C++!
So finally you added Marie 😂
Roxifλsz 🇱🇹
So finally you added Marie 😂
Got fed up with Butler bot :D
Anonymous
Got fed up with Butler bot :D
Knew it .. Feb 27 lol
Anonymous
/saved
Anonymous
You can add some useful ones
Roxifλsz 🇱🇹
You can add some useful ones
I know, and will do that when the need arises :D
Anonymous
I know, and will do that when the need arises :D
Also .. /addwarn hacking 😂🏃‍♂
Roxifλsz 🇱🇹
Also .. /addwarn hacking 😂🏃‍♂
Well, hacking is fine as long as it isn't the constant "Pls hak facebook for me" meme
Anonymous
Lol yeah
Anonymous
Welcome to C/C++!
Roxifλsz 🇱🇹
/warn command spam
Anonymous
Welcome to C/C++!
Anonymous
Welcome to C/C++!
Anonymous
Welcome to C/C++!
Anonymous
Mester the bot O.o
Anonymous
Mester the bot O.o
Marie is faster than me :(
Anonymous
Welcome to C/C++!
Anonymous
Welcome to C/C++!
Anonymous
Welcome to C/C++!
Wew fast ...
Anonymous
Anonymous
hehe
Btw, is it some script or you are doing it manually?
Anonymous
script
Nyuke
Aren't they automated?
Anonymous
script
Nice nice
Nyuke
script
Answer
Nyuke
Anonymous
?