#how to get the end to have 1?

10 messages · Page 1 of 1 (latest)

little cairnBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

ripe lily
#

!not-c, but what's wrong with cout << "1\n"; after the code you posted?

#

the font is going to be a terminal thing unless you're going to make a window, you can't affect the terminal font from inside C/C++ much. in your own window, yeah, go nuts. as to swapping the output to face left to right, you'd have to make your logic output the appropriate number of spaces before outputting the numbers themselves. perhaps a char array of spaces of the appropriate width, and you negative index into that array to overwrite the spaces with the desired numbers?

#

that last suggestion is a C suggestion, IDK what a C++ suggestion would look like -- that's what #1013107104678162544 is for

jovial matrix
#

thanks! it works after i put in 1 at the end

#

i will post this question again in #1013107104678162544 sorry for the troubles

little cairnBOT
#

@jovial matrix

Please Do Not Delete Posts!

Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.

#

@jovial matrix Has your question been resolved? If so, type !solved :)

jovial matrix
#

!solved