Thread: errors.. errrors.. more errors

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sir Mister Insane Sako Klinerr1's Avatar
    Join Date
    May 2002
    Posts
    608

    errors.. errrors.. more errors

    line 10 is this line

    Code:
    class item1, item2, item3, item4, item5, item6, item7, item8, item9, item10, item11, item12, item13, item14, item15, item16, item17, item18, item19, item20, item21, item22, item23, item24, item25, item26, item27, item28, item29, item30;
    the error is

    parse error before `,'
    line 376 is this one
    Code:
       gold=75, health=100, magic=60, attack=3, aim=7, defence=9, item1=wizardybook, item2=basicstaff, item3=robe, item4=manapotion, item5=hppotion, item6=hppotion, item7=hppotion, item8=hppotion, item9=hppotion, item10=empty, item11=empty, item12=empty, item13=empty, item14=empty, item15=empty, item16=empty, item17=empty, item18=empty, item19=empty, item20=empty, item21=empty, item22=empty, item23=empty, item24=empty, item25=empty, item26=empty, item27=empty, item28=empty, item29=empty, item30=empty;
    with the error
    parse error before `='

    line 398 is
    Code:
     fout >> "Inventory Item 1: " << item1 << endl;
    with error

    no match for `ofstream & >> const char[19]'
    i havnt gotta clue why this errors ocure, if u neeed to see more lines say so
    Last edited by Klinerr1; 07-22-2002 at 12:14 PM.
    Email: [email protected] || AIM: MisterSako || MSN: [email protected]

    -the shroom has spoken

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. global namespace errors
    By stubaan in forum C++ Programming
    Replies: 9
    Last Post: 04-02-2008, 03:11 PM
  2. Ten Errors
    By AverageSoftware in forum Contests Board
    Replies: 0
    Last Post: 07-20-2007, 10:50 AM
  3. Stupid compiler errors
    By ChrisEacrett in forum C++ Programming
    Replies: 9
    Last Post: 11-30-2003, 05:44 PM
  4. Help me with these errors... :-(
    By major_small in forum C++ Programming
    Replies: 6
    Last Post: 09-07-2003, 08:18 PM
  5. errors in class(urgent)
    By ayesha in forum C++ Programming
    Replies: 2
    Last Post: 11-10-2001, 06:51 PM