Golden Sun Hacking Community
October 23, 2018, 09:29:57 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
  Home   Forum   DC Wiki Help Search Calendar Downloads Login Register  
Pages: 1 [2]   Go Down
  Print  
Author Topic: coding, and using tech in general.  (Read 3908 times)
0 Members and 1 Guest are viewing this topic.
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 29
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2427

« Reply #15 on: January 14, 2014, 04:51:00 AM »

1.)  2-dimensional arrays? Normally, I like to flatten it out to 1-dimensional (Even with maps), but that's just me.

VB.NET = http://msdn.microsoft.com/en-us/library/7ee5a7s1.aspx

Dim variable(rows, columns) as DataType


Java

dataType variable = value;

I think when you do arrays in Java, you also use the new keyword.

Example: int variable[] = new int[number];


2.) In VB.NET, using the Paint handler with e.Graphics.drawrectangle should do. http://www.techotopia.com/index.php/Drawing_Graphics_in_Visual_Basic

I haven't looked into that on Java.


3.) Simple stuff..

VB.NET:

For variable as DataType = number To number Step number

Next

(Step might not be required if its value is 1.)


If condition Then

End If

(Note that End If isn't required if it's only on one line.)


Java:

for (dataType variable = number; condition; operation) {

}

if (condition) {

}


condition example: i<8
operation examples: i++, ++i, i+=1, etc.



If you want to have fewer numbers (or something), consider using for each when appropriate.
« Last Edit: January 14, 2014, 05:00:40 AM by Teawater » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile
Thunder-squall
Mercury Clan

Great Member
*

Coins: 0
Offline Offline

Posts: 538

« Reply #16 on: January 14, 2014, 05:14:00 AM »

1.)  2-dimensional arrays? Normally, I like to flatten it out to 1-dimensional (Even with maps), but that's just me.

VB.NET = http://msdn.microsoft.com/en-us/library/7ee5a7s1.aspx

Dim variable(rows, columns) as DataType


Alright, I was overwhelmed by your post, and had no idea what was going on in that link.  I have two options with which to progress:

1) Go off on my own, and start with "Hello World."
2)  If there was enough interest from other forum-members, would you lead a sort of virtual class?
Logged
View Profile
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 29
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2427

« Reply #17 on: January 15, 2014, 07:28:40 AM »

Okay, sorry for such a bad post, but I have a feeling that this is the type of stuff better to do in live chats. (Like texting on Skype.) The reason being is that questions can be answered one at a time with ease.

What exactly did you have in mind when you said virtual class? (Is this something to do with an external website?)

Either way, I suppose it is a good idea to do some of the tutorials like Hello World to start with, since you can learn a thing or two as a beginner.


Usually, I find myself going back to the same websites when I try to learn something about a language, so don't be afraid to scan the docs when visiting notable sites.

For Visual Basic, it's msdn. For Java, I believe it's oracle. But then there are general programming help sites like stackoverflow.
« Last Edit: January 15, 2014, 07:36:15 AM by Teawater » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile
Thunder-squall
Mercury Clan

Great Member
*

Coins: 0
Offline Offline

Posts: 538

« Reply #18 on: January 15, 2014, 08:31:50 AM »

I say you should make a thread and let people 'sign' up.  And if enough people sign up, then you'll know it's worth it for you to put in the effort.

Basically, I imagine you'd just give us small weekly assignments, and we'd then work together to get them done.  Sort of like an apprenticeship.  And you could basically groom us to help you with what you're doing.
Logged
View Profile
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 29
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2427

« Reply #19 on: January 15, 2014, 08:53:29 AM »

Done. How many people do you suggest would be enough to be worth it for me to put in the effort?

Hmm.... Any ideas about how small these weekly assignments would be? Would it be like making a checkers or chess game? Or a bit simpler than that?
Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile
Thunder-squall
Mercury Clan

Great Member
*

Coins: 0
Offline Offline

Posts: 538

« Reply #20 on: January 15, 2014, 10:09:37 AM »

I have no idea, my friend. So I'm just going to learn by doing, too.
Logged
View Profile
Pages: 1 [2]   Go Up
  Print  
 
Jump to:  

Cbox
October 13, 2018, 03:23:06 AM
Salanewt: Updated it to provide more info that I forgot to mention.
October 13, 2018, 03:16:48 AM
Salanewt: I'm still trying to iron out IQ 2 but I'm pretty sure it's entirely random targeting.
October 13, 2018, 03:16:29 AM
Salanewt: Oh yeah, I posted some more info about enemy IQ.
October 12, 2018, 09:51:27 PM
FoxThe HTML5 project is too small to count
October 12, 2018, 06:19:48 AM
Luna_blade: there is jjppof's html5 project...
October 12, 2018, 06:19:17 AM
Luna_blade: Though Momo rings a bell it seems I came here after you left
October 11, 2018, 12:49:41 AM
Fox: (If that makes sense.)
October 11, 2018, 12:48:33 AM
Fox: Yeah, I guess so.  More just saying that's a good place to get answers to GS related questions at the moment.
October 11, 2018, 12:42:28 AM
Crystal Sonata: I did before, but I guess I could try it again
October 11, 2018, 12:41:32 AM
Fox: Not much at the moment. This forum seems pretty quiet. Perhaps you'd be interested in joining the Discord for GSHC that seems to have more activity?
October 10, 2018, 11:16:53 PM
Crystal Sonata: Any projects going on? I need a distraction from the daily grind and I'm interested in hacking GS again.
October 10, 2018, 10:02:53 PM
Fox: Thanks, and good to see you too!
October 10, 2018, 10:02:10 PM
Fox: A few people I'm sure... Most likely the regulars of the past. Such as Atrius, Charon, Role, Salanewt....
October 10, 2018, 03:11:17 AM
Crystal Sonata: I find myself wondering who still remembers me here. Obvs you do (Good to see ya Tea)
October 10, 2018, 12:46:11 AM
Fox: On second thought, it might be because you haven't posted much as Crystal Sonata.
October 10, 2018, 12:41:12 AM
Fox: And your intro isn't that bad. - I imagine most people would say the same about theirs?
October 10, 2018, 12:39:39 AM
Fox: :O - You've been gone so long, I think I forgot you were Momo.  Interesting.
October 09, 2018, 10:23:39 PM
Crystal Sonata: I just revisited my dark past on here and ouch. Someone delete that introduction thread please, the cringe.
October 09, 2018, 08:26:11 AM
Crystal Sonata: Aaaaand, she re-appears yet again. My life keeps dragging me away from the internet sadly.
October 01, 2018, 01:27:50 PM
Luna_blade: haha oof.

Affiliates
Temple of Kraden Golden Sunrise
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.104 seconds with 22 queries.