Posts by fuso_ • 1 point
4 posts
-
0
votes1
answer30
viewsA: Transposed matrix that takes non-integer and fractional values
Declare your matrix as float or double! To print a double you must use "%lf" and to print a float, "%f". I hope I’ve helped!
-
-2
votes3
answers396
viewsA: Doubt: dynamic list chained inside another, in C
Okay, let’s go in parts! If you want to create a library . h, you must have a file . c without main function, where you will have all the functions that exist in that . h . That way, main should be…
-
-2
votes1
answer51
viewsA: How to name multiple dataframes automatically in Python?
for i in range(1, n): #sendo n o número de lojas+1 loja ='Loja_'+str(i) print(loja) I put it as print for you to test, but it’s this string + counter format that can do this task for you :)…
-
0
votes1
answer80
viewsA: How to generate a file from a doubly chained list?
Hello, this is because your entire program is not using any file saving method :) If you want to save your list, you can use the FILE* type variable and after that use the fwrite and fread functions…