#include "SSTable.h"
int SSTable::GetNumColumns();
#include "SSTable.h"
SSTable * pTable = new SSTable("MyTable");
// Add some columns and stuff, then loop over them
for (int i = 0; i < pTable->GetNumColumns(); i++) {
// Do something to each column
}
GetNumColumns returns the number of columns in the table.
| No Arguments |
The number of columns in the table.
| See also: | GetNumRows |
|---|