13.12.2012 Views

Algoritmos e Estruturas de dados - Bibliotecas - UTFPR

Algoritmos e Estruturas de dados - Bibliotecas - UTFPR

Algoritmos e Estruturas de dados - Bibliotecas - UTFPR

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Bibliotecas</strong> - Introdução<br />

Pré-processador (cpp) - Etapa inicial que trata as diretrizes<br />

#<strong>de</strong>fine, #inclu<strong>de</strong>, #ifn<strong>de</strong>f, etc.<br />

veja o que ocorre ao executarmos o cpp teste.c on<strong>de</strong><br />

teste.c é:<br />

✞<br />

1 int main ( void ) {<br />

2 printf (" teste ");<br />

3 return (1) ;<br />

4 }<br />

✝ ✆<br />

É claro que este fonte .C precisa do<br />

#inclu<strong>de</strong> então execute novamente o<br />

cppcom o fonte .c que faz um inclu<strong>de</strong> e veja a<br />

diferença.<br />

(<strong>Bibliotecas</strong>) 4 / 18

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!