Is there any way to create a variable amound of endl: i.e. divide height by ten and make that many endl in a cout statement?

Sure.

int numEndl = 8;
for (int i = 0; i < numEndl; i++)
     cout << endl;
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.