Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==2948== Memcheck, a memory error detector
- ==2948== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
- ==2948== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright info
- ==2948== Command: ./out
- ==2948==
- ==2948== Conditional jump or move depends on uninitialised value(s)
- ==2948== at 0x400D28: random_products::search_AM(int const&, int const&) (in /home/chris/OOP/Assignment_2/version1/out)
- ==2948== by 0x400BE5: random_products::random_products() (in /home/chris/OOP/Assignment_2/version1/out)
- ==2948== by 0x400A99: main (in /home/chris/OOP/Assignment_2/version1/out)
- ==2948== Uninitialised value was created by a stack allocation
- ==2948== at 0x400A77: main (in /home/chris/OOP/Assignment_2/version1/out)
- ==2948==
- ==2948== Invalid write of size 1
- ==2948== at 0x400E7C: Student::Student(random_products&) (in /home/chris/OOP/Assignment_2/version1/out)
- ==2948== by 0x400AC1: main (in /home/chris/OOP/Assignment_2/version1/out)
- ==2948== Address 0x596f050 is 0 bytes after a block of size 16 alloc'd
- ==2948== at 0x4C28B35: operator new(unsigned long) (vg_replace_malloc.c:261)
- ==2948== by 0x400AAC: main (in /home/chris/OOP/Assignment_2/version1/out)
- ==2948==
- To AM tou foithth einai: 1115201000025
- Den exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Den exei kanei to project!
- To AM tou foithth einai: 1115201000013
- Exei kanei thn 1h ergasia!
- Den exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- To AM tou foithth einai: 1115201000015
- Exei kanei thn 1h ergasia!
- Den exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Den exei kanei to project!
- To AM tou foithth einai: 1115201000024
- Den exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- To AM tou foithth einai: 1115201000016
- Exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Exei kanei thn 3h ergasia!
- Den exei kanei to project!
- To AM tou foithth einai: 1115201000010
- Den exei kanei thn 1h ergasia!
- Den exei kanei thn 2h ergasia!
- Exei kanei thn 3h ergasia!
- Den exei kanei to project!
- To AM tou foithth einai: 1115201000003
- Exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- To AM tou foithth einai: 1115201000022
- Den exei kanei thn 1h ergasia!
- Den exei kanei thn 2h ergasia!
- Exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- To AM tou foithth einai: 1115201000023
- Exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Exei kanei thn 3h ergasia!
- Den exei kanei to project!
- To AM tou foithth einai: 1115201000018
- Den exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Den exei kanei to project!
- To AM tou foithth einai: 1115201000008
- Den exei kanei thn 1h ergasia!
- Den exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- To AM tou foithth einai: 1115201000006
- Exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- To AM tou foithth einai: 1115201000007
- Den exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- To AM tou foithth einai: 1115201000021
- Den exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- To AM tou foithth einai: 1115201000012
- Den exei kanei thn 1h ergasia!
- Den exei kanei thn 2h ergasia!
- Exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- To AM tou foithth einai: 1115201000014
- Den exei kanei thn 1h ergasia!
- Den exei kanei thn 2h ergasia!
- Exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- To AM tou foithth einai: 1115201000001
- Den exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Den exei kanei to project!
- To AM tou foithth einai: 1115201000017
- Den exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- To AM tou foithth einai: 1115201000005
- Exei kanei thn 1h ergasia!
- Den exei kanei thn 2h ergasia!
- Exei kanei thn 3h ergasia!
- Den exei kanei to project!
- To AM tou foithth einai: 1115201000004
- Exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Exei kanei thn 3h ergasia!
- Den exei kanei to project!
- To AM tou foithth einai: 1115201000019
- Den exei kanei thn 1h ergasia!
- Den exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Den exei kanei to project!
- To AM tou foithth einai: 1115201000020
- Exei kanei thn 1h ergasia!
- Den exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- To AM tou foithth einai: 1115201000011
- Den exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Exei kanei thn 3h ergasia!
- Den exei kanei to project!
- To AM tou foithth einai: 1115201000009
- Exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Den exei kanei thn 3h ergasia!
- Exei kanei to project me ton -1!
- To AM tou foithth einai: 1115201000002
- Den exei kanei thn 1h ergasia!
- Exei kanei thn 2h ergasia!
- Exei kanei thn 3h ergasia!
- Den exei kanei to project!
- Just completed creation of students
- ==2948==
- ==2948== HEAP SUMMARY:
- ==2948== in use at exit: 400 bytes in 25 blocks
- ==2948== total heap usage: 25 allocs, 0 frees, 400 bytes allocated
- ==2948==
- ==2948== 400 bytes in 25 blocks are definitely lost in loss record 1 of 1
- ==2948== at 0x4C28B35: operator new(unsigned long) (vg_replace_malloc.c:261)
- ==2948== by 0x400AAC: main (in /home/chris/OOP/Assignment_2/version1/out)
- ==2948==
- ==2948== LEAK SUMMARY:
- ==2948== definitely lost: 400 bytes in 25 blocks
- ==2948== indirectly lost: 0 bytes in 0 blocks
- ==2948== possibly lost: 0 bytes in 0 blocks
- ==2948== still reachable: 0 bytes in 0 blocks
- ==2948== suppressed: 0 bytes in 0 blocks
- ==2948==
- ==2948== For counts of detected and suppressed errors, rerun with: -v
- ==2948== ERROR SUMMARY: 327 errors from 3 contexts (suppressed: 4 from 4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement