Posts by Programador • 135 points
7 posts
-
4
votes1
answer2333
viewsQ: How do I split into Assembly?
Boa Pessoal , I’m new to Assembly, I’m having trouble with division. When I compile the program on the command line, I get this error Floating point Exception. .section .data .global op1 .global op2…
assemblyasked Programador 135 -
3
votes1
answer514
viewsQ: How do I eleminate repeated numbers in c
My problem is that I can’t eliminate repeat numbers. First thing my algorithm does is organize the elements, then in the eleminar_numeros_repeated copy method to second vector which is vec1.Only…
casked Programador 135 -
0
votes2
answers91
viewsQ: Project linkage problem with more than one source file
This is to my function. It gives me error when calling in main function. This is the header of my function, in the function file1.h int eleminar_numeros_repetidos(int *vec, int n, int *vec1); File…
-
2
votes2
answers2311
viewsQ: How do I create a C Makefile
I’m having problems running Makefile. main: ex09.o funcao1.o gcc -c ex09.o funcao1.o -o main ex09.o: ex09.c gcc -c ex09.c funcao1.o: funcao1.c funcao1.h gcc -c funcao1.c clean: rm *.o One of Linker…
-
2
votes1
answer3201
viewsQ: How do I know the address of each vector position in C?
I’m having trouble knowing the vector address and address of each vector position. #include <stdio.h> int main(){ int vec[]={52,13,12,14}; printf("Endereço de vetor %d",&vec);…
-
1
votes2
answers252
viewsQ: Error comparing two C strings
I type a value at the command line. That is in the binary vector. But if it is not return to the message from printf. But my problem is that it always goes into the cycle if, regardless of whether…
-
0
votes2
answers2034
viewsQ: How do I compare two strings in c
Basically what I want to do. It is receiving a String at the command line.Only the String entered, have to be in the binary base, so I do an if to check whether it is binary or not. My problem is in…
casked Programador 135