I have tried to find out why this is happening but I couldn't find anything. The problem is in function loginScreen(), the function getDetails() get run, but then once it finishes 3221225477, can anyone point me out to why this is happening? It looks like I am allocating memory and everything properly. Printf(" Please contact us at getDetails(char **properID, char **properPASS, int nurses) Void mallocCheck(char **malloc1, char **malloc2) Printf("%s : %s", &properID, &properPASS) GetDetails(&properID, &properPASS, nurses) ProperPASS = (char*) malloc(PASS_LENGTH * nurses *60) Dalam pembuatan simpul untuk linked list, kita membutuhkan struktur data struct karena satu simpul akan menyimpan banyak data termasuk dengan pointer penunjuk data di sebelahnya. ProperID = (char*) malloc(ID_LENGTH * nurses * 60) program-antrian-rumahsakit / Antrian Rumah Sakit. Program ini mengimplementasikan struktur data antrian atau queue, namun pembuatan antrian tidak menggunakan array, tapi menggunakkan linked list. Int loginScreen(char enterID, int nurses) Printf("\n =") įILE *openFile(char filename, char filetype) Printf("\n = Welcome to Action On Weight =") Void getDetails(char **properID, char **properPASS, int nurses) ![]() * Checks if memory allocation was correct */ I am quite new to coding so please go easy on meįILE *openFile(char filename, char filetype)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |