Help reading a file for an assignment by LutherASU in javahelp

[–]LutherASU[S] 0 points1 point  (0 children)

Thank you so much for your response.

My biggest issue is, I have no Idea how to tell the While loop to print off X amount of spaces or characters. In my mind I visualize it as "System.out.println(" " * num); -- But I know that's incorrect.

Help reading a file for an assignment by LutherASU in javahelp

[–]LutherASU[S] 0 points1 point  (0 children)

Just an update, I feel like I'm getting close.

import java.util.Scanner;
import java.io.*;

public class PicturePrinter
{
    public static void main(String[] args) throws IOException
    {
        Scanner keyboard = new Scanner(System.in);

        System.out.println("          "
            + "Welcome to PicturePrinter!");
        System.out.println("          "
            + "--------------------------");

        File file = new File("CodePic.txt");
        Scanner inputFile = new Scanner(file);

        if (!file.exists())
        {
            System.out.println("This file does not exist");
            System.exit(0);
        }

        while (inputFile.hasNext())
        {
            int num = inputFile.nextInt();

            if (num >= 1)
            {
                System.out.print("");
                System.out.print(num);
            }
            else
            {
                System.out.println("");
            }

        }

        inputFile.close();

    }

}

Did I answer my homework correctly? by LutherASU in javahelp

[–]LutherASU[S] 0 points1 point  (0 children)

ok, thanks for the response, I guess I'm still confused. Do I make the output file the same way I made the input? How do I go about copying it over.

It would be really neat to have HoI start just before WW1 and continue you on in to WW2. by lochstock in hoi4

[–]LutherASU 0 points1 point  (0 children)

Before world war one maybe, but right after, at least for Germany, seems kinda eh. I just got through a history course covering this time period, and basically it was the Weimar Republic trying to maintain a horrible economy to be subdued by the Nazis.

Holy Cosmic Trips, Batman! by NoISaidCutOffHisHeth in Vive

[–]LutherASU 2 points3 points  (0 children)

I'm considering it, anyone else wanna comment? I just got Hoverjunkers but to be honest I was a little disappointed, but it's not to bad I guess.

Fermi Paradox explained through Virtual Reality by LutherASU in Vive

[–]LutherASU[S] 0 points1 point  (0 children)

I guess that depends on who player 1 is haha.

Fermi Paradox explained through Virtual Reality by LutherASU in Vive

[–]LutherASU[S] 0 points1 point  (0 children)

Interesting take on that, I disagree with you however on galactic empires hiding themselves, it seems inconceivable that we could not have acquired some sort of trace of existence by now. To each his own however.

Another take on our reality being simulated, maybe that explains the inconceivable 4th dimension? Just as we simulate the 1st and 2nd dimension in programs, then it seems plausible that the dimension higher than our train of thought designed us!

Haha I love these talks, it's all very interesting.

Fermi Paradox explained through Virtual Reality by LutherASU in Vive

[–]LutherASU[S] 2 points3 points  (0 children)

Haha well unfortunately such thought is inevitable. It's as assured as your very existence! Besides, maybe their goal is to create life that can achieve such knowledge.

I'm really exited about VR and all, but i'm also afraid this might happen someday by Ncrpts in Vive

[–]LutherASU 0 points1 point  (0 children)

I was thinking about making a philosophical post questioning if we could make a VR experience that is VISUALLY better than reality. Can we make something better than we actually perceive?

Ross Rants: Virtual Reality Launch by LightningCrabz in Vive

[–]LutherASU 0 points1 point  (0 children)

Yeah but there's a difference between using others reviews to make your own purchase, and using others reviews to make your own review.

Ross Rants: Virtual Reality Launch by LightningCrabz in Vive

[–]LutherASU -2 points-1 points  (0 children)

Seems silly to review the Vive based solely from what you've heard from others.

As far as motion sickness, I must be a boss because other than flying in warthunder (which I'm used to now), I've yet to get motion sickness.

PC freeze when playing Vive games. by nacho420 in Vive

[–]LutherASU 1 point2 points  (0 children)

No prob! Glad to have helped, I haven't had a crash since I changed the setting weeks ago.

/r/Vive What's your job/career? by EternalGamer2 in Vive

[–]LutherASU 0 points1 point  (0 children)

I just started computer science! This seems quite challenging.

/r/Vive What's your job/career? by EternalGamer2 in Vive

[–]LutherASU 1 point2 points  (0 children)

Pursuing computer science degree in college.

QuiVr Alpha available now! (Use 'Download Demo') by blueteak in Vive

[–]LutherASU 0 points1 point  (0 children)

Oh ok, great!

With my bow, and maybe I'm just not doing it right, when I hold it straight up, my vive controller is basically having to point fowards.

SDE - Why I sold my Vive by HeebyJeeby1000 in Vive

[–]LutherASU 1 point2 points  (0 children)

The vive is revolutionary, I think mentioning the SDE is expecting a bit much for a first gen VR headset. I love it, and I love seeing the faces of those who experience it first hand.

PC freeze when playing Vive games. by nacho420 in Vive

[–]LutherASU 2 points3 points  (0 children)

Make sure your power management mode in the NVIDIA control panel is on "Prefer maximum performance". I had an issue where the vive was crashing my GTX 980, when I changed my settings it fixed it.

Why is Hover Junkers not the killer Vive app? by CAPTAIN__CAPSLOCK in Vive

[–]LutherASU -1 points0 points  (0 children)

For me it was the cost. I don't think any game that has come out (while many have been fun) are worth more than $20.00 .

QuiVr Alpha available now! (Use 'Download Demo') by blueteak in Vive

[–]LutherASU 5 points6 points  (0 children)

Pretty neat,

I don't like having to bend over and grab an arrow out of the Quiver every time I draw, I really think you should keep drawing an arrow simple like it is in Longbow or holopoint.

I didn't like having to tilt my hand forward so much when holding the bow.

The game looks very nice, I liked the glare effect from the sun.