Jump to content

English to Pig Latin converter

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
15 replies to this topic

#1
Kisa

Kisa

    Newbie

  • Members
  • Pip
  • 4 posts
Hi, My IT teacher at school has set us a project the last task of which is being able to make an english --> pig latin converter

I have absolutely no idea where to start and have been searching for an example of the coding for one

does anyone know an example of this developed in VB?

-also i use VB6

thanks heaps , any help is much appreciated =]

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
I would start by familiarizing myself with the VB6 string functions. I found this site which seems to do a decent job: VB6 String Functions
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
Guest_Jordan_*

Guest_Jordan_*
  • Guests
How would you accomplish this task in real life? What steps would you follow? Turn that into psuedocode and then work your way through the code.

#4
Kisa

Kisa

    Newbie

  • Members
  • Pip
  • 4 posts
sorry for the late reply ^^
thank you both really much

I'll definately research string fictions more and I'll probably code it in liberty basic first and then adapt it to vb

Thanks alot for the help

#5
BlaineSch

BlaineSch

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,448 posts
I actually have no idea how this pig latin thing works - I was the kid who couldnt figure it out and nobody would show how lol

I just found a pig latin thing online and from what I can tell you switch the first letter to the end and add "ay" at the end of it as well correct?

#6
Kisa

Kisa

    Newbie

  • Members
  • Pip
  • 4 posts
yes
that would be wonderful!

our task is like that

enter a word
and if it starts with a vowel add 'ay' to the end

if it doesnt then move the first letter to the end and add 'way' =D

it would be very helpful if you could show me how to do that =3

#7
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Vowels: a, e, i, o, u. You'll need to use the various string functions (left, right, copy, whatever)
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#8
BlaineSch

BlaineSch

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,448 posts
$5 paypal will get it done.


If not basically what wp said above. Very useful stuff there.

#9
Vswe

Vswe

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 9,552 posts
I can do it for free if you want :)

#10
BlaineSch

BlaineSch

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,448 posts
Hint to Vswe: You don't get anywhere doing things for free. If its easy offer a low price, never free ;)

#11
Vswe

Vswe

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 9,552 posts
I only want to help him, I know by my own experience that Free is much better than 0.0001$ just because you don't need to do the transaction. It have happened many times for me that I don't buy some cheap stuff just because I don't mind to do the transaction.

#12
Kisa

Kisa

    Newbie

  • Members
  • Pip
  • 4 posts
@BlaineSch

its good
i figured out finally how to do it XD
it not really as complicated as i though OxO

@Vswe

Thanks Very much for the kind offer ^^
really appreciate it !

I wouldnt have been able to pay for it anyway XD
Took me a while to figure it out
but i think i get it now =]