Message from C, C++ talks

June 2019

— Thanku MrPhyber
I got it

— 👍

— Thanku

— Np


Which one is better?
anonymous poll

Java – 1
👍👍👍👍👍👍👍 50%

Python – 1
👍👍👍👍👍👍👍 50%

👥 2 people voted so far.

— How do you get the position in memory with C++. Like if I made an array could I get the location in memory where it is stored

Message permanent page

— Well, pointers store this information. It sounds like this is what you need.

— But why you need the location in the memory, in the first place?

— I was curious and wanted to see how it works and then fun with it.

— While Java is shit I must admit that it does not suffer from the "what the hell am I writing" disease

Message permanent page

— Well, then you can get pointers to whatever variables you need and output them as numbers (for example). But as I know, relative location of different objects (e.g. two unrealted heap or stack allocated variables) is undefined. So you cannot rely on it while writing real software. But if it's just for fun, why not.

Message permanent page

— Https://

— Help me

— Help me

— Why are you using Int32?