Posts by Raphael • 104 points
7 posts
-
1
votes1
answer91
viewsA: How to change the attribute of an object received per parameter in a method?
What you want is to pass the object to the method by reference, this is passing the address in memory to the object, instead of passing it by value as written in your code, where the method copies…
-
-1
votes1
answer59
viewsA: Function with three parameters in Javascript. Error returning "true" or "false". What to do?
You are incorrectly passing the parameters in the function call. The right thing would be: maiorAlto('Laura', 21, 187); This code is also missing semicolon to indicate the end of the instructions.…
-
0
votes2
answers478
viewsA: Search in file . txt
Strings handling in C is a bit more complicated than in most languages. To do searches in text files in C you must make a LOOP reading the entire file and checking character by character to find the…
-
0
votes3
answers381
viewsA: How to remove hours from a Datetime string
Note that you used the Split function by specifying the delimiter "-" in the String "2020-07-06 15:00:00". This way you get 3 strings: arrayData[0] = "2020" arrayData[1] = "07" arrayData[2] = "06…
-
1
votes1
answer137
viewsA: Help with While in Java
While loop allows conditional check at the beginning or end of the instruction block that will be repeated. Example Loop with check at start: while(condição){ //bloco de códigos } Example Loop with…
-
1
votes1
answer82
viewsA: How to print a flumulario containing tables (grid) via c#
You can do this using Printdocument. The _Printpage event of the Printdocument object has as parameter Printpageeventargs that makes it possible to draw Strings and Lines in your document for…
-
0
votes2
answers164
viewsA: Javascript - User Data Doubts
That is correct. This is the use of array (vector or matrix) of variables. Note that: var usuario1 = ['Et da Estônia', 17, 170]; Is the same as: usuario1[0] = 'Et da Estônia'; usuario1[1] = 17;…
javascriptanswered Raphael 104