Multiboxing.com - Multiboxing in World of Warcraft and more!
          

Go Back   Multiboxing in World of Warcraft and Beyond! > All Gaming Forums > Off Topic

Reply
 
LinkBack Thread Tools Display Modes
Old 06-16-2011, 10:56 AM   #1
Senior Member
 
supamario00's Avatar
 
Join Date: Jan 2010
Location: Missoura
Posts: 322
Default Programming update

So I have been doing a week long Comp Sci study at KU and I will be looking to hone my skills on something.

We have covered

HTML
--most of the basic attributes

--bringing in CSS and JScript

--most of the basic tags needed

CSS
--inline, area wide, and document wide styling

--background imaging

--the three forms of writing in color (RGB, Color name, ID number)

JScript
--basic loops (for, while)

--basic properties for user input (document.getElementById/textarea stuffs)

--basic structure and order of code

We also learned Binary and the basics of all the above languages.

4 weeks of college courses condensed into one, which will end in us designing a group webpage.

If you want to track my progress or comment on my code use the following link:

http://people.eecs.ku.edu/~wdula/

Thanks Guys

EDIT: Fixed

We are starting the final project for tonight. I'm in charge of topic overview, here goes nothing.
__________________

MY LOCKS BEAT YOUR LOCKS

Last edited by supamario00; 06-17-2011 at 09:04 AM.
supamario00 is offline   Reply With Quote
Old 06-16-2011, 06:33 PM   #2
Super Moderator
 
Nghtmr9999's Avatar
 
Join Date: Aug 2009
Location: Minnesota, US
Posts: 1,662
Blog Entries: 6
Default Re: Programming update

link is broked

also, web programming can be frustrating at times. You'll find that Internet Explorer sucks big time when it comes to JS programming because it is nitpicky on how you program something. Firefox, Chrome, Safari will have no issues with it.

If you're planning on going into the comp sci world, you should really get to know a good multi-use text editor. I've started using one called emacs and I like it quite a bit. If you have any programming questions, this would be a good forum to ask them in. I'm entering my final year of college with quite a bit of real-world job and Agile development experience, Tim created Pwnboxer so he knows quite a bit himself, along with other peoples on the forum.
__________________

Last edited by Nghtmr9999; 06-16-2011 at 06:38 PM.
Nghtmr9999 is offline   Reply With Quote
Old 06-16-2011, 10:51 PM   #3
Moderator
 
EaTCarbS's Avatar
 
Join Date: Jul 2009
Posts: 1,213
Default Re: Programming update

When I do html I use notepad++
__________________
Multiboxing.com Moderator Please read the rules before posting

EaTCarbS is offline   Reply With Quote
Old 06-17-2011, 02:11 AM   #4
Senior Member
 
xartin's Avatar
 
Join Date: Jul 2009
Location: Manitoba, Canada
Posts: 409
Default Re: Programming update

I took a java programming class in college a few years back and we heavily relied on a programming centric editor called textpad primarily because it has the ability to integrate with various language interpreters and compilers or in our case the java jdk. definitely worth checking out.

Last edited by xartin; 06-17-2011 at 02:16 AM.
xartin is offline   Reply With Quote
Old 06-17-2011, 04:52 AM   #5
Tim
Administrator
 
Tim's Avatar
 
Join Date: Jun 2009
Location: USA
Posts: 6,768
Default Re: Programming update

Will you be learning php and mysql at some point?
Tim is offline   Reply With Quote
Old 06-17-2011, 08:57 AM   #6
Senior Member
 
supamario00's Avatar
 
Join Date: Jan 2010
Location: Missoura
Posts: 322
Default Re: Programming update

We used notepad++ for everything. PHP and MySQL are next on the list. or at least MySQL is I don't know anything about PHP other than the fact that it is used alot.
__________________

MY LOCKS BEAT YOUR LOCKS
supamario00 is offline   Reply With Quote
Old 06-17-2011, 04:19 PM   #7
Super Moderator
 
Nghtmr9999's Avatar
 
Join Date: Aug 2009
Location: Minnesota, US
Posts: 1,662
Blog Entries: 6
Default Re: Programming update

so far so good! two quick things though for future reference.

1) you didn't account for what I call "stupid input". What happens if you input a number over 100? It's still an A, but that's only if there is extra credit. (Something very hard to come by in college, heh)

2) Your if statement is fine, but for more cases, you might want to use a switch. This is what one would look like in your case, it does use more lines, but it's more "correct". Note the switch(true), though, it should be switch(score), but Javascript didn't like that.

Code:
<script type="text/javascript">
score = someScore;

switch(true) {
    case(score >= 90 && score <= 100):
        alert("Your grade is: A");
        break;
    case(score >= 80 && score <= 89):
        alert("Your grade is: B");
	break;
    case(score >= 70 && score <= 79):
	alert("Your grade is: C");
	break;
    case(score >= 60 && score <= 69):
	alert("Your grade is: D");
        break;
    case(score >= 0):
        alert("Your grade is: F");
        break;
    default: //something above 100 or below 0
	alert("Invalid grade entry");
	break;
}
</script>

If you have any programming questions, feel free to ask here or Skype me, I believe you have me on there.

Cheers!


EDIT: Made a minor change to my code. Thats what happens when you work 7-8 hours staring at a computer screen and programming XD

EDIT 2: PHP can be tricky at times. Feel free to ask if you have any questions about that as well
__________________

Last edited by Nghtmr9999; 06-18-2011 at 10:42 AM.
Nghtmr9999 is offline   Reply With Quote
Old 06-18-2011, 01:55 AM   #8
Senior Member
 
Drarkan's Avatar
 
Join Date: Aug 2009
Location: Vancouver BC
Posts: 503
Default Re: Programming update

Thats awsome. Didn't check them all out yet, but day 1 i did. Neat stuff!
Drarkan is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
update? adz4u28 Multiboxing Software 7 06-30-2011 03:10 AM
Programming help supamario00 Off Topic 5 02-22-2011 08:55 PM
5 x DK update Crispin General Discussions 5 08-01-2010 09:20 AM
Quick programming question Nghtmr9999 Off Topic 3 06-04-2010 06:05 AM
a little background and update Aveor General Discussions 3 10-16-2009 11:23 PM


SEO by vBSEO 3.3.2