coding, and using tech in general.
Golden Sun Hacking Community
August 19, 2018, 07:32:48 PM *
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 3742 times)
0 Members and 1 Guest are viewing this topic.
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

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

« 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: 28
Offline Offline

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

« 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: 28
Offline Offline

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

« 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
August 02, 2018, 07:42:12 PM
Caledor: patch for TLA uploaded again cause i forgot to update descriptions for 3 shields
August 02, 2018, 01:16:14 AM
Caledor: Don't want to triple post so I'll just announce here that v1.71 is out. I updated my last post.
July 29, 2018, 12:18:00 PM
KyleRunner: Let me see...
July 28, 2018, 08:12:34 PM
Fox: What value do you see at 08000468? (Or 00000468 in hex editor)  0801319D or 08F9EE50?
July 28, 2018, 07:11:11 PM
KyleRunner: "there is an easy fix by changing a pointer back to what it was suppose to be"... Hmmm... How?
July 27, 2018, 10:11:06 AM
Fox: Bootleg*
July 27, 2018, 10:09:03 AM
Fox: There are two ROMs that can be found on the internet, one may have the MEGAROMs boot load stuff. (So not truely clean.) ... If you get a screen while booting the game and holding L+R (I think it was?), then you know you have it, and your ROM is not truely "clean"... it is unfortunate, but there is an easy fix by changing a pointer back to what it was suppose to be..
July 27, 2018, 05:10:13 AM
MaxiPower: Hello World
July 25, 2018, 11:09:23 PM
KyleRunner: Well... here's The problem that needs solving: my GSTLA translation patch only works on a clean rom, with specific CRC. 
July 25, 2018, 07:59:37 PM
Fox: I am not sure I understand? If there was such a program to "clean" a dirty ROM dump, what exactly would it do?
July 25, 2018, 12:37:42 PM
KyleRunner: Hello, guys. Could someone teach me how to "clean" a dirty Golden Sun rom dump? Is there a program or something?
July 25, 2018, 01:37:40 AM
Atrius: @Fox, yeah... I was expecting it to take 2 weeks at most...
July 25, 2018, 12:03:01 AM
Majora: Yes, I believe so. Think they were made public a while ago prior to the site issue
July 24, 2018, 08:26:45 PM
Luna_blade: is it normal that I can see all clans?
July 24, 2018, 08:25:41 PM
Luna_blade: Nice to see it is back!
July 23, 2018, 11:01:36 PM
Fox: Yes. I was expecting it to be a little while longer, but it is great to see that Atrius delivered.
July 23, 2018, 02:30:46 AM
Majora: Thank you for getting the site back online!
July 21, 2018, 09:19:06 PM
Salanewt: Time to upload that "EXP gain when KO'd" patch I made a month ago.
July 21, 2018, 09:18:48 PM
Salanewt: Oh hey, the site's back up!
July 18, 2018, 10:49:52 PM
roger: I can post but it goes to an error page when I submit.

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.1 seconds with 22 queries.