Hi!

My name is Jay and I started to learning programming about a year ago, I am studying computer science at university and I learned some C and Java from uni, but I've also learned C++ recently from Bucky's youtube channel, and I want to say thank you to Bucky, you've taught me things that I haven't yet learnt from university!

Recently I've made this little program in C++, it encrypts messages based-on the vigenere cipher technique, users can input both the message and the key as they wish. I would like to post it here and ask if anyone could take a look, give me some feedback, because I'm still new to C++, and it'll be very helpful for me to improve my programming skills.

Thanks!

Secret.h:

//
// Created by JAY on 0029, 29, 07, 2015.
//

#ifndef CPP_TUTORIALS_SECRET_H
#define CPP_TUTORIALS_SECRET_H
#include
using namespace std;

class Secret {

private:
string message;
bool toEncrypt;

public:
Secret();

Secret(const string &message, bool toEncrypt);

~Secret();

void encrypt(const string &key);

void display();

};

#endif //CPP_TUTORIALS_SECRET_H



Secret.cpp:

//
// Created by JAY on 0029, 29, 07, 2015.
//

#include "Secret.h"

Secret::Secret() {

}

Secret::Secret(const string &message = "", bool toEncrypt = false) {
Secret::message = message;
Secret::toEncrypt = toEncrypt;
}

Secret::~Secret(){

}

void Secret::display() {
cout 96 && message.at(i) < 123) {
message.at(i) = (char)(((message.at(i) - 97) + (keyAscii[count] - 97)) % 26 + 97);
}
count++;
if(count == key.length()){
count = 0;
}
}
}
}


main.cpp:

#include
#include "Secret.h"

void calcMsgAmount(int &pArraySize);
void inputKey(string &key);
void processMsg(Secret &secret, string &key, int index);

int main(){
int arraySize;
string sKey;

calcMsgAmount(arraySize);
inputKey(sKey);

Secret secrets[arraySize];

for(int i = 0; i < arraySize; i++){
processMsg(secrets[i], sKey, i);
}

cout