• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

apstring.h

L

Luna64

Guest
#1
Ok, little history before I start.

Last year at school we used Visual Studio 6 to program in C++.

We were using apstring, and a few others that can be found here .

It worked fine in VS6, but now I am using Visual Studio .Net and I can't get apstring to work.


I have put it in the include folder along with the .cpp file, but I cant get it to compile with a string in it.

This would compile ok
Code:
#include <iostream.h>
#include "apstring.h"

int main()
{

}

but this gives me three errors that are just way beyond my level of understanding.
Code:
#include <iostream.h>
#include "apstring.h"

int main()
{
apstring hello;
}


I can always go back to VS 6 if needed, but I am going to start a VB. Net class soon so I would need VS .Net also.
 
L

Luna64

Guest
#2
Never mind, I figured it out.


instead of using apstring.h, I just included apstring.cpp instead.


everything seems to be working fine now :)
 

Members online

No members online now.

Latest posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,960
Messages
673,237
Members
89,011
Latest member
grovo_test