Declare class in scope

+2 Leon Lauritsen · December 21, 2014
How do i declare a class in the scope????

Post a Reply

Replies

Oldest  Newest  Rating
0 Leon Lauritsen · December 21, 2014
I dont understand, can you explain ???
0 Milan Obrenovic · December 21, 2014
class YourClassName
{
// Define class members here, for example:
public:
int MyInt = 17;

private:
string MyString = "Some Value";
};
0 Leon Lauritsen · December 21, 2014
I know but i want to declare it in a scope 
0 Leon Lauritsen · December 21, 2014
OK thanks :D
  • 1

C++

103,643 followers
About

Used in many types of software including music players, video games, and many large scale applications.

Links
Moderators
Bucky Roberts Administrator