bonjour,
J'écris toutes mes fonctions sur ce schéma:
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
 
//etud2
#include <iostream>
#include <cstdlib>
#include <fstream>
#include <windows.h>
#include <string>
#include <vector>
#include <sstream>
#include <stdio.h>
#include <istream>
 
using namespace std;
 
string FcAB(string A,string B)
    {//fc
    cout<<"     e..  Fc  ..e"<<endl;
    cout<<"     fcL1"<<endl;
 
     cout<<"     fcLn"<<endl;
    cout<<"     z.. Fc   ..z:"<<__func__<<endl;
    return "";
    }//fc
 
int main()
{
cout<<"e--I--e"<<endl;
string a,b;a="A";b="B";
string ab=FcAB(a,b);
//cout<<"s "<<a<<endl;
//cout<<"s "<<b<<endl;
cout<<"Z--I--><E>";cin.ignore();
}
Et vlan!Elle sort mal.
Que manque t-il?
Vos lumières me seront précieuses.