Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. hunternjb

    function correctly tells if object is a circle, triangle, or rect.

    Muppeteer, Considering the square, circle, or rectangle can be made with any char value, how do I build the function. So lets say the objects looked like this: * * * * * * * * * * * * * *...
  2. hunternjb

    function correctly tells if object is a circle, triangle, or rect.

    I am learning C++ from a book called Teach Yourself C++ and I want to write a function which takes a file as input, assumes that the file has only one of the below objects drawn into it, and correctly tells whether the object is a rectangle, circle or triangle, filled or hollow. I am having...
  3. hunternjb

    enums and output

    I want to use an enum type and print out the constant rather than the integer value. Here is my enum type enum Color { black=0, red, orange, yellow, green, blue, indigo, violet, white}; Color color; color = red; cout << color; This would give me the value 1. How do I get...
  4. hunternjb

    Stack that can handle both strings and floats in same class??

    Thanks I will try that.
  5. hunternjb

    Stack that can handle both strings and floats in same class??

    I am having a problem trying to come up with a way to build a stack that can handle both strings and floats in the same class. I am assuming a max of 5 elements in the stack to start with. I am also trying to avoid using malloc() and new when declaring the string, and using fixed arrays instead...
  6. hunternjb

    Stack that can handle both strings and floats in the same class??

    I am having a problem trying to come up with a way to build a stack that can handle both strings and floats in the same class. I am assuming a max of 5 elements in the stack to start with. I am also trying to avoid using malloc() and new when declaring the string, and using fixed arrays instead...
  7. hunternjb

    trouble using command substitution in case statement, HELP

    I have trouble using command substitution with find command options in a case statement. Below I have written a condensed version of an example. The problem part is indicated below between to lines of #. When the script executes it gives me a &quot;find: incomplete statement&quot; error. The...

Part and Inventory Search

Back
Top