Bonjour

Une variable, de type "string"
cadre_input_calcul = "12345"
s'affiche en caractères spéciaux
Ǹ▼¨0
Pouvez vous m'aider?

Cordialement

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
//Using SDL, SDL_image, SDL_ttf, standard IO, strings, and string streams
#include <stdio.h>
#include <string>
#include <sstream>
#include <typeinfo>		// pour typeid
#include <ctype.h>      // pour isdigit()
#include <iostream>		// pour cout
 
 
int main( int argc, char* args[] )
{
    std::string cadre_input_calcul = "12345";
	printf("cadre_input_calcul: %s\n", cadre_input_calcul);
 
	return 0;
}