hackingcpp / comments

Comments regarding hackingcpp.com
0 stars 0 forks source link

cpp/lang/function_basics #33

Open utterances-bot opened 11 months ago

utterances-bot commented 11 months ago

C++ Functions Introduction | hacking C++

Learn the basics of what functions look like in (modern) C++. Did you know C++ can deduce the return type of a function for you?

https://hackingcpp.com/cpp/lang/function_basics.html

dufuhang commented 11 months ago

Maybe Default Parameters?

ejykonto commented 3 months ago

is the return type included in the function signature ? check the figure please :)

TheFourthRome commented 2 weeks ago

Mathematical Functions:log(x) shoud be explained as ln(x)