vc++ 에서는 아무 이상없이 돌아가는데..
g++ 에서는 에러가 납니다.
제가 주로 이용하는 컴파일러가 g++ ???
질문을 드립니다.
소스는
[code:1]#include <iostream>
using std::cout;
using std::cin;
using std::endl;
#include <vector>
#include <algorithm>
int main ( void )
{
const int SIZE = 6;
int array[ SIZE ] = { 1, 2, 3, 4, 5, 6 };
std::vector< int > integers( array, array + SIZE );
std::ostream_iterator< int > output( cout, " " );