« first day (5 days earlier)    last day (14 days later) » 

00:03
@MohamedAhmedNabil what? Can you show me the cast you're confused about?
if int n and i want to send the address of n as a char address
do i do this (char)(n) or this (char*)(&n) and why
@MohamedAhmedNabil (char*)(&N)
@MohamedAhmedNabil (char)(n) will take n, and convert it to a char.
and doesnt & change it to an address
oh the address itself wont be casted right?
(char*)(&N) will take N, then take it's address (&N) so we have a pointer to an int, and then that pointer is converted to a pointer to chars
right, (char)(n) converts the value of n to a char, not the address. And it converts very very poorly.
reinterpret_cast is better?
00:08
@MohamedAhmedNabil eh, in this case (char*)(&N), reinterpret_cast and static_cast will do the same thing. In general, you should use one of the C++ casts, whichever is appropriate for your situation.

« first day (5 days earlier)    last day (14 days later) »