Created
December 25, 2016 07:49
-
-
Save yifeiyin/f104b43df72d069b8a7036a75661190a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Variable { Type value, bool flag }; | |
class Problem | |
{ | |
private: | |
int NumProblem; | |
Variable * pvars; | |
public: | |
Problem(int n) : NumProblem(n) | |
{ | |
Variable = new Variable (NumProblem); | |
for (int i = 0; i < NumProblem; i++) | |
{ | |
} | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment