CONNEXION
  • RetourJeux
    • Sorties
    • Hit Parade
    • Les + populaires
    • Les + attendus
    • Soluces
    • Tous les Jeux
    • Gaming
  • RetourActu Gaming
    • News
    • Astuces
    • Tests
    • Previews
    • Toute l'actu gaming
  • RetourBons plans
    • Bons plans
    • Bons plans Smartphone
    • Bons plans Hardware
    • Bons plans Image et Son
    • Bons plans Amazon
    • Bons plans Cdiscount
    • Bons plans Decathlon
    • Bons plans Fnac
    • Tous les Bons plans
  • RetourJVTech
    • Actus High-Tech
    • Intelligence Artificielle
    • Smartphones
    • Mobilité urbaine
    • Hardware
    • Image et son
    • Tutoriels
    • Tests produits High-Tech
    • Guides d'achat High-Tech
    • JVTech
  • RetourCulture
    • Actus Culture
    • Culture
  • RetourVidéos
    • A la une
    • Gaming Live
    • Vidéos Tests
    • Vidéos Previews
    • Gameplay
    • Trailers
    • Chroniques
    • Replay Web TV
    • Toutes les vidéos
  • RetourForums
    • Hardware PC
    • PS5
    • Switch 2
    • Xbox Series
    • Switch
    • Pokemon pocket
    • FC 25 Ultimate Team
    • League of Legends
    • Tous les Forums
  • PC
  • PS5
  • Xbox Series
  • Switch 2
  • PS4
  • One
  • Switch
  • iOS
  • Android
  • MMO
  • RPG
  • FPS
En ce moment Genshin Impact Valhalla Breath of the wild Animal Crossing GTA 5 Red dead 2
Liste des sujets

Help Pseudo-code [C]?

[Blaxe]
[Blaxe]
Niveau 9
29 avril 2013 à 09:34:02

Bonjour, qui pourrait m'aider pour convertir un pseudo-code en code source ?

DEBUT
OUVRIR LE FICHIER testtexte.txt EN MODE LECTURE
SE POSITIONNER A LA FIN DE CE FICHIER VIA LA FONCTION
fseek(ptrFichier,0L,SEEK_END)
RECUPERER LA POSITION DU CURSEUR VIA LA FONCTION ftell()
AFFICHER LA TAILLE DU FICHIER
FERMER LE DESCRIPTEUR DE FICHIER VIA fclose()
FIN

vive_cod4
vive_cod4
Niveau 9
29 avril 2013 à 10:28:39

OUVRIR LE FICHIER testtexte.txt EN MODE LECTURE
-> http://cplusplus.com/refeference/cstdio/fopen/?kw=fopen
SE POSITIONNER A LA FIN DE CE FICHIER VIA LA FONCTION
-> http://cplusplus.com/refeference/cstdio/fseek/?kw=fseek
RECUPERER LA POSITION DU CURSEUR VIA LA FONCTION ftell()
-> http://cplusplus.com/refeference/cstdio/ftell/?kw=ftell
AFFICHER LA TAILLE DU FICHIER
-> http://stackoverflow.com/questions/238603/how-can-i-get-a-files-size-in-c
FERMER LE DESCRIPTEUR DE FICHIER VIA fclose()
-> http://cplusplus.com/reference/cstdio/fclose/?kw=fclose

Sous forums
  • Aide à l'achat Mac
  • Création de sites web
  • Internet
  • Macintosh
  • Création de Jeux
  • Linux
  • Programmation
  • Steam Deck
  • Hardware
La vidéo du moment