本文整理汇总了C++中CSVRow::GetData方法的典型用法代码示例。如果您正苦于以下问题:C++ CSVRow::GetData方法的具体用法?C++ CSVRow::GetData怎么用?C++ CSVRow::GetData使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CSVRow
的用法示例。
在下文中一共展示了CSVRow::GetData方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: main
// Main entry point for the application
int main()
{
//Initialise graphics system(s)
Iw2DInit();
// Create root node
// g_SceneRoot = new CNode();
CSVReaderS3e* reader = new CSVReaderS3e(FILENAME);
IwTrace(GAME, ("NUMERO: HELLOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO"));
CSVRow row;
while (reader->ReadRow(row))
{
IwTrace(GAME, ("ROW CONTENT: %s", row.GetData().c_str()));
}
// Loop forever, until the user or the OS performs some action to quit the app
while (!s3eDeviceCheckQuitRequest())
{
//Update the input systems
//s3eKeyboardUpdate();
//s3ePointerUpdate();
Iw2DSurfaceClear(0xff8080);
//Update the scene. The SDK's example framework has a fixed
//framerate of 20fps, so we pass that duration to the update function.
//g_SceneRoot->Update(1000/20);
//Iw2DSurfaceClear(0xff00ff00);
// Your rendering/app code goes here.
//g_SceneRoot->Render();
//Draws Surface to screen
//Iw2DSurfaceShow();
// Sleep for 0ms to allow the OS to process events etc.
s3eDeviceYield(0);
}
//Terminate modules being used
//delete g_SceneRoot;
Iw2DTerminate();
//delete reader;
// Return
return 0;
}