-
Problem declaring 'string' variables on Mac OSX
Hey, has anyone got any idea why SubEthaEdit won't recognise string variable on a Mac (OSX)? It's driving me completely crazy! I've done the usual #include <string> bit at the top of the program but it just doesn't like it. I'm pretty new to this game so be kind!!
-
I've no experience in Mac OSX but I do know that Mac has always been notoriously incomplaint with the standards. Anyway, try to make sure that your source file has a .cpp or .cxx extension, and that you're using std::string to refer to the string object (it's an object, btw, not a variable). Also, make sure that your IDE is configured properly i.e., it knows where to find the standard headers.
Danny Kalev
-
cheers Danny, that fixed the problem (was thinkin it was a variable not an object).
Similar Threads
-
By ObiWan in forum VB Classic
Replies: 3
Last Post: 05-23-2006, 10:35 AM
-
By Shannon in forum VB Classic
Replies: 3
Last Post: 05-19-2005, 03:29 AM
-
By Patrick Comeau in forum VB Classic
Replies: 6
Last Post: 03-22-2001, 10:50 PM
-
By Chandra in forum VB Classic
Replies: 0
Last Post: 06-22-2000, 07:30 AM
-
By Robert Rieth in forum VB Classic
Replies: 1
Last Post: 04-11-2000, 03:21 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks