What does "this." change? When I try it, it's just creating more problems.
I've tried changing it to cakeFlavor = cake etc., and it causes an error, saying cakeFlavor must be modifiable.
I...
Type: Posts; User: adam.morin
What does "this." change? When I try it, it's just creating more problems.
I've tried changing it to cakeFlavor = cake etc., and it causes an error, saying cakeFlavor must be modifiable.
I...
Ok, thanks. But you know, instead of being a douche about it you could have just referred me there. I'm trying to learn from my mistakes, sorry I'm not fantastic as programming as the people on here....
Hey guys, I've got a few programs that aren't running for different reasons.
Program 1:
//Debug 6-3
#include<iostream>
#include<conio.h>
using namespace std;
class ClubMember
void main()??
Hey guys, this is my first full program involving classes, so I'm not sure if I'm way off.
#include <iostream>
using namespace std;
class Dog
{
char dogName[20];
Tried both solutions, now I'm getting:
1>c:\users\user\documents\visual studio 2010\projects\debug 6\debug 6\debug 6.cpp(17): error C2572: 'Auto::Auto' : redefinition of default parameter :...
Sorry guys, but this is ........ing me off and i've got no clue how to fix it. It's coming up in 4 different codes. Maybe if I get one, the others will make sense.
//Chapter 6 Debug 1...
OMFG! Thank you! My buddy's gonna ........ bricks, he knew it was something to do with pointers, so we tried what we thought was everything. Apparently it wasn't everything. Thanks again mate.
This ones giving me problems... I can't see why the parameters aren't matching up. Help? PATY.
Code:
#include<iostream>
#include<conio.h>
using namespace std;
class Worker
Awesome help guys, thanks. Final code:
// Debug 4-4
// uses Circle class
#include<iostream>
#include<conio.h>
using namespace std;
class Circle
Oh, sorry I forgot to mention, it's C++ using Visual Studio 2010.
Hey everyone, this is my first post so hopefully someone can help me. I've tried almost everything with this code and nothing's been working. Technically it is homework, but the point of the...