• Welcome to Valhalla Legends Archive.
 

What's the first post you made with your account?

Started by warz, May 01, 2006, 02:38 AM

Previous topic - Next topic

warz

Well, this is not totally accurate because prior to this post my account was resent because people thought I was trying to "boost my post count," if i remember correctly. :-P

Anyways, my "first" post on this account went something like this:

Quote
Here's a little something i made out of boredom in computer science. Might be of some use...

Code:
// Final Exam Problem 2
// Ryan Cole

#include <iostream.h>
#include <stdlib.h>
#include <string.h>
#include "oostring.cpp"

void GetSecret(oostring &Secret);
void DoLetterGuess(char Letter, oostring &Secret, oostring &Guess, int &Tries);

int main()
{
   oostring Secret;            // initialize variables
   oostring Guess = "";
   oostring Attempt = "";
   const char GuessSignal = '$';
   int Tries = 0;
   char Letter;
   char tempdash[] = "";

   GetSecret(Secret);            // call getsecret()
   for(int x = 0; x <= Secret.length() - 1; x++)
   {
      strcat(tempdash, "-");      // create the dashed helper
   }
   Guess = tempdash;

   do{
      cout << "Word is " << Guess << '.' << endl;     
      cout << "Your letter (type $ to guess the word): ";
      cin >> Letter;
      if(Letter == '$')      // check for guess
      {
         cout << "Your guess: ";
         cin >> Guess;
      } else {
         DoLetterGuess(Letter, Secret, Guess, Tries);   // do letter try
      }
   } while( Guess != Secret );
   cout << "CORRECT! You took " << Tries << " tries.\n";   // correct

   return 0;
}

void DoLetterGuess(char Letter, oostring &Secret, oostring &Guess, int &Tries)
{
   int CorrectCount = 0;
   for(int x = 0; x < Secret.length(); x++)      // loop through guessed word
   {
      if( Secret
  • == Letter)
          {
             CorrectCount++;
             Guess
  • = Letter;
          }
       }
       if( CorrectCount == 0)
          cout << "Sorry, there are no " << Letter << "'s" << endl;
       Tries++;
    }

    void GetSecret(oostring &Secret)
    {
       cout << "Enter word to be guessed: ";
       cin >> Secret;
       system("CLS");            // clear screen
    }
    « Last Edit: June 22, 2004, 01:10 PM by Tuberload »
Last edited by Tuberload? Wonder what he edited. :-P

hismajesty


Quote from: hismajesty[yL] on February 12, 2003, 04:29 PM
Quotelearn the language first
Actually its not completely necessary to learn the VB language to make the prog. My uncle created a prog that got published in a magazine and all that good stuff and still doesnt know the language, he knew enough to make it but still doesnt "know the language" basically he only made it to show Cannon that they didnt fund the class for nothing (Cannon pays for employess classes). But thats not to say that knowing some of the language wouldnt be beneficial.



Spht

Post history doesn't seem to go all the way back.  I registered on August 10, 2002, but my first recorded post was on February 2, 2003 (the day I joined vL):

Quote from: Spht on February 02, 2003, 11:59 AM
Thanks. =P


K

Quote from: K on March 29, 2003, 12:01 AM
on the flip side of the coin, using the File System Object can often get your program flagged as a potential virus by programs such as Norton.

MysT_DooM



vb6, something about that combination of numbers and letters is sexy

PaiD

Quote from: Savior on March 18, 2003, 01:04 PM
???Were to start???

I just finished the layoutand am now starting the codings for connection. I wanted to know how do i make a packet buffer and how to phrase them. Also I wanted to learn how to read the packets. I checked the packet logger and I got 0x50 and wanted to know were to start with it.

FF 50 64 00 00 00 00 00 3F 2A 6E C3 AC 46 09 00  .Pd.....?*n..F..
00 3C 5B A5 63 E8 C0 01 49 58 38 36 76 65 72 32  .<[.c...IX86ver2
2E 6D 70 71 00 41 3D 37 30 30 39 35 33 38 35 37  .mpq.A=700953857
20 42 3D 34 39 36 35 39 36 37 33 35 20 43 3D 31   B=496596735 C=1
30 34 39 31 32 33 30 30 31 20 34 20 41 3D 41 5E  049123001 4 A=A^
53 20 42 3D 42 5E 43 20 43 3D 43 2D 41 20 41 3D  S B=B^C C=C-A A=
41 2D 42 00                                      A-B.           
         

I dont think it matters but I connected on BW (Plz no Flaming me)

Falcon[anti-yL]

Quote
I play TFT, ROC is old skool  Grin
LW-Falcon@Lordaeron

warz

I actually found much older ones from my previous account before it was reset by searching for all the vowels. Oh the good ole days.. :-)

Quote from: warz
    Re: [VB] ban evasion detection
« Reply #7 on: December 20, 2002, 09:19 PM »    Reply with quote
Because it all boils down to nothing, but wasting your time.
« Last Edit: December 31, 1969, 06:00 PM by 1048312800 »

and i laughed when i read the next oldest one..

Quote from: warz
    Re: Teh multiple DM game
« Reply #14 on: February 13, 2003, 05:31 PM »    Reply with quote
Once, while I was reading the worste thread EVER, I saw this priest and he was like "let me just open up binarychat here, and log into my bnet alias - darkminion[vl] and then i can go chat to my homeslices." the punch line of the joke is that the priest just had sex with a little boy... WOAH MAN< bet u didnt see that commin
« Last Edit: December 31, 1969, 06:00 PM by 1048312800 »

CrAz3D

Quote from: CrAz3D on April 12, 2003, 08:38 PM
I was wondering how I might go about using msinet to collect a database off of the internet...

I am trying to just switch as little as possible from main database code which uses database.txt as source.

If someone could give me a pointer from this code on how to convert real quick I'd be greatful.:

Open App.Path & "\database.txt" For Input As #1
--How would I use a converted ver of that to receive database?
OH yeah
rebundance - having or being in excess of sheer stupidity
(ré-bun-dance)
Quote from: Spht on June 22, 2004, 07:32 PMSlap.
Quote from: Adron on January 28, 2005, 09:17 AMIn a way, I believe that religion is inherently evil, which includes Christianity. I'd also say Christianity is eviller than Buddhism (has more potential for evil).
Quote from: iago on April 19, 2005, 01:06 PM
CrAz3D's ... is too big vertically, at least, too big with ... iago ...

Arta

Quote from: Arta[vL] on January 27, 2003, 08:53 PM
Quote
Should use the little yellow worms from Commander Keen 4! (Anyone remember those? In the moon building, on the floor... Next to a secret passage, IIRC)

omg! yes! i loved that game! memories... lol

Wanna play it again now, does anyone know where to get it? :)

topaz

RLY...?

MyndFyre

Ahh, my first post isn't as bad as I thought.  The second one is.  :-/



Quote from: St0rm.iD on February 03, 2003, 01:29 PM
.NET is horrible. The entire philosiphy requires you to learn more languages, which is dumb.

No one I know uses .NET. It's all Java that I see. Besides, GCJ works on windows now, so .NET is dead IMO ;)

Well, enterprise computing sucks too, all it is is a bunch of hype and buzzwords anyway.

XML! SCALABILITY! LATE-BINDING! SCHEMA! WEB SERVICES! SOAP! XML-RPC! EBXML! UDDI! INTEGRATION! SERVICES! ENTERPRISE! BROKERS! THROUGHPUT! MANAGEABILITY!

Blech.  I started learning on C# just teaching myself, then when I started at the university all the classes were in Java.  I find that Java seems to be behind C# and the .NET Class Library...

And how do you figure that .NET "Requires" you to learn more than one language?  The entire point of the Common Language Runtime is that portions of your code (maybe in VB) can work with my code (in C#) while it can work with someone else's (in J#) and another's (in C++).  You don't need to know other languages.  Hence, modular programming.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.