Program functionality:
1.) Design a rudimentary spread sheet.
2.) Provide provision for the entry of a formula, i.e. cell#?? = value, cell#?? = operation, cell#?? = value, and cell#?? = answer.
3.) Basic arithmetic operations (+,-,*,/)
I have the grid display completed. How do I go about coding for the selection of a cell and then display the value within that cell. I've been playing around with switch statements but i havent quite figured it out.
Hi,
I'm sorry but I have a question to ask: Is this the full program? Here's what my compiler said:
hi.cpp:1: type specifier omitted for parameter
hi.cpp:1: parse error before `*'
hi.cpp: In function `void _tmain (...)':
hi.cpp:6: `ROW' undeclared (first use this function)
hi.cpp:6: (Each undeclared identifier is reported only once for each
function it appears in.)
hi.cpp:6: `COL' undeclared (first use this function)
hi.cpp:8: `cout' undeclared (first use this function)
hi.cpp:8: `fixed' undeclared (first use this function)
hi.cpp:9: `setprecision' undeclared (first use this function)
hi.cpp:15: `CellGrid' undeclared (first use this function)
hi.cpp:23: `endl' undeclared (first use this function)
hi.cpp:24: `setfill' undeclared (first use this function)
hi.cpp:24: `setw' undeclared (first use this function)