[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math

Search:


View post   

>> No.6201265 [View]
File: 7 KB, 248x169, Christopher-Michael-Langan.jpg [View same] [iqdb] [saucenao] [google]
6201265

why is this not printing? I want it to print to a text file that already has stuff in it and not overwrite it, but it's not writing anything at all.
public void openFile(String filename) throws IOException
{
outputFile = new PrintWriter(new FileWriter(filename, true));

}


public void writeToFile(Song song)
{
outputFile.println(song.getTitle());
outputFile.println(song.getArtist());
}


I'm calling the writeToFile method in a different class with the name of the Song object I want to use. It's supposed to print to a txt file but it isn't.

>> No.5947370 [DELETED]  [View]
File: 7 KB, 248x169, Christopher-Michael-Langan.jpg [View same] [iqdb] [saucenao] [google]
5947370

Who would win in a debate between this guy and the atheist of your choice?

>> No.3680529 [View]
File: 7 KB, 248x169, Christopher-Michael-Langan.jpg [View same] [iqdb] [saucenao] [google]
[ERROR]

http://io9.com/5832691/this-candle-flame-is-filled-with-millions-of-diamonds

>> No.3675602 [View]
File: 7 KB, 248x169, Christopher-Michael-Langan.jpg [View same] [iqdb] [saucenao] [google]
[ERROR]

Say hello to your god.

http://www.youtube.com/watch?v=ggur-Ca2nzs

>> No.3415775 [View]
File: 7 KB, 248x169, chrislanganreaction.jpg [View same] [iqdb] [saucenao] [google]
3415775

I can prove God exists using binary logic. Umad, mathfags?

>> No.3408483 [View]
File: 7 KB, 248x169, 1315246_f248.jpg [View same] [iqdb] [saucenao] [google]
3408483

Why hello there, /sci/

What's your opinion on Christopher Langan and CTMU? (http://www.ctmu.org/))

>> No.2358881 [View]
File: 7 KB, 248x169, Christopher-Michael-Langan.jpg [View same] [iqdb] [saucenao] [google]
2358881

>>2358870

IQ of 200

>MFW your friend is Chris Langan

Navigation
View posts[+24][+48][+96]