Message from C, C++ talks

June 2019

— 👍

— Thanku

— Np

— Which one is better?
anonymous poll

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

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

👥 2 people voted so far.

Message permanent page

— 

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

— 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://pastebin.com/hq1Qx40r

— Help me

— Help me

— Why are you using Int32?

— Hello guys ! I just know basics of C++.So I should improve my skills in c++ or should become expert in java..I mean are there any points where only c++ can be used and java can't?? Further if I become expert in java,Any big company like google,fb or microsoft etc. may need c++ other than java during placement ?

Message permanent page