Pesquiza e Ordenação 0.0.1
Projeto estuda pesquisa: sequencial e binária; ordenação: selectsort e quicksort.
|
00001 00012 #ifndef __MYDEBUG_H__ 00013 #define __MYDEBUG_H__ 1 00014 00015 #ifdef DEBUG 00016 00017 #define STRLN(x) #x 00018 00019 #define STRLN_(x) STRLN(x) 00020 00021 #define PERRLN(msg) perror( msg " Linha(" STRLN_(__LINE__) ")") 00022 00023 #else /* se nao estiver definido DEBUG compilation */ 00024 00026 #define PERRLN(msg) perror((msg)) 00027 00028 #endif /* DEBUG */ 00029 00030 #endif /* __MYDEBUG_H__ */ 00031