Ankith Reddy has Published 1132 Articles

Python Binary Sequence Types

Ankith Reddy

Ankith Reddy

Updated on 30-Jul-2019 22:30:23

3K+ Views

The byte and bytearrays are used to manipulate binary data in python. These bytes and bytearrys are supported by buffer protocol, named memoryview. The memoryview can access the memory of other binary object without copying the actual data. The byte literals can be formed by these options. b‘This is ... Read More

Difference between 'struct' and 'typedef struct' in C++?

Ankith Reddy

Ankith Reddy

Updated on 30-Jul-2019 22:30:22

728 Views

In C++, there is no difference between 'struct' and 'typedef struct' because, in C++, all struct/union/enum/class declarations act like they are implicitly typedef'ed, as long as the name is not hidden by another declaration with the same name.Though there is one subtle difference that typedefs cannot be forward declared. So ... Read More

Advertisements