Boucle cin.get()
Résolu/Fermé
gl111
Messages postés
4
Date d'inscription
dimanche 30 octobre 2016
Statut
Membre
Dernière intervention
10 novembre 2016
-
Modifié par mamiemando le 15/12/2016 à 11:25
mamiemando Messages postés 32283 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 17 mars 2023 - 15 déc. 2016 à 11:28
mamiemando Messages postés 32283 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 17 mars 2023 - 15 déc. 2016 à 11:28
A voir également:
- Boucle cin.get()
- Pc s'allume et s'éteint en boucle - Forum Matériel informatique
- Boucle cmd - Forum Programmation
- Freebox redémarre en boucle ✓ - Forum Freebox
- Boucle excel sans macro - Forum Excel
- Le fichier contient un programme écrit en python. le programme construit un mot secret mais il ne l'affiche pas. modifiez ce programme afin que à chaque itération de la boucle : la variable a augmente de 2 la variable b diminue de 1 ajoutez une instruction pour faire afficher le mot secret construit. quel est ce mot secret ? ✓ - Forum Python
1 réponse
mamiemando
Messages postés
32283
Date d'inscription
jeudi 12 mai 2005
Statut
Modérateur
Dernière intervention
17 mars 2023
7 572
15 déc. 2016 à 11:28
15 déc. 2016 à 11:28
Bonjour,
En cherchant un peu sur google tu tombes par exemple sur :
https://stackoverflow.com/questions/2287121/how-to-read-groups-of-integers-from-a-file-line-by-line-in-c
... sachant que lire un fichier (std::ifstream) ou l'entrée standard (std::cin, qui est un std::istream) ne change rien à l'approche.
Bonne chance
En cherchant un peu sur google tu tombes par exemple sur :
https://stackoverflow.com/questions/2287121/how-to-read-groups-of-integers-from-a-file-line-by-line-in-c
... sachant que lire un fichier (std::ifstream) ou l'entrée standard (std::cin, qui est un std::istream) ne change rien à l'approche.
Bonne chance