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

Pages: 1-

Debugging

Name: Using Dev Compiler 2010-05-09 9:24

in C++ why can i not globally define:
typedef vector< struct { double x,y,z; }; > meshMap;
?
i get these two, twice:
program.h expected init-declarator before '<' token
program.h expected `,' or `;' before '<' token
( the second set are for the '>' chevron.. )

Name: Anonymous 2010-05-09 9:36

Because Sepples sucks.  Use C99 instead.

Name: Anonymous 2010-05-09 9:47

its templates are ultra-gay and are only used by C++ ultra-nerds who wank off over boost and sepplesox

Name: Anonymous 2010-05-09 10:01

>>2
C99 sucks. Use C89 instead.

Name: Anonymous 2010-05-09 10:15

>>4
I'm sorry you're stuck with Visual C++.

Name: OP 2010-05-09 10:58

Guys wtf.

I can't use Visual C++ for other rediculous shitty reasons, what can i do?

Name: Anonymous 2010-05-09 11:03

>>6
Don't use templates!

Name: Anonymous 2010-05-09 11:12

>>7
thanks for the (!answer), mate.

Name: Anonymous 2010-05-09 11:14

>>8
It's the view that at least all of /prog/ share.

Name: Anonymous 2010-05-09 11:17

youre code is a very good example of why people should not start with C++ as a first language.

Take the advice given and learn C and/or Java first and save yourself a lot of needless headaches

Name: Anonymous 2010-05-09 11:23

>>6
Because you cant use anonymous structs as a template argument.
OH NO! I ALMOST HELPED HIM.

Name: Anonymous 2010-05-09 11:30

>>10
>Java
You sir, are a homosexual.

Name: Anonymous 2010-05-09 11:37

>Java
>You sir, are a homosexual.

And yet OP is trying to declare a vector in a typedef...oh the lulz

Name: Anonymous 2010-05-09 11:55

>>13
Please, leave.

Name: Anonymous 2010-05-09 13:08

Name: Anonymous 2010-05-09 14:32

Name: Anonymous 2010-05-09 14:32

>>15
Fuck off, ``faggot''.

Actually, I'm just doing this because >>14-san said exactly the same thing.

Name: Anonymous 2010-05-09 17:45

>>16
I think you meant /g/.

Name: ​​​​​​​​​​ 2010-10-24 20:19

Name: Anonymous 2010-12-26 17:17

Name: Anonymous 2013-01-18 23:26

/prog/ will be spammed continuously until further notice. we apologize for any inconvenience this may cause.

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