C++ Basic Skills: Lesson 24 "Friend Classes and Functions"
Loading...
6,479
Loading...
Top Comments
see all
All Comments (27)
-
05:14 you know why A inst(); cause an error?
that is because u dont instantiate the class A, instead u make a function prototype that return instance of class A
-
A inst = A();
if you want to call the constructor, but
A inst;
works just fine :P
nice vid BTW
-
@jmasterX roflmfao
-
i culdnt get the friend function called in main
-
nice one!!!!!!!
-
nice!!!!!
-
Your last point just helped me out with my assignment. This could've taken a long time to find it in my scripts! First attempt in google brought me here :D Fav + Thumbs up!
-
@amoomilad he is using one....like most of mac and unix systems...its called g++
-
stop racing through.
Loading...
C++, where friends can touch your privates
jmasterX 1 year ago 10
nice video and i fcking love the way u type :* ;d
lub094 1 year ago 7