Cara, eu to usando o Eclipse, o CDT, PyDev e o Subclipse no meu Dapper
sem problemas. Estou usando o Java da Sun que tem no repositório
universe (ou multiverse, sei lá) e baixei o Eclipse do site mesmo e
baixei os plugins via Eclipse mesmo.

És portuga, meu véio? Você diz 'projecto', né? :)

Tem uma outra IDE que achei interessante, mas não testei ainda que é o
http://www.codeblocks.org/.

(desculpa a demora)

Aldo

Em 19/06/06, T L<[EMAIL PROTECTED]> escreveu:
Boas ;)

Venho por este meio perguntar se alguém sabe de um bom tutorial para aprender a fazer um 
simples "Hello World" na linguagem C na plataforma eclipse-cdt. Estou a começar 
a  aprender a linguagem de programação C e o eclipse parece ser um IDE bastante bem 
desenvolvido, já que integra uma grande variedade de linguagens ficando assim o futuro 
assegurado no caso de querer aprender mais linguagens como Java. Como sou novo gostava de 
saber se alguém tem alguma sugestão melhor para um IDE exclusivamente para C.
De referir que já consegui fazer um "Hello World" mas para um projecto de C++ e 
quando tento fazer um projecto semelhante para C dá-me sempre erro.
Ao iniciar o projecto escolho "Managed Make C project" depois adiciono um file 
"main.c" e começa a dar erros:

console:

*** Incremental build of configuration Debug for project hello ****

make -k all
Building file: ../main.c
Invoking: GCC C Compiler
gcc -O0 -g3 -Wall -c -fmessage-length=0 -omain.o ../main.c
Finished building: ../main.c

Building target: hello
Invoking: GCC C Linker
gcc -ohello ./main.o
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/crt1.o: In function 
`_start':../sysdeps/i386/elf/start.S:115: undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [hello] Error 1
make: Target `all' not remade because of errors.
Build complete for project hello

continuo e insiro o seguinte codigo (ignorando o erro):



    #include <stdio.h>

    int main(int argc, char** argv) {
           printf("Hello World.\n");
           return 0;
    }


depois ctr-s
e

**** Incremental build of configuration Debug for project hello ****

make -k all
Building file: ../main.c
Invoking: GCC C Compiler
gcc -O0 -g3 -Wall -c -fmessage-length=0 -omain.o ../main.c
../main.c: In function 'main':
../main.c:6: error: stray '\226' in program
../main.c:6: error: stray '\128' in program
../main.c:6: error: stray '\156' in program
../main.c:6: error: 'Hello' undeclared (first use in this function)
../main.c:6: error: (Each undeclared identifier is reported only once
../main.c:6: error: for each function it appears in.)
../main.c:6: error: syntax error before 'World'
../main.c:6: error: stray '\' in program
../main.c:6: error: stray '\226' in program
../main.c:6: error: stray '\128' in program
../main.c:6: error: stray '\157' in program
make: *** [main.o] Error 1
make: Target `all' not remade because of errors.
Build complete for project hello


Será que alguém pode dar uma ajuda??

Obrigado antecipadamente

T



--
_______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org
This allows you to send and receive SMS through your mailbox.

Powered by Outblaze

--
ubuntu-br mailing list
[email protected]
www.ubuntu-br.org
https://lists.ubuntu.com/mailman/listinfo/ubuntu-br


--
ubuntu-br mailing list
[email protected]
www.ubuntu-br.org
https://lists.ubuntu.com/mailman/listinfo/ubuntu-br

Responder a