Search:

Type: Posts; User: jbook

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    998

    moving though std stack

    what i'm trying to do is convert a infix expression to a postfix expression using the std stack. for one of the cases (if the current character of the input string is an operator), i go to this...
  2. Replies
    2
    Views
    6,043

    determine if is operand

    to determine if part of a string is an operand, i have something like this:


    bool isOperand(int pos, string op)
    {
    if (op.substr(pos, 1) == '(' ||
    op.substr(pos, 1) == ')' ||...
  3. Replies
    7
    Views
    1,409

    woops i meant to put in the insert call, but i...

    woops i meant to put in the insert call, but i found the problem anyway. thanks
  4. Replies
    7
    Views
    1,409

    exception handling

    just one of my functions isn't throwing exceptions for some reason. this one doesn't work:


    void list::insert(const plane& p) throw(listException)
    {
    int i = 0;

    if (size >= MAX_LIST)...
  5. Replies
    4
    Views
    1,210

    thanks that helped with the logic, but just to...

    thanks that helped with the logic, but just to get it to compile i need to know how to access l[i]'s atrributes from the overloaded operator code. the overload is in a plane.cpp. the list.cpp is...
  6. Replies
    4
    Views
    1,210

    operator overloading

    i've been stuck for days now so... i'm trying to compare two objects, one is p of type plane, the other is a plane stored in l[i] of type list. i need to overload the operator< to compare the two...
  7. Replies
    2
    Views
    1,564

    help with identifier

    i super new to c++ and i'm taking the second semester course, which i never took the first, so it's kinda hard for me with the syntax and all. here's my issue:



    int getMenuOption()
    {
    int...
Results 1 to 7 of 7