hi guys long time since I have been on the forum almost a year at this stage,I took a break from programming but have been doing a little bit of java on the side,I'm glad I'm back but I'm having some trouble understanding the return types in c++
I am using eclipse as my IDE,now in java with eclipse it is pretty simple to read what type the function returns be it an int,string,void etc and it's also easy to see what arguments it takes but I don't understand this in c++ when using eclipse or any IDE to be honest it's the same in visual studio,
for example the size() function of the string class
I am trying to find out if it returns and int a string etc,I would guess an int but I can't see where it says this when I hover over the size function in the IDE this is what I get
Edit: Also trying to rely on the IDE to tell you the return type you should consider finding and reading actual documentation for the standard functions in question, the documentation will give you much more information than what the IDE has available.