#include <iostream>
using namespace std;
int main()
{
float height;
int bottom, center, top;
cout <<"enter height\n";
cin >>height>>endl;
cout <<"enter bottom\n";
cin >>bottom>>endl;
cout <<"enter top\n";
cin >>top>>endl;
for (bottom = 0, top = 0, center = height/2; bottom == top, top == bottom, center == height/2; bottom+=135,top+=135,center/2)
if ( bottom==135 mm, top==135 mm)
{
cout << "marking hole\n"; }
cin.get ();
}
this is my first
please help make it work
note C:\Dev-Cpp\include\c++\3.4.2\bits\istream.tcc:87 candidates are: std::basic_istream<_CharT, _Traits>& std::basic_istream<_CharT, _Traits>::operator>>(std::basic_istream<_CharT, _Traits>&(*)(std::basic_istream<_CharT, _Traits>&)) [with _CharT = char, _Traits = std::char_traits<char>]
one of the errors
This post has been edited by Lt_Kernel: 18 November 2007 - 11:20 AM

New Topic/Question
Reply




MultiQuote





|