patch_main
This commit is contained in:
Executable
BIN
Binary file not shown.
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cstdio>
|
||||
#include <ctime>
|
||||
|
||||
// static Base *generate(void)
|
||||
// {
|
||||
@@ -78,7 +79,9 @@ void identify(Base& p)
|
||||
|
||||
int main()
|
||||
{
|
||||
std::srand(std::time(NULL));
|
||||
Base* ptr;
|
||||
/////////////////////////////////
|
||||
std::cout << "Test 1 PTR: " << std::endl;
|
||||
ptr = generate();
|
||||
identify(ptr);
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user