0

How to display rows and colums in c++

need to use these rows and colum to reserve seats

23rd Oct 2016, 11:25 AM
Ryn
Ryn - avatar
3 odpowiedzi
0
You mean to display in console, like here in course? Yeah, you would write the rows of numbers into cycle, like 1 2 3 4 5 6 7 8 9 10 11 11 12 13 14 15 etc separated with tabs..And you can use some sign (example X) to separate free and selled seats. Or use conio library to use diffrent colors to separate it.
23rd Oct 2016, 5:32 PM
Petr Hatina
Petr Hatina - avatar
0
the rows are numbered A: to E: , the colums are 1 to 9, i will later need to write functions to reserve seats in rows..
23rd Oct 2016, 5:51 PM
Ryn
Ryn - avatar
0
how do you declare char and int in an array?
23rd Oct 2016, 5:52 PM
Ryn
Ryn - avatar