Debugging
1
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.. )
2
Name:
Anonymous
2010-05-09 9:36
Because Sepples sucks. Use C99 instead.
3
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
4
Name:
Anonymous
2010-05-09 10:01
>>2
C99 sucks. Use C89 instead.
5
Name:
Anonymous
2010-05-09 10:15
>>4
I'm sorry you're stuck with Visual C++.
6
Name:
OP
2010-05-09 10:58
Guys wtf.
I can't use Visual C++ for other rediculous shitty reasons, what can i do?
7
Name:
Anonymous
2010-05-09 11:03
8
Name:
Anonymous
2010-05-09 11:12
>>7
thanks for the (!answer), mate.
9
Name:
Anonymous
2010-05-09 11:14
>>8
It's the view that
at least all of
/prog/ share.
10
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
11
Name:
Anonymous
2010-05-09 11:23
>>6
Because you cant use
anonymous structs as a template argument.
OH NO! I ALMOST HELPED HIM.
12
Name:
Anonymous
2010-05-09 11:30
>>10
>Java
You sir, are a homosexual.
13
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
14
Name:
Anonymous
2010-05-09 11:55
15
Name:
Anonymous
2010-05-09 13:08
16
Name:
Anonymous
2010-05-09 14:32
17
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.
18
Name:
Anonymous
2010-05-09 17:45
>>16
I think you meant
/g/ .
19
Name:
2010-10-24 20:19