|The task is to create a program with the smallest amount of code inside 'main'|
Yeah that's soooooo easy...
Edit: Ok so I've editted the code.
const int s(10);
for(i = 0; i < s; i++)
cin >> v[i];
Last edited on
Does it have to be an int* pointer, and why is that? If I want to put the
func(void) in a class using mulitple files, should I use a *.h file to include or a *.cpp file included in a *.h file?
Or can I use just the *.h file for my class and put all my functions in it?