Posts by Bruno Marques • 114 points
8 posts
-
0
votes1
answer1893
viewsQ: Cryptography in C
I am developing a program in C, which will be able to encrypt and decrypt texts and save them to disk separately. I want to use the ASCII table for the implementation of Cryptography, I am able to…
-
2
votes1
answer665
viewsQ: Convert File string to Float
The program below should take the data written in a file . txt, show on screen and do the general average calculation. the data in . txt are being saved in the following format: Student: Bruno First…
-
2
votes1
answer1711
viewsQ: Simple text editor in C
I have the following exercise proposed: Make a program that mimics a text editor. Initially you will read the data typed by the user (lines of text) and create a vector in memory where the texts…
-
0
votes2
answers74
viewsA: Function ends before asking for scanf value
Sometimes there is a kind of "garbage" in the keyboard buffer that is when you press enter, then when you enter the next scanf it receives this enter again and for it is as if it had already…
canswered Bruno Marques 114 -
1
votes1
answer211
viewsQ: Pointer Statement in a struct and calling it in function
I must solve the following problem by creating a function for reading, one for calculation and using pointers. #include <stdio.h> #include <stdlib.h> #include <math.h> struct ponto…
-
0
votes1
answer272
viewsA: Listing by name in a struct
you can try using the command strcmp(string1, string2) to compare two strings and try to sort with a pointer helper
canswered Bruno Marques 114 -
1
votes2
answers2198
viewsQ: Program Ignoring the Scanf
I need to create an algorithm as requested below, but every time I run the program it "skips" steps. For example: I want you to stay like this Product: "Potato" Sector: "Food" Quantity: "15" Price:…
-
1
votes1
answer147
viewsQ: Switch command does not work and shows no errors
I’m trying to solve the following exercise: Devise an algorithm that assists in controlling a cattle farm that has a total of 2,000 head of cattle. The database consists of a set of structures…