Bonjour (deux),
creee_par (serie), de (film), par (film)... : afficher_ Verbe et/ou Nom ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41 const int Serie::afficher_Creee_par(std::wstring& c, std::wstring const& _T) { if (c == L"Créée par.txt") { try { //c = afficher_fichier_lire(_T); creee_par = afficher_fichier_lire(_T, L", ", false); } catch (runtime_error const& exception) { std::wcout << L"Erreur : " << exception.what() << std::endl; } } else { E.afficher_X(-1, _T, L"Erreur !!! Créée par... !"); return EXIT_FAILURE; } #if Serie_afficher_Creee_par_ == 1 std::wstring wstr = L"creee_par={"; for (const wstring& cc : creee_par) { wstr += cc; if (creee_par.back() != cc) wstr += L", "; } B.Ok_W(wstr + L'}'); #endif if (creee_par.size() == 0) { creee_par_ = false; #if Serie_afficher_Creee_par_ == 1 B.Ok_T(L"const int Serie::afficher_Creee_par() : Attention : Creee_par={} !"); #endif E.afficher_X(-1, _T, L"Attention : Creee_par={}"); return EXIT_FAILURE; } creee_par_ = true; return EXIT_SUCCESS; }
genre, c_nationalite et s_nationalite :
const int afficher_Genre(std::wstring& g, std::wstring const& _T, std::vector<std::wstring>& G, const std::vector<std::wstring>& GG) : afficher_ Verbe et/ou Nom
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 const std::vector<std::wstring>Genre { L"Action", L"Arts Martiaux", ... }; const std::vector<std::wstring> C_Nationalite { // Nationalité L"Allemand", ...}; const std::vector<std::wstring> S_Nationalite { L"Allemagne", ... };
Titre original, Chaîne d'origine, etc : std::wstring ===> std::vector<std::wstring> ???
Merci d'avance
Partager