Search:
Type: Posts; User: austinm6
Search:
Search took 0.03 seconds.
-
February 14th, 2012, 08:04 PM
-
February 14th, 2012, 08:03 PM
-
February 14th, 2012, 05:07 PM
'finalff.exe': Loaded 'C:\Users\Austin\Documents\Visual Studio 2010\Projects\finalff\Debug\finalff.exe', Symbols loaded.
'finalff.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open...
-
February 14th, 2012, 04:51 PM
-
February 14th, 2012, 04:25 PM
idk and debugger does nothing
-
February 14th, 2012, 04:04 PM
-_-; it's a little different putting it in a program
-
February 14th, 2012, 03:57 PM
Didn't work. It gives me an answer of 0.
Mixed operator+(const Mixed& lhs, const Mixed& rhs)
{
Mixed a;
a.numerator = (lhs.numerator*rhs.denominator) + (lhs.numerator*rhs.denominator); ...
-
February 14th, 2012, 03:37 PM
how do i accomplish this?
-
February 14th, 2012, 03:26 PM
Still could use some help making this a mixed fraction
[code]
Mixed operator+(const Mixed& lhs, const Mixed& rhs)
{
Mixed x;
x.numerator = (lhs.numerator*rhs.denominator)
+...
-
February 14th, 2012, 02:50 PM
This is the driver i'm running it against i already have void ToFraction(); implemented and so forth . its the 'friends' that tricked me up on how to implement them
#include <iostream>
#include...
-
February 14th, 2012, 02:43 PM
I don't really understand the way you go about it but is it the same as this? I'm up to here now
it runs but it wont keep it a mixed fraction. for this part:
Mixed operator+(const Mixed& lhs,...
-
February 14th, 2012, 02:17 PM
i think i cracked it haha! I'v only implemented two. hope arithmetic part is part of the same.
i used this
bool operator<(const Mixed& lhs, const Mixed& rhs)
{
if(lhs.integer <...
-
February 14th, 2012, 02:00 PM
This help :D?
#ifndef MIXED_H
#define MIXED_H
#include <iostream>
#include <iomanip>
-
February 14th, 2012, 01:46 PM
idk thats what i'm asking. i'v been trying for the past couple hours.
-
February 14th, 2012, 01:36 PM
Im trying to get the operator function to display that when the user inputs the 2 numbers it says if its < or > and then says if its true or false, that bit in red was just the last thing i tried out...
-
February 14th, 2012, 01:11 PM
I'm having difficulty implementing the bool operator in my first cpp file and trying to get it to display the results from the other. I've tried experimenting with a lot of different ways but it ends...
-
February 14th, 2012, 06:35 AM
Just finished thanks to you!!! thank you so much, your advice really helped! 6:35 A.M time for zZzZ
-
February 14th, 2012, 02:13 AM
Everything is there and looks good to the eye, atleast for a novice like me.
@laser - sent a message let me know! thanks!
-
February 14th, 2012, 01:04 AM
friend ostream& operator<<(ostream& ostm, const Mixed& m);
friend istream& operator>>(istream& istm, Mixed& m);
friend bool operator<(const Mixed& lhs, const Mixed& rhs);
friend bool...
-
February 9th, 2012, 11:58 AM
had no idea it could do that, thank you!
-
February 8th, 2012, 10:32 PM
#include <iostream>
#include <cmath>
#include "diamond.h"
using namespace std;
Diamond::Diamond(int s, char b, char f)
{
SetSize(s);
SetBorder(b);
-
February 8th, 2012, 05:43 PM
well whatever these are called, i think i see why. Thank you!
-
February 8th, 2012, 05:15 PM
when do you use these and why, i know i've made some without but never with. ***meant classes in title***
#ifndef DIAMOND_H
#define DIAMOND_H
-
November 6th, 2011, 09:26 PM
it's supposed to display that btw the i forgot the driver.cpp, i dont know how to post code sorry ><;
driver.cpp
#include <iostream>
#include "box.h"
using namespace std;
-
November 6th, 2011, 12:51 PM
so they should just be deleted?
|
Click Here to Expand Forum to Full Width
|