cpp11/ilists.cc

18 lines
220 B
C++
Raw Normal View History

#include <vector>
// valid c++03:
struct thang
{
float f;
int i;
};
thang scalar = {3.14, 42};
thang anArray[] = {{1.1, 1}, {2.2, 2}, {3.3, 3}};
int main() {
2012-05-25 07:17:47 -07:00
// vector<thang> v = { ??? }
return 0;
}