MakeMeAsandwich()

This is a discussion on MakeMeAsandwich() within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Why wont this compile? sandwich.cpp Code: #include <ingredients.h> int main() { MakeMeAsandwich(cheese); } ingredients.h Code: cheese butter tomato salami //missspelled ...

  1. #1
    Mmm. Purple.
    Join Date
    May 2002
    Posts
    154

    MakeMeAsandwich()

    Why wont this compile?
    sandwich.cpp
    Code:
    #include <ingredients.h>
    
    int main()
    {
     MakeMeAsandwich(cheese);
    }
    ingredients.h
    Code:
    cheese
    butter
    tomato
    salami  //missspelled as samami
    I just don't see why it wont make the sandwich. I was going to give it to Ken...maybe not...Bmj can have it
    Last edited by krappykoder; 10-25-2002 at 04:58 PM.

  2. #2
    btq
    btq is offline
    julie lexx... btq's Avatar
    Join Date
    Jun 2002
    Posts
    161
    *sigh*...it's obvious. you misspelled 'salami'!!!!

    /btq
    ...viewlexx - julie lexx

  3. #3
    Mmm. Purple.
    Join Date
    May 2002
    Posts
    154
    omg ure right how could i be so stupid!

  4. #4
    Registered User
    Join Date
    Dec 2001
    Posts
    367
    Look, you shouldn't be joking like this, unless you were like one of the best, like Prelude or someone. *pukes*

  5. #5
    Registered User Aran's Avatar
    Join Date
    Aug 2001
    Posts
    1,301
    you misspelt misspell!

  6. #6
    Mmm. Purple.
    Join Date
    May 2002
    Posts
    154
    Why did u puke was my sandwih that bad?


    yea i no im just so good at smelling ats untru

  7. #7
    Registered User
    Join Date
    Dec 2001
    Posts
    367
    I puked because a krappy koder is joking about kode. That just makes me sick, when there are better koders around.

  8. #8
    Mmm. Purple.
    Join Date
    May 2002
    Posts
    154
    the better koders are here to fix my sandwich problem

  9. #9
    Registered User
    Join Date
    Dec 2001
    Posts
    367
    First, this kode shouldn't be meant as a joke if it'd be ok for them to help you, and it should also be in the regular C++-programming forum

  10. #10
    Rambling Man
    Join Date
    Jan 2002
    Posts
    1,050
    Zewu, I think this went way over your head

  11. #11
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    Relax Zewu!

  12. #12
    Mmm. Purple.
    Join Date
    May 2002
    Posts
    154

    requests

    Im taking requests to add to my header file

  13. #13
    Just a Member ammar's Avatar
    Join Date
    Jun 2002
    Posts
    953
    Maybe you aren't using the right compiler

  14. #14
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380

    Re: requests

    Originally posted by krappykoder
    Im taking requests to add to my header file
    Ask Ken what he had on his sandwich!

  15. #15
    Mmm. Purple.
    Join Date
    May 2002
    Posts
    154
    maybe my compiler doesnt like cheese?

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21