Search:

Type: Posts; User: ralocorvette

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    5,857

    You are right Im going to do it both ways

    You are right Im going to do it both ways
  2. Replies
    10
    Views
    5,857

    Of course it compiles . Gees Im not using strings...

    Of course it compiles . Gees Im not using strings because the professor wants it that way, Take it easy guys. My code compiled really well, Im using Visual Studio 2010. That doesnt mean I dont get...
  3. Replies
    10
    Views
    5,857

    THIS IS THE CORRECT CODE //InventoryItem.h...

    THIS IS THE CORRECT CODE


    //InventoryItem.h
    //This class has a private member function
    #ifndef INVENTORYITEM_H
    #define INVENTORYITEM_H

    #include<cstring> //needed for strlen and strcpy...
  4. Replies
    10
    Views
    5,857

    Hey guys you really are some of a kind of life...

    Hey guys you really are some of a kind of life savers I solved my problem yesterday and Im posting the Correct code today
  5. Replies
    10
    Views
    5,857

    Heap Corruption Error

    Hello every one
    Im having a trouble with an Inventory Class
    Im getting a HEAP CORRUPTION ERROR.
    After I compile a window appers saying:
    HEAP ERROR DETECTD: AFTER nORMAL BLOCK (#135) AT...
  6. Circle Class (working version)

    Here is my fixed code for the benefit of anyone:

    //Circle.h

    #pragma once
    const double pi=3.1416;
    class Circle
    {
    private:
    double diameter,area,radius;
  7. Thanks guys I fixed my program it worked really...

    Thanks guys I fixed my program it worked really nice.
  8. Trouble with constructors and destructors in classes

    Im working on a a circle class program in which I have to find the diameter and area of the circle. I have divided the program into 3 files, 1 main.cpp 1 circle.cpp and 1 circle.h
    My code produces...
Results 1 to 8 of 9