patch_main
This commit is contained in:
parent
144267f134
commit
c1bd0d12cf
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.
Loading…
Reference in New Issue