//....
#include <string>
#include "decry loop.h"
#include <stdlib.h>
int main()
{
string p;
int q = 0;
int o = 6;
cout << "Sentence: ";
cin.ignore();
getline (cin,p); //*Introduce "00100 "
char h = (p.length() / 6);
cout<<"Result: ";
for (int i; i < h; i++) //doing the loop 1 time or 2 if theres 12 characters!
{
std::string f6de = p.substr(q, o); //Detect first 6 character with white spaces
dloop(f6de, dlr); //the loop!
q += 6; //Going to the next part
o += 6; //Going to the next part, something like if i have "00100 01010 "
}
cout<<dlr;
return 0;
}
at the main.cpp: when cout<<dlr; is displayed nothing? I dont understand and i tryed to fix this and anything that i tryed dosent worked, please help me! Thanks in advance!
I already maked it, look at first post, no difference :(
**I will be afk for 2 hour**, i hope some1 will find my problem :(, i will enter on phone, but idk if i can see/reply!