Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

I'm learning c++

Name: Anonymous 2010-09-14 8:24

And my compiler is letting me do something weird.


If I do this:

int x; //matrix-size

cin >> x;

int array[x];

I can compile. I don't even get a warning. (I'm using the Codelite IDE for Linux, compiler is g++)

Does this work in c++ or is my compiler just fucking with me?

Name: Anonymous 2010-09-16 11:35

I got 99 problems, but Java ain't one
Fixed that for you.

Name: Anonymous 2010-09-16 14:25

>>40
I got 99 problems, all of which are C99.

Name: Anonymous 2010-09-16 16:57

>>42
I got C99 problems, of which all are strict aliasing.

Name: Anonymous 2010-09-16 18:34

I got int C = 1; C++ problems, but now C ain't 1.

Name: Anonymous 2010-09-16 18:48

>>44
i feel bad for you son

Name: Anonymous 2010-09-16 19:13

Liking C++ more than C is similar to liking the remake of Psycho more than Hitchcock's version.

Name: Anonymous 2010-09-17 3:20

>>46
The remake was better because they had access to better technologies, and the industry was more mature when it was made.  I forgot which one I was talking about.

Name: Anonymous 2010-11-27 8:58


Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List