1 |
Esqueci de falar do problema. Ta dando um erro, "expected ; before 'it'" |
2 |
|
3 |
|
4 |
> ----- Original Message ----- |
5 |
> From: "Carlos Augusto Silva" <carlos.aug@×××××××××.org> |
6 |
> To: "gentoo-user-br" <gentoo-user-br@l.g.o> |
7 |
> Subject: [gentoo-user-br] Problemas com C++ [[off topic] |
8 |
> Date: Fri, 12 May 2006 17:02:44 +0800 |
9 |
> |
10 |
> |
11 |
> Galera, to tentando brincar com uns códios em c++ e to com problema |
12 |
> nesse template. Alguem pode dar uma ajuda pra mim? Sei que a lista |
13 |
> não eh pra isso, mas vai que alguem manja e pode me ajudar? Valeu! |
14 |
> |
15 |
> template<typename T> static VALUE cxx2ruby(TagLib::List<T> list) |
16 |
> { |
17 |
> VALUE rubyarray = rb_ary_new2(list.size()); |
18 |
> TagLib::List<T>::Iterator it; |
19 |
> |
20 |
> for(it = list.begin() ; it != list.end(); it++ ) |
21 |
> { |
22 |
> rb_ary_push(rubyarray, cxx2ruby(*it)); |
23 |
> } |
24 |
> |
25 |
> return rubyarray; |
26 |
> } |
27 |
> |
28 |
> -- |
29 |
> _______________________________________________ |
30 |
> Check out the latest SMS services @ http://www.linuxmail.org |
31 |
> This allows you to send and receive SMS through your mailbox. |
32 |
> |
33 |
> Powered by Outblaze |
34 |
> |
35 |
> -- |
36 |
> gentoo-user-br@g.o mailing list |
37 |
|
38 |
> |
39 |
|
40 |
|
41 |
-- |
42 |
_______________________________________________ |
43 |
Check out the latest SMS services @ http://www.linuxmail.org |
44 |
This allows you to send and receive SMS through your mailbox. |
45 |
|
46 |
Powered by Outblaze |
47 |
|
48 |
-- |
49 |
gentoo-user-br@g.o mailing list |