Hi I've made the array cs1 to be equal to array cs.
But I cant get the output. The compiler tells that there is a problem at this line: cout << cs; So what is the problem? Thank you!
#include <iostream>
int main() {
constint array[] = { 12, 45, 67, 28, 92, 37, 19, 64 } ;
// for each int value in the array, print it out
for( int value : array ) std::cout << value << ' ' ;
std::cout << '\n' ;
}
#include <iostream>
int main() {
constint array[] = { 12, 45, 67, 28, 92, 37, 19, 64 } ;
// for each int value in the array, print it out
for( int value : array ) std::cout << value << ' ' ;
std::cout << '\n' ;
}