• Think i will get in trouble? (This is at school)
    14 replies, posted
Im in my visual basic class, and i wrote this program in c#. [CODE] private void button4_Click(object sender, EventArgs e) { // Write is a file dialog write.ShowDialog(); textBox2.Text = write.FileName; } private void button3_Click(object sender, EventArgs e) { if (textBox2.Text == "") { MessageBox.Show("No File Path/Name set!"); { return; } } int c = 0; int x = Convert.ToInt32(textBox3.Text); do { c++; StreamWriter sw = new StreamWriter(textBox2.Text + c + ".txt",true); sw.WriteLine(textBox3.Text); sw.Close(); } while (!(c==x)); [/CODE] I set x for 500,000 :D, Keep in mind, i am saving the files to the my documents folder, (it is a network drive). (For some bs reason. Like spamming the server?)
That's just stupid -.-
Boredom my friend, Boredom.
Immature. All you will be doing is filling up a small portion of your filespace and possibly fragmenting it.
The worst trouble you'll get is being slapped on the wrist for using such terrible variable names, and then being unable to save your source code on your network share because you'll have filled it with crap. The rest of the school will be happily chugging along since your IT admin probably setup quotas for each user.
You could get expelled for fucked with shit like this ;)
You will go to jail.
LOL @ responses /sarcasm Next year my Junior year my school will no longer have programming classes =(
[QUOTE=Encryption;20272903]LOL @ responses /sarcasm Next year my Junior year my school will no longer have programming classes =([/QUOTE] That's very informative but sadly we don't give a shit.
[QUOTE=Encryption;20272903]LOL @ responses /sarcasm Next year my Junior year my school will no longer have programming classes =([/QUOTE] Um, sarcasm? You [b]will[/b] go to jail for doing this.
look classmates i can hack the whole school im cool
[QUOTE=SupahVee;20273259]look classmates i can hack the whole school im cool[/QUOTE] this also hi v
Yes, you WILL get in trouble. Just do what you're supposed to, and don't fuck up your own education.
[QUOTE=efeX;20273181]Um, sarcasm? You [b]will[/b] go to jail for doing this.[/QUOTE] For creating a few megabytes worth of useless small files in his own documents folder? Not likely.
[QUOTE=Wyzard;20278934]For creating a few megabytes worth of useless small files in his own documents folder? Not likely.[/QUOTE] :ssh:
Sorry, you need to Log In to post a reply to this thread.