|
|
|
||||||
|
You can convert an std::string to const char* with the c_str() function. And you can convert a const char* (or char*) to an std::string simply by passing the const char* as an argument to the std::string constructor.
Note that this doesn't have anything to do with Ice, that's simply standard C++. |
|
||||||
|
Hello Marc,
Thanks for the info. I've been combing the internet for solutions and there are a lot of complicated ones. Your suggestion looks to be the simplest one. I'll implement it as soon as I get to the office tomorrow. ![]() Oh, I do know that this isn't an ICE problem, but considering I'm primarily a VB programmer ... I acknowledge that I'm way out of my league. Unfortunately, our office doesn't have any C++ programmer, I'm doing ICE integration on my own time and all of my colleagues are VB programmers ... your site/forum is the only place I can discuss these issues I encounter while programming C++ with ICE. Thanks again. Alex |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problem with char ':' in identity.name | xdm | Help Center | 4 | 06-20-2006 04:12 AM |
| Casting char* to std::string | inmmat | Help Center | 5 | 06-10-2006 01:43 PM |
| Is this a bug? (Wide char) | while(1){} | Help Center | 4 | 01-05-2006 07:27 AM |
| I need char pointers (char *) | catalin | Help Center | 5 | 08-16-2004 04:33 PM |
| Application.h compiler error on int main(int, char*[], const char* = 0); | Jonathan Dzoba | Bug Reports | 4 | 05-28-2004 05:52 PM |