eror : could not converd ' {"Struktur Data...

list_matkul Matakuliah;
create_list_matkul(Matakuliah);
adr_matkul P;
list_mhs mahasiswa;
create_list_mhs(mahasiswa);
adr_mhs Q;

P = create_elm_matkul({.namaMk = "Struktur Data", .namaKelas = "IF-44-Gab1", .kuota = 3, .jumlah = 0, .jenisMk = "Reguler"});
insert_matkul(Matakuliah,P);
P = create_elm_matkul({.namaMK = "Struktur Data", .namaKelas = "IF-44-Gab2", .kuota = 3, .jumlah = 0, .jenisMk = "Reguler"});
insert_matkul(Matakuliah,P);
P = create_elm_matkul({.namaMK = "Struktur Data", .namaKelas = "IF-44-INT", .kuota = 2, .jumlah = 0, .jenisMk = "Internasional"});
insert_matkul(Matakuliah,P);

Q = create_elm_mhs({.namaMhs = "Yusuf", .nimMhs = "103101", .asalKelas = "IF-44-01", .jenisMhs= "Reguler"});
insert_mhs(mahasiswa,Q);
Q = create_elm_mhs({.namaMhs = "Sthevanie", .nimMhs = "103102", .asalKelas = "IF-44-02", .jenisMhs= "Reguler"});
insert_mhs(mahasiswa,Q);
Q = create_elm_mhs({.namaMhs = "Siska", .nimMhs = "103103", .asalKelas = "IF-44-05", .jenisMhs= "Reguler"});
insert_mhs(mahasiswa,Q);
Q = create_elm_mhs({.namaMhs = "Agus", .nimMhs = "103104", .asalKelas = "IF-44-04", .jenisMhs= "Reguler"});
insert_mhs(mahasiswa,Q);
Q = create_elm_mhs({.namaMhs = "Sharukh Khan", .nimMhs = "113101", .asalKelas = "IF-44-INT", .jenisMhs= "Internasional"});
insert_mhs(mahasiswa,Q);
Q = create_elm_mhs({.namaMhs = "Tony Stark", .nimMhs = "113102", .asalKelas = "IF-44-INT", .jenisMhs= "Internasional"});
insert_mhs(mahasiswa,Q);
Q = create_elm_mhs({.namaMhs = "Elsa", .nimMhs = "113103", .asalKelas = "IF-44-INT", .jenisMhs= "Internasional"});
insert_mhs(mahasiswa,Q);

P = search_matkul(Matakuliah,"Struktur Data", "IF-44-Gab1");
Q = search_mhs(mahasiswa,"103101");
create_Relasi(Matakuliah, P,Q);
P = search_matkul(Matakuliah,"Struktur Data", "IF-44-Gab1");
Q = search_mhs(mahasiswa,"103102");
create_Relasi(Matakuliah, P,Q);
P = search_matkul(Matakuliah,"Struktur Data", "IF-44-Gab1");
Q = search_mhs(mahasiswa,"103103");
create_Relasi(Matakuliah, P,Q);
P = search_matkul(Matakuliah,"Struktur Data", "IF-44-INT");
Q = search_mhs(mahasiswa,"113101");
create_Relasi(Matakuliah, P,Q);

return 0;

This is undocumented code and worse. I started at line 1 and nothing seemed to explain the first line and as I read on, it only got worse.

A lot more would need to be told as well as reading your Software Design Document to begin to work this one.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.