Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++ and mouthwash

Name: Anonymous 2010-04-27 11:35

Having a problem figuring out an error when I compile an object.

I have a .c file that I'm not supposed to modify, but need to use a function from inside a .h+.cpp object file.  The error has to deal with scope as the compiler (g++) complains.

I understand that normally I should use objectname::function, but since the function I need to use is contained outside the object, I'm not sure what the scope is.

Also, I've been trying to compile it like this:
g++ hurr.c derp.h derp.cpp -o derp.o

Perhaps this isn't correct but I'm not sure of another way while retaining the .c file and not simply copying its contents.

Name: Anonymous 2010-04-28 9:28

Fuck, missed a 40 get

Name: Anonymous 2010-04-28 10:48

>>41
For a while I was tempted to reply with a MISS MY ANUS

Name: Anonymous 2010-04-28 11:07

>>42
TEMPT MY ANUS

Name: Anonymous 2010-04-28 12:13

>>43
template my anus

Name: Anonymous 2010-04-28 13:59

>>44
No need, your anus already accepts anything at all. void **

Name: Anonymous 2010-04-28 20:15

>>45
void **my anus

Name: Anonymous 2011-02-02 23:56

Name: Anonymous 2011-02-03 2:28

Name: Anonymous 2011-02-04 14:37

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List