Help with class
0 Answers
Help with class
| Flag | PURGE
ive got a problem with a following code. i get error " expected `;' before '(' token ". does anyone know the problem?
#include <iostream>
class ED {
class AB {
int n;
AB(int x) { n = x;}
};
AB blee(1);
};
int main() {
// ED objekt;
return 0;
}
Email me when people comment.
Email me when people comment.
Loading...
An error occurred in subscribing you.
Email me when people comment.
Email me when people comment.
Loading...
An error occurred in subscribing you.
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.