There is nothing fancy about my code really. It just dose some calculations.
here is the code for reference
Code:
#include <iostream>
using namespace std;
int main()
{
int choice;
cout<< "Architecture Calculations\n" ;
cout<< "1: Concrete calculation\n" ;
cout<< "2: Beam calculations\n";
cout<<"Enter the Number of Your Choice of Calculation.\n";
cin>> choice;
cin.ignore();
cin.get();
if (choice == 1) //choice Concrete calculations
{
float width, length, wallheight, wallthickness, floorthickness;
cout<< "You enetred concrete calculation. \n";
cout<< "Remember to Convert Inches to the Decimal Equivelent\n";
cout<< "4 Inches = .333 \n";
cout<< "8 Inches = .666 \n";
cout<< "10 Inches = .8333 \n";
cout<< "16 Inches = 1.333 \n";
cout<< "20 Inches = 1.666\n";
cout<< "Please Enter the Width of the Foundation\n";
cin>> width;
cin.ignore();
cout<< "Please Enter the Length of the Foundation\n";
cin>> length;
cin.ignore();
cout<< "Please Enter the Foundation Wall Thickness\n";
cin>> wallthickness;
cin.ignore();
cout<< "Please enter the Foundation Wall Height\n";
cin>> wallheight;
cin.ignore();
cout<< "Please enter the Foundation Floor Thickness\n";
cin>> floorthickness;
cin.ignore();
float a, b, c, totallength, cubicwall, g, cubicfooter, h, l, w, cubicfloor, cubicfoot, exactvalue;
a = length + width;
b = a * 2;
c = 4 * wallthickness;
totallength = b - c ;
cubicwall = totallength * wallthickness * wallheight ;
g = wallthickness * 2;
cubicfooter = g * wallthickness * totallength ;
h = 2 * wallthickness;
l = length - h ;
w = width - h ;
cubicfloor = l * w * floorthickness ;
cubicfoot = cubicfloor + cubicfooter + cubicwall ;
exactvalue = cubicfoot / 27 ;
cout<< "\n";
cout<< "Width of Foundation: " << width << " ft\n";
cout<< "Length of Foundation: " << length << " ft\n";
cout<< "Foundation Wall Thickness: " << wallthickness << " ft\n";
cout<< "Foundation Wall Height: " << wallheight << " ft\n";
cout<< "Foundation Floor Thickness: " << floorthickness << " ft\n\n\n";
cout<< "Final Calculations \n \n \n" ;
cout<< "Foundation Wall Total Volume: " << cubicwall << " (ft^3)\n";
cout<< "Foundation Footer Total Volume: " << cubicfooter << " (ft^3)\n";
cout<< "Foundation Floor Total Volume: " << cubicfloor << " (ft^3)\n";
cout<< "Total Yards of Concrete: " << exactvalue << " (yd^3)\n";
cout<< "For Any Questions, Comments, or Suggestuions Contact the Designer at \n [email protected]";
}
else {
cout << "There Has Been An Error \n Please Only Enter '1' or '2' \n Please Exit and Try Again \n THANK YOU \n For Any Questions, Comments, or Suggestuions Contact the Designer at \n [email protected] \n ~RssGuar";
}
}
When I tested to see if the application from the release folder worked I got this system error
the program can't start because libgcc_s_dw2-1.dll is misssing from your conputer. Try reinstalling the program to fix this problem.
I'm not sure why this is but is that only because im trying to run on my couputer?
If I send just that file to someone will it run?