#includevoid main(void) { cout << "Dziala!!!" ; }
gcc ram:hello.cpp -o ram:hello
10.Workbench:> gcc ram:hello.cpp -o ram:hellocpp /t/cc6nbB5u.o(.text+0x1c): undefined reference to `cout' /t/cc6nbB5u.o(.text+0x22): undefined reference to `ostream::operator<<(char const *)' collect2: ld returned 1 exit status 10.Workbench:>
stdio.hzamiast
iostream.hi z
printf()zamiast
coutskompilował się bez zgrzytów.
@Kaczus, post #2
@Kaczus, post #2
@R-Tea, post #12
@R-Tea, post #1
@R-Tea, post #17
@R-Tea, post #19
@shg, post #20
@R-Tea, post #21
@R-Tea, post #21
@R-Tea, post #1