As was foretold, we've added advertisements to the forums! If you have questions, or if you encounter any bugs, please visit this thread: https://forums.penny-arcade.com/discussion/240191/forum-advertisement-faq-and-reports-thread/

Let's make a [chat]wich.

Look Out it's Sabs!Look Out it's Sabs! Registered User regular
edited February 2007 in Debate and/or Discourse
Sandwich20Platter.jpg

manwich.jpg


We got a sandwich a manwich and other types which I would get banned if posted.

NNID: Sabuiy
3DS: 2852-6809-9411
Look Out it's Sabs! on
«13456746

Posts

  • ProtoProto Registered User regular
    edited January 2007
    approved!

    Proto on
    and her knees up on the glove compartment
    took out her barrettes and her hair spilled out like rootbeer
  • WashWash Sweet Christmas Registered User regular
    edited January 2007
    mmmm manwich.

    Wash on
    gi5h0gjqwti1.jpg
  • GimGim a tall glass of water Registered User regular
    edited January 2007
    TFS is the pretender to the throne.
    moniker wrote:
    And if it is a mod?
    Then I post a field of dancing vaginas and get jailed forever.

    Gim on
  • JinniganJinnigan Registered User regular
    edited January 2007
    So anyways.

    I need to reformat.

    I need to save my music files.

    Also, is this a good deal?

    Jinnigan on
    whatifihadnofriendsshortenedsiggy2.jpg
  • CouscousCouscous Registered User regular
    edited January 2007
    MANWICH IS MADE OF PEOPLE! PEOPLE!

    Couscous on
  • Look Out it's Sabs!Look Out it's Sabs! Registered User regular
    edited January 2007
    I could've made myself a sandwich right now and take a pic to post it, but would of taken too long and I'm lazy.

    So now I'm picking at a chicken breast used for soup, while munching on bread, so close enough.

    Look Out it's Sabs! on
    NNID: Sabuiy
    3DS: 2852-6809-9411
  • ElkiElki get busy Moderator, ClubPA mod
    edited January 2007
    Why does FtF keep posting in H/A, anyways? Is he in love with you, Than?

    Elki on
    smCQ5WE.jpg
  • TarranonTarranon Registered User regular
    edited January 2007
    Hello fellow chatters. Sorry to only come in when I need something. I am basically trying to create a c++ program where you put in a word. say you want to say an.

    a=1
    n=14

    so then 15.

    that is not the entire scope of the program but that is just what I am trying to start with. what I'm thinking now is something like

    #include <iostream.h>

    int main()
    {
    enum Alphabet {a=1, b=2...z=26};

    }

    and that is basically it. What I am seeing as the most trouble is assigning the finished value to each word. But any ideas would be appreciated!

    also, no this program has very little practical value.

    Tarranon on
    You could be anywhere
    On the black screen
  • WashWash Sweet Christmas Registered User regular
    edited January 2007
    Saburbia wrote:
    I could've made myself a sandwich right now and take a pic to post it, but would of taken too long and I'm lazy.

    So now I'm picking at a chicken breast used for soup, while munching on bread, so close enough.
    This thread makes me hungry but my stomach hurts. To satisfy my craving would be folly but oh god I desire sandwiches :o

    Wash on
    gi5h0gjqwti1.jpg
  • Dread Pirate ArbuthnotDread Pirate Arbuthnot OMG WRIGGLY T O X O P L A S M O S I SRegistered User regular
    edited January 2007
    I don't like sandwiches.

    Dread Pirate Arbuthnot on
  • Look Out it's Sabs!Look Out it's Sabs! Registered User regular
    edited January 2007
    Edgewood wrote:
    Saburbia wrote:
    I could've made myself a sandwich right now and take a pic to post it, but would of taken too long and I'm lazy.

    So now I'm picking at a chicken breast used for soup, while munching on bread, so close enough.
    This thread makes me hungry but my stomach hurts. To satisfy my craving would be folly but oh god I desire sandwiches :o

    Dont let ur stomach push u around, fight back and eat!

    Look Out it's Sabs! on
    NNID: Sabuiy
    3DS: 2852-6809-9411
  • ProtoProto Registered User regular
    edited January 2007
    Tarranon wrote:
    Hello fellow chatters. Sorry to only come in when I need something. I am basically trying to create a c++ program where you put in a word. say you want to say an.

    a=1
    n=14

    so then 15.

    that is not the entire scope of the program but that is just what I am trying to start with. what I'm thinking now is something like

    #include <iostream.h>

    int main()
    {
    enum Alphabet {a=1, b=2...z=26};

    }

    and that is basically it. What I am seeing as the most trouble is assigning the finished value to each word. But any ideas would be appreciated!

    also, no this program has very little practical value.

    er...wha?

    You want to take a word as input, break it up, assign each letter a numerical value, add them all together and print the result? Is that right?

    Proto on
    and her knees up on the glove compartment
    took out her barrettes and her hair spilled out like rootbeer
  • flamebroiledchickenflamebroiledchicken Registered User regular
    edited January 2007
    I don't like sandwiches.

    How is that even possible? That just means you don't like bread, since the only required element of a sandwich is two pieces of bread.

    flamebroiledchicken on
    y59kydgzuja4.png
  • TarranonTarranon Registered User regular
    edited January 2007
    Proto wrote:
    Tarranon wrote:
    Hello fellow chatters. Sorry to only come in when I need something. I am basically trying to create a c++ program where you put in a word. say you want to say an.

    a=1
    n=14

    so then 15.

    that is not the entire scope of the program but that is just what I am trying to start with. what I'm thinking now is something like

    #include <iostream.h>

    int main()
    {
    enum Alphabet {a=1, b=2...z=26};

    }

    and that is basically it. What I am seeing as the most trouble is assigning the finished value to each word. But any ideas would be appreciated!

    also, no this program has very little practical value.

    er...wha?

    You want to take a word as input, break it up, assign each letter a numerical value, add them all together and print the result? Is that right?

    just about!

    Tarranon on
    You could be anywhere
    On the black screen
  • WashWash Sweet Christmas Registered User regular
    edited January 2007
    Saburbia wrote:
    Edgewood wrote:
    Saburbia wrote:
    I could've made myself a sandwich right now and take a pic to post it, but would of taken too long and I'm lazy.

    So now I'm picking at a chicken breast used for soup, while munching on bread, so close enough.
    This thread makes me hungry but my stomach hurts. To satisfy my craving would be folly but oh god I desire sandwiches :o

    Dont let ur stomach push u around, fight back and eat!
    My stomach is a dick, srsly. One time I ate salad at my aunts wedding and I vomited all over my rented tux. The vomit was orange, and I was like "wtf?! I didn't eat anything organge?" True story.

    Wash on
    gi5h0gjqwti1.jpg
  • SheriSheri Resident Fluffer My Living RoomRegistered User regular
    edited January 2007
    More like womanwich.

    Sheri on
  • Look Out it's Sabs!Look Out it's Sabs! Registered User regular
    edited January 2007
    Cass you disappointed me, deep down inside. D:

    Look Out it's Sabs! on
    NNID: Sabuiy
    3DS: 2852-6809-9411
  • SmasherSmasher Starting to get dizzy Registered User regular
    edited January 2007
    Tarranon wrote:
    Proto wrote:
    Tarranon wrote:
    Hello fellow chatters. Sorry to only come in when I need something. I am basically trying to create a c++ program where you put in a word. say you want to say an.

    a=1
    n=14

    so then 15.

    that is not the entire scope of the program but that is just what I am trying to start with. what I'm thinking now is something like

    #include <iostream.h>

    int main()
    {
    enum Alphabet {a=1, b=2...z=26};

    }

    and that is basically it. What I am seeing as the most trouble is assigning the finished value to each word. But any ideas would be appreciated!

    also, no this program has very little practical value.

    er...wha?

    You want to take a word as input, break it up, assign each letter a numerical value, add them all together and print the result? Is that right?

    just about!

    Have a sum variable, then for each character in the string add (stringName[n] - 'a') to it.

    Smasher on
  • SheriSheri Resident Fluffer My Living RoomRegistered User regular
    edited January 2007
    Sheri wrote:
    More like womanwich.

    W-O-M-A-N(-w-i-c-h)

    Sheri on
  • Look Out it's Sabs!Look Out it's Sabs! Registered User regular
    edited January 2007
    I don't like sandwiches.

    How is that even possible? That just means you don't like bread, since the only required element of a sandwich is two pieces of bread.

    Man do I love bread. At work my lunch is always cheese buns, and if I have a good loaf of bread, thats my dinner.

    Look Out it's Sabs! on
    NNID: Sabuiy
    3DS: 2852-6809-9411
  • IncenjucarIncenjucar VChatter Seattle, WARegistered User regular
    edited January 2007
    Sheri wrote:
    More like womanwich.

    <3

    Incenjucar on
  • SmasherSmasher Starting to get dizzy Registered User regular
    edited January 2007
    Sheri wrote:
    Sheri wrote:
    More like womanwich.

    W-O-M-A-N(-w-i-c-h)

    ::laugh track::

    Smasher on
  • MentholMenthol Registered User regular
    edited January 2007
    *watching commercial for Lost Planet*

    Me: Looks awesome.
    Homeboy: Yeah.
    Me: "Maxim gives it five stars." I don't know if I trust their opinion, though.
    Homeboy: True.
    Me: I heard good housekeeping only gave it 4 stars.
    Homeboy: *lols*
    Me: I wonder what cosmopolitan thinks. *lols*
    Homeboy: I think I'll wait and see what Oprah says in her magazine.
    Me: Or Watchtower.
    Homeboy: "JESUS GIVES IT TWO THUMBS UP"

    ...So seriously. How is it?

    Menthol on
    sigbz8.jpg
    You're not L33T enough for IDI/RN FTP!
  • SheriSheri Resident Fluffer My Living RoomRegistered User regular
    edited January 2007
    Smasher wrote:
    Sheri wrote:
    Sheri wrote:
    More like womanwich.

    W-O-M-A-N(-w-i-c-h)

    ::laugh track::

    I don't think you get it.

    t Incen - <3

    Sheri on
  • nexuscrawlernexuscrawler Registered User regular
    edited January 2007
    Sheri wrote:
    Sheri wrote:
    More like womanwich.

    W-O-M-A-N(-w-i-c-h)

    Sheri are you saying you taste like sloppy joes?

    nexuscrawler on
  • GimGim a tall glass of water Registered User regular
    edited January 2007
    Sheri wrote:
    Smasher wrote:
    Sheri wrote:
    Sheri wrote:
    More like womanwich.

    W-O-M-A-N(-w-i-c-h)

    ::laugh track::

    I don't think you get it.
    It's about oral sex, isn't it?

    Gim on
  • TarranonTarranon Registered User regular
    edited January 2007
    Smasher wrote:
    Tarranon wrote:
    Proto wrote:
    Tarranon wrote:
    Hello fellow chatters. Sorry to only come in when I need something. I am basically trying to create a c++ program where you put in a word. say you want to say an.

    a=1
    n=14

    so then 15.

    that is not the entire scope of the program but that is just what I am trying to start with. what I'm thinking now is something like

    #include <iostream.h>

    int main()
    {
    enum Alphabet {a=1, b=2...z=26};

    }

    and that is basically it. What I am seeing as the most trouble is assigning the finished value to each word. But any ideas would be appreciated!

    also, no this program has very little practical value.

    er...wha?

    You want to take a word as input, break it up, assign each letter a numerical value, add them all together and print the result? Is that right?

    just about!

    Have a sum variable, then for each character in the string add (stringName[n] - 'a') to it.

    yeah the more I think about this the more I realize it's a little out of my league. I haven't gone into strings yet. I'll skip ahead and see if I can hash it out.

    Tarranon on
    You could be anywhere
    On the black screen
  • SheriSheri Resident Fluffer My Living RoomRegistered User regular
    edited January 2007
    Sheri wrote:
    Sheri wrote:
    More like womanwich.

    W-O-M-A-N(-w-i-c-h)

    Sheri are you saying you taste like sloppy joes?

    No, strawberries!

    Wait, what?

    Sheri on
  • SmasherSmasher Starting to get dizzy Registered User regular
    edited January 2007
    Tarranon wrote:
    yeah the more I think about this the more I realize it's a little out of my league. I haven't gone into strings yet. I'll skip ahead and see if I can hash it out.

    Which of the following have you learned about?

    while loops
    for loops
    arrays
    strings

    It's curious that you know about enums before you've learned all the other stuff.

    Smasher on
  • nexuscrawlernexuscrawler Registered User regular
    edited January 2007
    Sheri wrote:
    Sheri wrote:
    Sheri wrote:
    More like womanwich.

    W-O-M-A-N(-w-i-c-h)

    Sheri are you saying you taste like sloppy joes?

    No, strawberries!

    Wait, what?

    A sandwich made of women and strawberries?

    This I gotta try

    nexuscrawler on
  • JinniganJinnigan Registered User regular
    edited January 2007
    arrays are super useful things to learn

    Jinnigan on
    whatifihadnofriendsshortenedsiggy2.jpg
  • OboroOboro __BANNED USERS regular
    edited January 2007
    Tarranon-- it's actually a very, very common programming problem that they teach kids

    but yeah, without knowledge of strings or arrays, you are pretty boned as far as elegant or brief code goes

    i think the traditional most efficient solution is you input the word as a string, then there is some datapoint conversion that changes it to its unicode value

    then you just subtract a constant to get each letter's actual value

    other than that, you can just make an array with each letter's value and match each letter from the input string to it

    it's a fundamental learning program because it teaches the use of the ++ function

    EDIT: seriously though the first thing we learned was strings, hehe, you so crazy

    Oboro on
    words
  • Dread Pirate ArbuthnotDread Pirate Arbuthnot OMG WRIGGLY T O X O P L A S M O S I SRegistered User regular
    edited January 2007
    Saburbia wrote:
    I don't like sandwiches.

    How is that even possible? That just means you don't like bread, since the only required element of a sandwich is two pieces of bread.

    Man do I love bread. At work my lunch is always cheese buns, and if I have a good loaf of bread, thats my dinner.

    I love bread!

    Dread Pirate Arbuthnot on
  • SheriSheri Resident Fluffer My Living RoomRegistered User regular
    edited January 2007
    Saburbia wrote:
    I don't like sandwiches.

    How is that even possible? That just means you don't like bread, since the only required element of a sandwich is two pieces of bread.

    Man do I love bread. At work my lunch is always cheese buns, and if I have a good loaf of bread, thats my dinner.

    I love bread!

    Me, too!

    Sheri on
  • WashWash Sweet Christmas Registered User regular
    edited January 2007
    Saburbia wrote:
    I don't like sandwiches.

    How is that even possible? That just means you don't like bread, since the only required element of a sandwich is two pieces of bread.

    Man do I love bread. At work my lunch is always cheese buns, and if I have a good loaf of bread, thats my dinner.

    I love bread!
    So what is your problem with it? The sandwich meat? The mustard? The awesome?

    Wash on
    gi5h0gjqwti1.jpg
  • IncenjucarIncenjucar VChatter Seattle, WARegistered User regular
    edited January 2007
    Sheri wrote:
    Saburbia wrote:
    I don't like sandwiches.

    How is that even possible? That just means you don't like bread, since the only required element of a sandwich is two pieces of bread.

    Man do I love bread. At work my lunch is always cheese buns, and if I have a good loaf of bread, thats my dinner.

    I love bread!

    Me, too!

    Winter Wheat is cooked dough of the gods.

    Incenjucar on
  • JinniganJinnigan Registered User regular
    edited January 2007
    n10508452_31074406_8126.jpg

    Jinnigan on
    whatifihadnofriendsshortenedsiggy2.jpg
  • ProtoProto Registered User regular
    edited January 2007
    Tarranon wrote:
    Smasher wrote:
    Tarranon wrote:
    Proto wrote:
    Tarranon wrote:
    Hello fellow chatters. Sorry to only come in when I need something. I am basically trying to create a c++ program where you put in a word. say you want to say an.

    a=1
    n=14

    so then 15.

    that is not the entire scope of the program but that is just what I am trying to start with. what I'm thinking now is something like

    #include <iostream.h>

    int main()
    {
    enum Alphabet {a=1, b=2...z=26};

    }

    and that is basically it. What I am seeing as the most trouble is assigning the finished value to each word. But any ideas would be appreciated!

    also, no this program has very little practical value.

    er...wha?

    You want to take a word as input, break it up, assign each letter a numerical value, add them all together and print the result? Is that right?

    just about!

    Have a sum variable, then for each character in the string add (stringName[n] - 'a') to it.

    yeah the more I think about this the more I realize it's a little out of my league. I haven't gone into strings yet. I'll skip ahead and see if I can hash it out.

    basically, what smasher was doing there is accessing an individual character in the string. A string is essentially an array of characters (have you done arrays yet?)

    so if you dump "Tarranon" into a string variable called strName, you can access individual characters in that string like so: strName[0] would be "T", strName[1] is "a", and so on.

    so you could use a for loop to access each individual character in your string like so:

    for(i = 0; i < strName.length(); i++)
    {
    cout << strName;
    }

    Proto on
    and her knees up on the glove compartment
    took out her barrettes and her hair spilled out like rootbeer
  • nexuscrawlernexuscrawler Registered User regular
    edited January 2007
    Oboro wrote:
    Tarranon-- it's actually a very, very common programming problem that they teach kids

    but yeah, without knowledge of strings or arrays, you are pretty boned as far as elegant or brief code goes

    i think the traditional most efficient solution is you input the word as a string, then there is some datapoint conversion that changes it to its unicode value

    then you just subtract a constant to get each letter's actual value

    other than that, you can just make an array with each letter's value and match each letter from the input string to it

    it's a fundamental learning program because it teaches the use of the ++ function

    EDIT: seriously though the first thing we learned was strings, hehe, you so crazy

    Arrays and pointers are the biggest pieces of the puzzle as far as C++ goes.

    nexuscrawler on
  • Look Out it's Sabs!Look Out it's Sabs! Registered User regular
    edited January 2007
    Jinnigan wrote:
    n10508452_31074406_8126.jpg


    D:

    Look Out it's Sabs! on
    NNID: Sabuiy
    3DS: 2852-6809-9411
This discussion has been closed.