Posts by t.pimentel • 188 points
2 posts
-
6
votes3
answers25526
viewsA: How to delete a character within a string?
To delete a value from a C array, you must move all of the following values one position back. for(int contador = i; contador < size_str1; contador++) str1[contador] = str1[contador + 1]; There…
-
1
votes1
answer492
viewsA: exec command does not work in python
In Python 2.x, the exec function cannot appear in functions that have "functions" with free variables. A generating expression implicitly defines an object code for the code that must be executed in…