Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void SparaFil ()
- {
- try
- {
- output = new PrintWriter (new File ("fil.txt"));
- }
- catch(FileNotFoundException e)
- {
- System.out.println(e.getMessage( ));
- System.exit(0);
- }
- for(int i=0;i<size;i++)
- {
- output.println(v[i] + " ");
- if ( i%10 == 0)
- output.print("\n");
- output.close( );
- }
- }
- publi
Add Comment
Please, Sign In to add comment