mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
1000 by 1000 is a bit extreme
This commit is contained in:
parent
8bade9c709
commit
63e072a8cb
|
@ -24,11 +24,11 @@ int main()
|
|||
{
|
||||
auto sheet = workbook.create_sheet("Sheet" + std::to_string(i));
|
||||
|
||||
for(int row = 0; row < 1000; row++)
|
||||
for(int row = 0; row < 100; row++)
|
||||
{
|
||||
for(int column = 0; column < 1000; column++)
|
||||
for(int column = 0; column < 100; column++)
|
||||
{
|
||||
sheet[xlnt::cell_reference(column, row)].set_value(row * 1000 + column);
|
||||
sheet[xlnt::cell_reference(column, row)].set_value(row * 100 + column);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user