Programation en c
ib
-
Phil_1857 Messages postés 1883 Date d'inscription Statut Membre Dernière intervention -
Phil_1857 Messages postés 1883 Date d'inscription Statut Membre Dernière intervention -
Bonjour, j'ai un probleme avec mon code en c je voudrais compter le nombre de retour a la ligne dans un fichier mais quand je met
if (c=='\n')
cpt++
et que je compile ça me donne dans tous les 0
if (c=='\n')
cpt++
et que je compile ça me donne dans tous les 0
Configuration: Linux / Chrome 88.0.4324.182
A voir également:
- Programation en c
- Programation - <a href="https://forums.commentcamarche.net/forum/etudes-formation-high-tech-16">Forum Études / Formation High-Tech</a>
- Logiciel programation - Guide
- "C:\program files\google\chrome\application\chrome.exe" - <a href="https://forums.commentcamarche.net/forum/google-chrome-214">Forum Google Chrome</a>
- Debuter en programation ✓ - <a href="https://forums.commentcamarche.net/forum/programmation-3">Forum Programmation</a>
- Windows ne trouve pas c program files x86 ✓ - <a href="https://forums.commentcamarche.net/forum/windows-10-328">Forum Windows 10</a>