Click here to Skip to main content
15,885,782 members

Comments by Humberto (Top 6 by date)

Humberto 15-Oct-12 6:52am View    
Very instructive. My 5!
Humberto 5-Sep-12 12:56pm View    
You are right, sir!
If am not wrong the OP wants to find all binary palindromes less then m. If so, a search for "how to find binary palindrome" can help.
Humberto 3-Sep-12 7:04am View    
Isn't this the same problem as finding all odd numbers less then m?
Humberto 22-Apr-12 5:56am View    
In the for loop you are comparing from right to left. To me it seems you must do the oposite.
Humberto 11-Dec-11 14:26pm View    
Try this modification to the read statement:

if ( fread(asd,1,tamanho,f) != tamanho) {
free(asd);
fclose(f);
erro("Erro de leitura");
}

and see if it calls erro().