Posts by Henrique Marques • 87 points
6 posts
-
0
votes2
answers234
viewsQ: My PHP not saved in BD
The BD connection has been successfully established. If I play the same Query in Phpmyadmmin the command works and the data is saved in the BD. But if I use the same command in PHP it simply won’t…
-
0
votes1
answer912
viewsQ: Segmentation fault (core dumped) when accessing String
I built the code below to separate only the last characters of a link (the last 11 to be exact). Until then everything works well, calculations are done normally, values also match. The problem is…
-
0
votes2
answers74
viewsQ: How to edit gigantic codes?
It’s a question I’ve had since I started reading codes. I see some classes with a thousand, two thousand, thousands of lines. How a programmer can edit so much without "getting lost" in the middle…
-
1
votes2
answers1066
viewsQ: Java - Could not find main class
The code below does not compile: package app1; public class main{ public static void main(String args[]){ System.out.println("Hello World!"); } } The following message appears in the terminal:…
-
0
votes3
answers236
viewsQ: char print returns random character
I compile the code below without errors. When I insert the word (or phrase desired) the printf returns a random character like 0 � a etc. The program should read a word (or phrase) and the printf…
-
5
votes1
answer227
viewsQ: Return 0 on Linux and Windows
I am starting the ADS course and my programming teacher insists on using the return 0 at the end of the function. Most use Windows, I realized that the return 0 is required on Windows but on Ubuntu…