Check out example codes for "how to make a typing effect c++". It will help you in understanding the concepts better.

Code Example 1

int main()
{
string hello = "Your text goes here";
int x=0;
while ( hello[x] != '\0')
{
	cout << hello[x];
	Sleep(500);
	x++;
};
	return 0;
}

Learn ReactJs, React Native from akashmittal.com