Git Product home page Git Product logo

cobol's Introduction

Cobol

Ici vous pourrez trouvez tous les fichiers COBOL et executables générés par le compilateur lors de mon apprentissage de ce langage pour toutes sortes d'utilisations.

Tuto utilisé : https://zestedesavoir.com/tutoriels/685/la-programmation-cobol/739_les-bases-du-cobol/

Installer l'environnement (GNUCobol Open Source)

  • On commence par télécharger et dézipper le dossier. Fichiers Binaires GNUCobol

  • On va ensuite dans les variables d'environnement afin d'ajouter le dossier bin de GNUCOBOL afin de pouvoir utiliser le compilateur et surtout la commande cobc.

  • Ensuite on paramètre le fichier de configuration grâce à la commande set COB_CONFIG_DIR=C:\Program Files (x86)\gnucobol-2.2\config (Adapter le dossier à votre chemin)

  • Pour finir on teste avec la commande cobc -V pour vérifier que le compilateur COBOL est bien installé et reconnu par notre système.

Commandes du compilateur

  • Pour compiler un fichier COBOL structuré, on utilise cobc -x file.cob.

  • Pour compiler un fichier COBOL structuré en spécifiant le nom du fichier en sortie, on utilise cobc -x -o filename file.cob (filename = Nom du fichier.exe en sortie et file.cob le nom du fichier code source)

  • Pour compiler un fichier COBOL Free format, on utilise cobc -x -free file.cob

cobol's People

Contributors

xhackax47 avatar

Stargazers

Quentin Huber avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.