Dave P's Profile

About

 
Points: 0

Contact

 

Dave P
May 15, 2015 · Public

Still didn't take the less than, greater than brackets. Must be a prohibited character . . . .

Dave P
May 15, 2015 · Public

Hi again -

Now I'm just trying to get the complete message across . . .For some reason the message board will not take iostream with the brackets around it.

Thanks

Dave P
May 15, 2015 · Public

Hi Again -

In looking at what was posted I see that for some reason the " " portion of the "#include " didn't make it into the post. In the code it is there - both in the Sally.cpp, and the main.cpp.

Thanks again!!

Dave P
May 15, 2015 · Public

Hi Again Bucky and the rest of you guys !!

I have noticed since I sent the last message (below) that I can’t run any more (or at least the ones I tried) of Bucky’s videos – I get the same errors. I thought I might include the main.cpp, Sally.h and Sally.cpp files I was using:

// main.cpp ---------------------------------------------------------------

#include
#include "Sally.h"
using namespace std;

int main()
{

Sally sallyObject;

sallyObject.printCrap();


}

//Sally.h-----------------------------------------------------------------

#ifndef SALLY_H
#define SALLY_H


class Sally
{
public:
Sally();
void printCrap();
protected:
private:
};

#endif // SALLY_H

//Sally.cpp-----------------------------------------------------------------

#include "Sally.h"
#include
using namespace std;



Sally::Sally()
{

}
void Sally::printCrap(){
cout

Dave P
May 15, 2015 · Public

Hi Guys –

I am working through Bucky’s c++ tutorials and I am on Tutorial 42 Arrow Member Selection Operator. I am using Code::Blocks 13.12. I have files that are identical to the main.cpp, Sally.h and Sally.cpp files that Bucky shows in the video but when I build and run I get these errors:

||=== Build: Debug in Video (compiler: GNU GCC Compiler) ===|
C:\Users\Dave\AppData\Local\Temp\ccNadDyu.o||In function `main':|
C:\Users\Dave\C Codeing\Video\main.cpp|8|undefined reference to `Sally::Sally()'|
C:\Users\Dave\C Codeing\Video\main.cpp|10|undefined reference to `Sally::printCrap()'|
||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 1 second(s)) ===|

I deleted the entire directory holding the project and started over and there was no change. Any ideas?

Thanks for your help.