Posts by Biu • 35 points
7 posts
-
-1
votes1
answer89
viewsQ: How to write a simple chained list in C++ without using <list>?
I’m using the operator delete to release an allocated memory block via new, however, when executing the code by the terminal it seems not to perform. No code error, it simply does not execute on the…
-
-1
votes1
answer24
viewsQ: Function of concatenating two chained lists returning only one element
I have a function that receives as parameter two chained lists containing elements and a third empty list that at the end will be the junction of the two, but at the end of the execution of the…
-
-2
votes1
answer30
viewsQ: How to access the value of a pointer within a function in main?
#include <stdio.h> #include <stdlib.h> int *Notas_Baixas(float Vet[],int Total_De_Notas, int *Pont_Numero_De_Notas_Baixas){ int i; *Pont_Numero_De_Notas_Baixas = 0; for(i = 0; i <…
-
0
votes1
answer72
viewsQ: How to receive a user value to be calculated in a function using Sympy?
I am using the Python Sympy Library, however, I did not find a way to calculate the result of a function using it, IE, I have my function that will be typed by the user, and the value of x that will…
-
0
votes0
answers153
viewsQ: Output badly formatted accented C characters in Visual Studio Code
Although it is importing the library referring to accentuation, the outputs of the accented characters come out totally unnoticed of the normal. This problem only happens in Visual Studio Code, the…
-
0
votes1
answer43
viewsQ: Error printing accented character in C!
# include <stdio.h> # include <stdlib.h> # include <locale.h> int main() { setlocale(LC_ALL,"portuguese_Brazil"); int Quantidade_De_Clientes, i; float Saldo_Total, Media_Total;…
-
1
votes1
answer137
viewsQ: How to get a program running in C without looping and compiling again?
# include <stdio.h> int main () { int Senha, Tentativa; int Contador_De_Erros = 1; printf("Vez do jogador 1 jogar\n\nLembrando que a senha tem que ser um numero entre 0 e 100\n\n");…