Group Butler
@admin
Reported to 1 admin(s)
Roxifλsz 🇱🇹
https://t.me/MrTeacherUZ
/warn not programming related
Group Butler
Shaxzod has been warned (1/3)
Chaser0x
Welcome :) i don't think is nice to enter a group and advertise another one, but at least you have been nicer than a lot of other people :)
Sorry about that - it's pretty hard to get subscribers these days especially those interested in technical concepts so it has just become a habit for me to talk about my channel when I introduce myself in a large group
Chaser0x
Thanks
Kebun
is any ilustrative c programming book like head first?
Anonymous
/start
Anonymous
Are promotions allowed here?
Chaser0x
Well he deleted the channel now 😂
Chaser0x
Also clicking on random links is probably not the best judgement coming from a security standpoint
Chaser0x
for example if someone posted a t dot me link that looked suspicious unsuspecting people would just click on it
Mat
Are promotions allowed here?
Don't think so, at least without a motivation and without being polite. And if it is not so recurring
Sukesh
https://bitbucket.org/sukeshchand/udp-brodcasting-cpp I have started a repository for converting c code into cpp The repository is about udp-bradcasting. if any one interested, please contribute
Álvaro
is char in C signed?
Dima
yes
Dima
unsigned char = byte (255)
Dima
char = 127
Álvaro
👍thx
Stanislav
is char in C signed?
implementation defined, standard doesn't specify signed or unsigned for gcc you can control it with -funsigned-char or -fsigned-char
Dima
by defaults its always signed
Liam
by defaults its always signed
Nope, it depends on compiler and target platform. For ARM and PowerPC, it's typically unsigned, while for x86 and x64, it's typically signed.
Dima
this is strange, I remember exploring old projects (idtech and so on from 90s-00s) I saw something other lol
Álvaro
Thank you to all, I’m working with x86-64
Álvaro
Compiling with gcc
Group Butler
Start me to get the list of commands
Dima
#livingWith64GbSsd https://i.gyazo.com/ce1a13157ec13e1eb85adb599af89c79.png
Kenny
Some website where I can learn c++?
Kenny
If it is in Spanish better
Dima
windows sdk
Dima
it's required for windows so I can use system headers/libraries and tools
Álvaro
but u ain't space
Dima
now I have 500 mb
Dima
screw windows
Dima
linux/osx is much better in plan of taking space
Dima
yeah but the fact it takes the same amount of storage
Dima
so lol
Stanislav
you want to download sdk installer for one reason - it's includes CDB installer
Dima
whether you use vs installer or use standalone sdk exe, there are no more options to customize installation, but nvm
Dima
I just needed headers/libraries lol
Arturo
hi
Anonymous
Hello
Anonymous
Hello
Hello
Anonymous
/help@GroupButler_bot
Group Butler
Start me to get the list of commands
Anonymous
sem3an: hello guys i need a open source software for a membership gym managment any one can help?
Anonymous
if we dynamically allocate 8 bytes, we can represent 8 byte numbers yeah? but even if I dynamically allocate, the pointer seems to point to a 4 byte location. it acts just like an integer. largest number i can represent even after a dynamic allocation of 8 bytes is 2147483647. that is also the max number represented by int variable
Anonymous
and int pointer can represent 2147483647 even if only 1 byte is allocated. I feel like I'm missing something
Liam
if we dynamically allocate 8 bytes, we can represent 8 byte numbers yeah? but even if I dynamically allocate, the pointer seems to point to a 4 byte location. it acts just like an integer. largest number i can represent even after a dynamic allocation of 8 bytes is 2147483647. that is also the max number represented by int variable
In the view of C and C++, an variable could be treated as a typed memory region. If you allocate 8 bytes memory, of course you could store a 64-bit number in it. However, do not forget the type. You will then also have to treat this region as a, for example, int64_t variable. On the other hand, pointer is an abstraction of memory space. If you get a valid pointer, you get 1) the address to that memory region, and you get 2) the type of it. Now, in your case, although you have a 8-byte memory region, you hold a pointer of type, for example, int32_t*. Hence, only 4 bytes will be used to store the integer, and the other 4 bytes remain unused. To solve this problem, reinterpret_cast the pointer to int64_t*. If only one byte is allocated for your integer, and a pointer typed in int32_t is pointing to the memory region, then writing behaviour through this pointer will infect the following 3-byte memory, thus undefined behaviour happens.
Anonymous
Got s8
Anonymous
Anonymous
Anonymous
btw what to do if I want to allocate only 5 bytes to store 5 byte integer
Anonymous
Very slow though
Anonymous
or slower
mark
mark
anyone here knows javascript aswell? or nah
mark
I do
not a beginner?
Anonymous
Like in a middle point
Anonymous
Hello
Anonymous
not a beginner?
Yeah is who?
Anonymous
Hello guys ,is there anyone who can help me with a simple pdf for C#
Anonymous
C
Anonymous
Csharp
Dima
you want a lib to work with pdf in c#?
Anonymous
c# != c/c++
Daniele°
c# != c/c++
C# != C++ != C
Anonymous
Well yes, but since the group is c/c++, I demonstrated the main idea, ehich is
Anonymous
c# doesn't fit in here