Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.Net Coding Challenge #1
#11
(04-16-2011, 03:28 AM)Infinity Wrote: See I don't know pig latin though so i'd have to take the time to learn how it's derived from the english language first to be able to make the functions to translate it. In his example, all I seen was appending text to the original word really

For Preview Post though, it would be Eview-pray Ost-pay, which is more than just appending text, you're also rearranging the structure of the original words, putting "EView" before "Pr" for example.

The High Roller did a good job, although as Untouch said there's so much coding which is just not necessary.
Reply
#12
Hahaha... Arrays would take foreverish. But I am just saying that because I don't know how to use them. At least I tired, and the funny thing is that it works too.
[Image: t5BWm.png]
Reply
#13
I think i can code this, but it would take alot of time. I have 2 weeks vacation, maybe i will start coding on it.
Reply
#14
(04-16-2011, 03:28 AM)Infinity Wrote: See I don't know pig latin though so i'd have to take the time to learn how it's derived from the english language first to be able to make the functions to translate it. In his example, all I seen was appending text to the original word really


Pig latin is not a real language. It's just a play on words. To form a word in pig latin you take a word such as:
Baseball...
you cut it off at the 'a' because it's the first vowel. Making it:
aseball...
then you put the letter back on to the end and add 'ay'. Making it:
aseball-bay.

Other ex:
Tennis -> ennis-tay
Soccer -> occer-say
Dinner -> inner-day

If the word starts with a vowel, you just put 'way' on the end.

Ex:
apple-way
english-way
arm-way

Hope that clears it up. Sorry, I thought everyone would have known what pig latin was that's why I chose this.
Reply
#15
(04-16-2011, 07:53 AM)The High Roller Wrote: Hahaha... Arrays would take foreverish. But I am just saying that because I don't know how to use them. At least I tired, and the funny thing is that it works too.

Haha I thought you said you were good at vb and you can't even do arrays! They're simple, look at tutorials because they are very effective and can be powerful if used correct.
Also it would be much quicker to use arrays. Smile

@Kobe
I didn't know what pig latin was until your first post of the thread and thought it was pretty easy to understand. lol
[Image: burninglove4.png]
Reply
#16
(04-16-2011, 11:25 AM)Untouch Wrote: Haha I thought you said you were good at vb and you can't even do arrays! They're simple, look at tutorials because they are very effective and can be powerful if used correct.
Also it would be much quicker to use arrays. Smile

@Kobe
I didn't know what pig latin was until your first post of the thread and thought it was pretty easy to understand. lol

I am good at VB, I just never focused on arrays. Promise you that, you know when pros can do such hard things and cant do the easy? Yes thats me.
[Image: t5BWm.png]
Reply
#17
My Submission (Click to View)

Wasn't as bad as I though it would be. I didnt try to make a GUI at all so don't hate on it. I simply did the program. It uses two functions. One to convert to Pig-Latin and another to convert to English.

Edit: Did it in C# as well for the heck of it.

(04-16-2011, 11:29 AM)The High Roller Wrote: I am good at VB, I just never focused on arrays. Promise you that, you know when pros can do such hard things and cant do the easy? Yes thats me.

You should brush up on arrays then. They are actually quite handy. Also, you didn't use any functions in yours. Thought I'd point that out. Your submission wasn't too bad though. Good job.
In yours, look at how it translates: chinese

(04-16-2011, 03:03 AM)Untouch Wrote: Seems pretty easy to do, well in java anyway. Tongue

Give it a shot Pirate
Reply
#18
(04-16-2011, 12:35 PM)KoBE Wrote:
My Submission (Click to View)

Wasn't as bad as I though it would be. I didnt try to make a GUI at all so don't hate on it. I simply did the program. It uses two functions. One to convert to Pig-Latin and another to convert to English.

Edit: Did it in C# as well for the heck of it.

You should brush up on arrays then. They are actually quite handy. Also, you didn't use any functions in yours. Thought I'd point that out. Your submission wasn't too bad though. Good job.
In yours, look at how it translates: chinese

(04-16-2011, 03:03 AM)Untouch Wrote: Seems pretty easy to do, well in java anyway. Tongue
Give it a shot Pirate

LOL, KoBE, let me post a challenge!
[Image: t5BWm.png]
Reply
#19
(04-16-2011, 01:56 PM)The High Roller Wrote: LOL, KoBE, let me post a challenge!

Feel free to do what you want. I hope you didn't take my comment in a negative light. I do however agree with Untouch's comment "(arrays) are very effective and can be powerful if used correct". You should definitely learn to use them.
Reply
#20
(04-16-2011, 11:17 AM)KoBE Wrote: Pig latin is not a real language. It's just a play on words. To form a word in pig latin you take a word such as:
Baseball...
you cut it off at the 'a' because it's the first vowel. Making it:
aseball...
then you put the letter back on to the end and add 'ay'. Making it:
aseball-bay.

Other ex:
Tennis -> ennis-tay
Soccer -> occer-say
Dinner -> inner-day

If the word starts with a vowel, you just put 'way' on the end.

Ex:
apple-way
english-way
arm-way

Hope that clears it up. Sorry, I thought everyone would have known what pig latin was that's why I chose this.

No, I guess i'm the odd one out lol. What if there is a word like "Great" would it cut out at "eat" since e is the first vowel?

Edit: downloading your project to see for myself.

Hmm it came out as "eat-gray"??

Update: basically what i've got is that if it's "Keep" the first vowel is "e" so it would be "eep" ... add "ay" onto the end, which makes it "eep-ay" and since the first letter that was cut out was a "K" that would make it "eep-kay"? Is that all there is in pig latin? "crwth" with no vowels came out as "h-ay" for me. which means nothing was appended to the "ay" but it still took the last letter as "h" even though "t" isn't a vowel.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Code Challenge - Created by Ace AceInfinity 5 1,706 04-24-2012, 10:27 AM
Last Post: AceInfinity
  Help with coding jerrojack 1 877 12-29-2011, 03:27 AM
Last Post: AceInfinity
  Coding-Central.net - Coding, cracking and webmastering. w00pz 5 2,430 09-02-2011, 01:43 PM
Last Post: AceInfinity
  Help Coding A Downloader? Fragma 9 3,422 08-25-2011, 06:10 PM
Last Post: LiveModz
  .Net Coding Challenge #5 iCrack 18 5,906 05-21-2011, 12:49 AM
Last Post: thanasis2028

Forum Jump:


Users browsing this thread: 7 Guest(s)