You are right Im going to do it both ways
Type: Posts; User: ralocorvette
You are right Im going to do it both ways
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...
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...
Hey guys you really are some of a kind of life savers I solved my problem yesterday and Im posting the Correct code today
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...
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;
Thanks guys I fixed my program it worked really nice.
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...