C/C++ : Ascii to EBCDIC Converter

Continue from my last post about Convert EBCDIC to Ascii Convert, now I try to create a program with C/C++ to convert Ascii to EBCDIC (ascii to ebcdic converter). Create a file main.c and copy this code :

We can compile this code Ascii to EBCDIC Converter with command :

gcc main.c -o ascii2ebcdic

This is output program for Ascii to EBCDIC Converter :

You can read about convert ebcdic to ascii at here.

One Comment

Add a Comment

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.