Posts by Evilmaax • 2,613 points
115 posts
-
3
votes3
answers1653
viewsQ: Arraylist for String with split
I’m trying to break the following ArrayList with a String: ArrayList<Funcionario> funcionarios = new ArrayList(); But when I instate the object, I add the values inside through my method and…
-
4
votes2
answers1471
viewsQ: Allow special characters as Java keyboard input
I am using Scanner to read some keyboard data, however, accents and special characters are not identified. For example: João and Maurício appear with a small square in the accented letter, however,…
-
2
votes2
answers2969
viewsQ: How to sort and sort strings without using Collection?
I am creating a register of employees with some fields(name, email, phone and salary) in ArrayList which are recorded in txt. After the data is entered into the array (before passing to txt) they…
-
3
votes2
answers649
viewsQ: Doubt with the use of placeholder and onfocus in HTML
Guys, I’m creating a login screen where I want to use placeholder and onfocus for when the user clicks on the box disappear what is written (for example: "e-mail") and, if it erases everything…
-
3
votes1
answer324
viewsQ: Hide results in Excel
Good afternoon, guys. I have the following problem: I have several lines and each one of them is protected with a different password for the edition, each corresponding to a company unit. I need the…
-
0
votes2
answers192
viewsQ: File manipulation
Hello. I have a big problem to manipulate and create a C file. First I did the whole code using a struct and functions, everything worked right. I put the commands to create the file and it is also…
-
0
votes3
answers4312
viewsA: How the end of file loop is done
As the colleague above put it: C interprets directly, since by default it has this automatic "== 0", I believe that in broad terms it can be compared to the case of for (x=0;x<MAX;x++) o que…
-
1
votes1
answer556
views -
1
votes1
answer86
viewsQ: I can’t call a string
I created an algorithm that simulates a stock of a dvd sales. It stores name, price and quantity. It has some functions and it enters them, one that informs the quantity and the price of a specific…
-
1
votes2
answers83
viewsQ: Problem with random values
Good night, you guys. I’m solving an exercise where I must, at each run, generate a random number and then turn it into a letter. For this I made a function. It is almost all right, the number is…
-
0
votes2
answers1648
viewsQ: Bubble Sort matrix, bi dimensional vector
I’m having trouble creating a Bubble Sort order a square matrix. Simple vector I get, the problem eh with matrix. I tested several ways and nothing. At the moment I am in the following…
-
1
votes1
answer84
viewsQ: Error in a function check
I need to make a code with several specific functions. In one of them, with a square matrix, I need to trace a primary and a secondary line, both cutting in the middle diagonally, leaving the higher…
-
1
votes2
answers250
viewsQ: Repeat loop is not running
I am making a code in which there is a vector (with 15 positions) with predetermined values (10 values any and 5 times the value 0), and where the user will inform a new value to go to the end of…
-
1
votes2
answers520
viewsQ: Problems with if and conditions
I’m making a code that receives three values and orders them from the highest to the lowest. As a condition, when the numbers are repeated, an error message is displayed and the program must close.…
-
9
votes3
answers1348
viewsQ: Problems with "or" in C++
I need to make an algorithm that gets 3 different numbers, and if it gets repeated numbers, it gives an error message. My program is all working properly, but when I put such a line to warn of the…