Top "Built-in-types" questions

This tag is synonymous to the [primitive] tag.

Does the default constructor initialize built-in types?

Does the default constructor (created by the compiler) initialize built-in-types?

c++ constructor initialization default-constructor built-in-types
Can I add custom methods/attributes to built-in Python types?

For example—say I want to add a helloWorld() method to Python's dict type. Can I do this? JavaScript has …

python custom-attributes monkeypatching built-in-types
How to make python class support item assignment?

While looking over some code in Think Complexity, I noticed their Graph class assigning values to itself. I've copied a …

python inheritance built-in-types object-composition
what happens when i mix signed and unsigned types ?

I'm studying the C++ language and i have some doubt about type conversion, could you explain me what happens in …

c++ expression unsigned built-in-types