Sorry back ,problem was not solved. I tried using the getline() but it didn't work.
This just slipts the string into bits, but what I would like is for the first "section" (before the dot) to be assigned to a variable called "numbers" and then the second "section" as well. I was thinking of using some for() loops, but I'm stuck.
using namespace std;
int main ()
//will be like 48657865.435435643.42143256467.243125435.2143214.5683465.4732985793.43278567.13527186.54396984
I can get the first number and the second ect but then I can combine them to form one full variable. Just saying numbers=decode_message + decode_message dosn't work.