Posts by Victhor Hugo • 85 points
4 posts
-
-4
votes1
answer38
viewsQ: Why is "this.list" Undefined?
I don’t understand why this.lista is Undefined on line 7, can someone explain to me? I just want the explanation, I know if I replace, on line 13, .onclick = lista.add for .onclick = function(){…
javascriptasked Victhor Hugo 85 -
5
votes1
answer97
viewsQ: Strange values in output when running newly compiled application
When I compile and execute this code on Linux, it shows a strange result. I believe it is memory junk. What is happening for it to show this result, and how I can solve? Command lines to compile…
-
0
votes1
answer247
viewsQ: When I try to make a.bin file it gives multiple definition error in all functions
In the Linux i use the following command lines to run all files: gcc -c aluno.c // gera o arquivo objeto com extensão .o de mesmo nome gcc -c teste.c gcc -o prog.bin teste.o aluno.o //para criar o…
-
2
votes1
answer1098
viewsQ: Why is this error? - invalid application of ?sizeof' to incomplete type
When I try to compile(gcc test.c) it generates the following error: The code: #include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct aluno Aluno; int main() {…