Posts by Matheus • 77 points
6 posts
-
0
votes2
answers444
viewsQ: How to authenticate user using your Google account in an app built with Expo (React Native)?
I’m developing an app with PHP in the backend and React Turn on the mobile frontend. The app already has a web frontend written with jquery, and the authentication is done using Google Oauth. In the…
-
3
votes1
answer568
viewsQ: How to create binary tree with iterative algorithm?
I’m making a program that allocates a dictionary in memory to check for misspelled words in text files. The function below converts dictionary words into integers and stores them in tree structures.…
-
1
votes0
answers22
viewsQ: Diagnostic in Code Retrieving JPG’s from File
In a course exercise I have to write a program that recovers JPG images from a file. The code below is not ready, but it should find the signatures of JPG (0xffd8ffe0 or 0xffd8ffe1) inside the file…
-
1
votes1
answer132
viewsQ: What is the difference between *variable and *variable-'0'?
I’m writing a Sudoku game with C and ncurses, below follows the code of a function that receives a pointer to a variable (ch) which stores typed key with function getch(), if the number already…
-
1
votes1
answer90
viewsQ: Algorithm bugs that encrypt text
I’m writing an algorithm that encrypts text using a word as a password, Vigenère cipher. Upper and lower case characters should encrypt, special characters and numbers should be ignored. My…
-
-1
votes2
answers903
viewsQ: Exercise in C, printing of change
Consider four coins, 25 cents, 10, 5 and 1. Build a C program that asks the user how much he wants to receive in change and then print out the amount of coins needed to pay the change, always…