2012-05-05 08:01:40 -07:00
|
|
|
#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 = { ??? }
|
2012-05-05 08:01:40 -07:00
|
|
|
return 0;
|
|
|
|
}
|