Posts by tigre200 • 13 points
3 posts
- 
		1 votes1 answer66 viewsA: Storing a character in the vectorThe scanf function uses a buffer to obtain input. The user entering input into a terminal is stored in a buffer. The scanf function reads the characters of that buffer. What happens in your example… 
- 
		0 votes2 answers525 viewsA: Open java PDF on another machineWhen creating the File object use as argument "./rectory/manual.pdf" whereas in Netbeans what would be the current command line directory is the src folder. So your piece of code would be: try {… 
- 
		0 votes4 answers806 viewsA: Organizing positions of a vectorimport java.util.Arrays; public class Test { public static void main(String args[]) { double[] vetor1 = new double[]{2.3, 4.7, 1.4}; double[] vetor2 = new…