All the sources codes "But why ?"page 15
C++
May 06, 2016 am31 01:30
#247
void menu() {
char input;
// something into input...
switch(input) {
case '1':
// ......
printf(".......");
break;
case '2':
//......
main(); // go back to menu
break;
// (omitted)
int main() {
menu();
return 0;
}
C++
May 05, 2016 am31 01:30
#246
char * typeOfFile(int t){
if(t=0)
return "Text";
else
return "Image";
}
Java
May 04, 2016 am31 01:30
#245
if (numCotRemovidas > 0){
int nada = 0;
int x = nada;
}