I have made a grid and want to put text on each text block. can it be like some align command in graphics.. which allows us to align the text in each block... plz help me out with this....
mukulbudania 0 Newbie Poster
Recommended Answers
Jump to PostUsing
std::cout
you can use the features in<iomanip>
for this. See here. Or, you can try withprintf()
.An alternative is to separate everything by tabs/spaces/commas and carriage returns and then output to file and open it in your favourite spreadsheet application.
All 3 Replies
Reply to this topic 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.