Posts by Matheus Araujo • 17 points
3 posts
-
0
votes2
answers321
viewsQ: How to place an integer at the end of a string?
I need to loop up n placing an integer at the end of a string. Ex: string "E0" and an integer of 0 to n, getting something like this: E00, E02, E03, ... , E0n char ent[3] = {'E','0'}; char a[1]; int…
-
1
votes1
answer3977
viewsQ: Warning: assignment makes Pointer from integer without a cast
I did some research, but I don’t quite understand what that means and what it says about my code. I have that function cria_palavra which returns a pointer, there in the main, when I will receive…
-
0
votes1
answer55
viewsQ: How to delete a file (not txt) in C?
I’m creating a program that puts each student’s grades in a different file. The user places the student’s code and this code becomes the name of a file that is not txt (I don’t know how to make it…