Need help with Project (encoder decoder base64,morse,HEX)

This is a discussion on Need help with Project (encoder decoder base64,morse,HEX) within the C++ Programming forums, part of the General Programming Boards category; We have a team project where we will have to create an application,in c++ that will encode and decode a ...

  1. #1
    Registered User
    Join Date
    Aug 2011
    Location
    Sérres, Greece, Greece
    Posts
    17

    Need help with Project (encoder decoder base64,morse,HEX)

    We have a team project where we will have to create an application,in c++ that
    will encode and decode a text into base64,morse,and HEX.We have many questions.....

    1)Will we be able to use some of functions that are built in a library to encode/decode??
    2)Are we going to need a StringGrid???


    this is the form of our teams program-->
    Project.jpg picture by fdarioch - Photobucket

  2. #2
    Registered User
    Join Date
    Aug 2011
    Location
    Sérres, Greece, Greece
    Posts
    17
    okey donkey ....
    I found that there is a library (crypto++) but it needs a skilled programmer....
    As for the StringGrid,I didn't mentioned the use of it.It was supposed to be used as an array where I would send the text from the edit box,and every column would be an alphanumeric.But i think that it would take me twice the time to complete the program with a StringGrid so I'm going with a simple array.

    The problem now is that I don't know how to put the text in an array....
    If I wasn't understandable please ask me what you didn't get(or i didn't give you )

  3. #3
    Registered User
    Join Date
    May 2006
    Posts
    100
    Remember that the old-school way of dealing with strings is to use char arrays, as in C. And underlying string types in modern languages, that's often still what's going on. In C++, there's a function called c_str(). So you might do something to following effect:

    Code:
    int length = inputStr.length();
    char* inputArry = inputStr.c_str();

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Text Encoder/ Decoder in C++
    By Joe_Allen in forum C++ Programming
    Replies: 12
    Last Post: 12-17-2011, 06:31 AM
  2. Base64 encoder
    By gadu in forum C Programming
    Replies: 5
    Last Post: 06-29-2008, 06:32 AM
  3. ASCII Art Decoder and Encoder
    By jessweetd in forum C Programming
    Replies: 7
    Last Post: 09-05-2004, 07:12 PM
  4. Need RSA encoder / decoder / keygen
    By Rak'kar in forum Networking/Device Communication
    Replies: 4
    Last Post: 07-20-2004, 09:40 PM
  5. string encoder / decoder
    By mbell in forum C Programming
    Replies: 0
    Last Post: 09-12-2001, 09:45 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21