I am using the following code which can tokenize the strings based on DELIMITER. But I want this data to be saved in a vector such that I can access the data anywhere in my program. Is there any chance without using vectors I could achieve this? Are vectors really useful?
But I want this data to be saved in a vector such that I can access the data anywhere in my program. Is there any chance without using vectors I could achieve this?
No. There is no way you can save stuff in a vector without using a vector.