Anonymous
Does it use C++11?
idk, I used it 2-3 years ago when I started to learn C++
Anonymous
and he's doing it on windows
Anonymous
RIP
Anonymous
https://www.youtube.com/watch?v=tvC1WCdV1XU&list=PLAE85DE8440AA6B83
he focus on the language features without putting hands on practices but still , he did nice job for getting started with java / cpp and C# iirc
Anonymous
what do you mean?
he give a minimalistic examples just to explain the language features
Anonymous
yeah
Anonymous
it could be nicely fast and fine for some people and for others could feel a bit boring
Anonymous
but for begginers that's what they should get
Anonymous
too much info is hard to learn
Anonymous
but for a start is ok
Mr. Mahesh
/notes
Mr. Mahesh
#cppbook
Anonymous
Anonymous
Can any one solve this question in c language
Anonymous
Plz
BinaryByter
read the pinned message
Anonymous
Ohk sorry
klimi
Wtf
klimi
Warn?
klimi
Ok
hyp3rbor3ax
you scared him to death
klimi
Did i
Dexter
I was feeling like i asked the most stupid question ever
hyp3rbor3ax
read the pinned message
Dexter
Got it Thanks
Dexter
What is wrong in it? Couldn't find
BinaryByter
what's the problem?
Anonymous
What is wrong in it? Couldn't find
U cannot put the value in the string element like that
Anonymous
What is wrong in it? Couldn't find
Instead of double quotes "P" use single quotes ('') because its a character
Dexter
Do you get any error?
No error Undesired result... I was expecting dexter rayne change to pexter rayne But it changed to 4exter Rayne
BinaryByter
use ''
Dexter
Instead of double quotes "P" use single quotes ('') because its a character
I did that earlier and got the desired result But why i cant use double quotes??
BinaryByter
"" has null termination and all that shit
Anonymous
I did that earlier and got the desired result But why i cant use double quotes??
Because double quotes are used for strings only. If it didnt worked then the only reason left is that you cannot change a character in the string like that
hyp3rbor3ax
char = 'p'
hyp3rbor3ax
char needs always an integer value
BinaryByter
char needs an integer value smaller than 256
hyp3rbor3ax
yes
hyp3rbor3ax
but if you choose 444 it will compile with warning
Anonymous
Anonymous
Anonymous
It worked for me
Anonymous
It worked for me
because you used '' to insert a character
Anonymous
Yes
hyp3rbor3ax
because in your code it is not name[0] = string value
Anonymous
Yes
Anonymous
Anonymous
Here is his problem
Anonymous
I want tutorials in c
klimi
Here is his problem
"p" -> 'p'
Anonymous
Yeah👍👍
Dexter
I want tutorials in c
Check out newboston
Dexter
"p" -> 'p'
I know the solution I just wanted to know why I can't use double quotation And i got my answer... Thank you all..
Anonymous
I want tutorials in c
lemme send you some nude C books in pm
Lorenzo
Send some books for c
klimi
I know the solution I just wanted to know why I can't use double quotation And i got my answer... Thank you all..
because "" signatures const char* (char array) and '' signatures only char... which means only range of 0-255 which coresponds to the ascii table c: its 2^8 combinations -> one byte
Dexter
i hope its clear
Yeah its absolutely clear now...
Anonymous
because "" signatures const char* (char array) and '' signatures only char... which means only range of 0-255 which coresponds to the ascii table c: its 2^8 combinations -> one byte
is that in cpp or c ? because c doesn't use const extensively afaik and anyway , its crappy that you can't do type extraction in c , even in cpp its not the convenient
Anonymous
you can cast anything to anything in C++ as long as you do it with pointers
while you can't cast const type to type in C , right ?
Anonymous
even tho , this in particular is a bad practice afaik
BinaryByter
so yep, you can cast away const
BinaryByter
don't
Anonymous
Both afaik
but if it was "" = const char* so the const will be here for the pointer or the refered data ? like you can not change the address value anymore or you can't change the value of the refered data ? but the refered data could be changed when using the array index and = sign so the const supposed to mean "you can't change the address of this pointer" ?
klimi
const char [2]
klimi
you have it here