Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- struct thing {
- int five;
- float* floot;
- };
- int main() {
- struct thing* array = new thing[15];
- for (int i = 0; i < 15; i += 1) {
- struct thing* mything = new thing;
- array[i] = *mything;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement