C++

Miscellaneous Forums/General Discussion/C++

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I get this:

Building test
Compiling:test.cpp
D:/programming/Source/BlitzMax/test.cpp:3: error: `string' does not name a type
Build Error: failed to compile D:/programming/Source/BlitzMax/test.cpp
Process complete




test.cpp:
#include <string>

string Test(string RetString) {
       return RetString;
}


test.bmx:

Import "test.cpp"

Function Test:String(str:String) = "Test"


Local Stringt:String = Test("Testing...")

Print Stringt