:woeisthanos:
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							@@ -38,3 +38,5 @@
 | 
				
			|||||||
354	399	1711416497182837945	lab4-Structures_CalebFontenot	ed19375c3f47ed34
 | 
					354	399	1711416497182837945	lab4-Structures_CalebFontenot	ed19375c3f47ed34
 | 
				
			||||||
0	348	1711417298926466164	CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o	f406e08b6d817e9f
 | 
					0	348	1711417298926466164	CMakeFiles/lab4-Structures_CalebFontenot.dir/structures.cpp.o	f406e08b6d817e9f
 | 
				
			||||||
348	422	1711417298998467564	lab4-Structures_CalebFontenot	ed19375c3f47ed34
 | 
					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);
 | 
					            std::getline(std::cin, name);
 | 
				
			||||||
            printf("Enter salary for %s: ", name.c_str());
 | 
					            printf("Enter salary for %s: ", name.c_str());
 | 
				
			||||||
            std::cin >> salary;
 | 
					            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);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user