I have a database in access XP with two tables
one table
contains a locationID -autonumber
server-text
location-text
second table consist of maintenance information
id-autonumber
servername
location
errors
actiontaken
locationid
I created a form in design mode so that...
Could someone look at my code and see why it is not outputting what I would like for it to? I am having the same problem with post as I am with pre. I thought perhaps maybe someone could show me the light here on why I am having a problem. I have looked at several books any suggestions.
Main()...
I am working with post & pre incrementing. I am having a bit of difficulty getting the numbers to increment correctly where I need them. Could someone tell me what I am doing wrong? Here is what I have.
Main()
{
Fraction P=(5,2);//preincrementing
cout<<"The number is:<<++P<<"after...
Anyone familar with mixed fractions?
I understand how to reduce them to lowest terms but now I am trying to figure out how to convert it to a mixed number.
example:
25/6= 4-1/6
any clues?
I am working with classes in C++ and I can get the math part of it down. The problem I am having is figuring a way to reduce a fraction within a function say for instance I needed to reduce a fraction to the lowest term
Like for example:
10/12 to reduce to 5/6 I can get the math to get to...
if I were to say:
int x;
const int number=10;//stating how many elements for the array
cout<<"enter a value: ";
cin>>x;
int values[number]=x //the array to grab what the user typed in
cout<<values;
How can I get the input from the user to go into an array??
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.