:woeisthanos:
This commit is contained in:
parent
af8b33d561
commit
9c2d221338
Binary file not shown.
@ -38,3 +38,5 @@
|
||||
354 399 1711416497182837945 lab4-Structures_CalebFontenot ed19375c3f47ed34
|
||||
0 348 1711417298926466164 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o f406e08b6d817e9f
|
||||
348 422 1711417298998467564 lab4-Structures_CalebFontenot ed19375c3f47ed34
|
||||
0 359 1711417885781864949 CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o f406e08b6d817e9f
|
||||
359 416 1711417885837866036 lab4-Structures_CalebFontenot ed19375c3f47ed34
|
||||
|
Binary file not shown.
Binary file not shown.
@ -67,7 +67,7 @@ void populate(Employee **pp, int rows, int col ) {
|
||||
std::getline(std::cin, name);
|
||||
printf("Enter salary for %s: ", name.c_str());
|
||||
std::cin >> salary;
|
||||
*(*(pp + i) + j) = *new Employee(const_cast<char*>(name.c_str()), salary);
|
||||
pp[i][j] = *new Employee(const_cast<char*>(name.c_str()), salary);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user