SgtMe 46 Veteran Poster Featured Poster

665

SgtMe 46 Veteran Poster Featured Poster

659

SgtMe 46 Veteran Poster Featured Poster

Code tags please.

SgtMe 46 Veteran Poster Featured Poster

655 :)

SgtMe 46 Veteran Poster Featured Poster

Peanut-butter sandwich

SgtMe 46 Veteran Poster Featured Poster

657

SgtMe 46 Veteran Poster Featured Poster

"Tainted Love" - Marilyn Manson

SgtMe 46 Veteran Poster Featured Poster

LOL! 657

SgtMe 46 Veteran Poster Featured Poster

You would probably want to import both of those files as seperate modules into a core main script. Then you can use the return statements in your get functions.

SgtMe 46 Veteran Poster Featured Poster

What you need to do:

  • Make an array of length 26 to store each value of occurrences for each letter
  • Read through text file one byte at a time
  • Ignore spaces
  • If letter is <Uppercase> or <lowercase> add one to corresponding array value

Then obvs. set up a neat print statement to show how many times each letter occurs.
Arrays basics if you need to check anything:
http://www.cplusplus.com/doc/tutorial/arrays/

Hope this helps :)

SgtMe 46 Veteran Poster Featured Poster

655

SgtMe 46 Veteran Poster Featured Poster

construction -> buildings

SgtMe 46 Veteran Poster Featured Poster

NOOOOOOOOOOOOO! You ended the streak :|:|:|:|:|
Lol jks its k we're still gonna win :D
653 :)

SgtMe 46 Veteran Poster Featured Poster

nukes -> destruction

SgtMe 46 Veteran Poster Featured Poster

hand -> arm

SgtMe 46 Veteran Poster Featured Poster

LOL! Wow. Awesome! Well, let's do it again :P

SgtMe 46 Veteran Poster Featured Poster

stop -> sign

SgtMe 46 Veteran Poster Featured Poster

653
DANG WHY MUST WE CONTINUE TO A THOUSAND?! ARRRRRRRRRRRRRRRRRRRRRRGH
Keep going anyway ;) We may win someday :D

SgtMe 46 Veteran Poster Featured Poster

Well this may help you out on the first error. Not sure about the seconds one. Which lines are they on?
http://www.gamedev.net/community/forums/topic.asp?topic_id=149452

SgtMe 46 Veteran Poster Featured Poster

Please post the error you get (the whole error report)

SgtMe 46 Veteran Poster Featured Poster

finger -> hand
PS. Go back on the Team A vs. Team B. WE NEED YOOOOOOOOOOOOOOOOOOOOOU!

SgtMe 46 Veteran Poster Featured Poster

649

SgtMe 46 Veteran Poster Featured Poster
SgtMe 46 Veteran Poster Featured Poster

645

SgtMe 46 Veteran Poster Featured Poster

sharp -> point

SgtMe 46 Veteran Poster Featured Poster

haircut -> scissors

SgtMe 46 Veteran Poster Featured Poster

641

SgtMe 46 Veteran Poster Featured Poster

Oh ok. Sorry. I should have kept my...keyboard...shut... :/

SgtMe 46 Veteran Poster Featured Poster

frustration -> rage

SgtMe 46 Veteran Poster Featured Poster

637

SgtMe 46 Veteran Poster Featured Poster

:o
torture -> anger

SgtMe 46 Veteran Poster Featured Poster

633! Keep it goin! ;)

SgtMe 46 Veteran Poster Featured Poster

Please don't bump old threads.
Note: This is not a bump of an old thread, this was top of the forum anyway, so it won't make much difference.

SgtMe 46 Veteran Poster Featured Poster

In your code:
-On line 29:

Dog::Dog(int aHeight, int aWeight):

I'm not sure on the whole Class::Function thing, but surely you are referencing a function called "Dog" and a class called "Dog", which are the same, which may cause an error.

SgtMe 46 Veteran Poster Featured Poster

town -> shopping

SgtMe 46 Veteran Poster Featured Poster

629

SgtMe 46 Veteran Poster Featured Poster

negative -> down

SgtMe 46 Veteran Poster Featured Poster

Your avatar has been commented on too many times by myself :D

SgtMe 46 Veteran Poster Featured Poster

Please post your code so that we can help you. What is the particular problem that you are having?

SgtMe 46 Veteran Poster Featured Poster

625

SgtMe 46 Veteran Poster Featured Poster

Your avatar brings back scary memories

SgtMe 46 Veteran Poster Featured Poster

gain -> drawback

SgtMe 46 Veteran Poster Featured Poster

tatoo -> pain

SgtMe 46 Veteran Poster Featured Poster

LOL Jon. Well I was asleep so...631!

SgtMe 46 Veteran Poster Featured Poster

One of the cover teachers at my school met Robet Plant in the street a long time ago!

SgtMe 46 Veteran Poster Featured Poster

Your avatar is from lion king.
(My avatar was made by me in Paint.NET, I don't even have after effects. LOL :))

SgtMe 46 Veteran Poster Featured Poster

That would be a good idea Convoluted, but it may overcomplicate things. You just need a simple loop where you have a variable, say "i" (starting at 1), then each loop iteration, you write the value of "i" to an array each each loop, the position of which increases by 1.

SgtMe 46 Veteran Poster Featured Poster

You need to show some effort! We won't write out the code for you. Research for and while loops on the official python documentation. Make a variable that will be the condition for the loop. Increment this by two each time, making sure it starts on one, and stops when it reaches 33.

SgtMe 46 Veteran Poster Featured Poster

OMG Dani wants your avatar to return :o

SgtMe 46 Veteran Poster Featured Poster

print -> ink