[SOLVED] CS /*#pragma once

$25

File Name: CS_/*#pragma_once.zip
File Size: 160.14 KB

5/5 - (1 vote)

/*#pragma once

class A; //Forward Declaration

class B {
private:
int _b;

// A::show is a friend function to class B
// so A::show has access to all members of B
friend void A::show(A&, B&);
public:
B() { _b = 20; }
};*/

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS /*#pragma once
$25