User profile: Disch

User info
User name:Disch
History
Joined:
Number of posts:8337
Latest posts:

I'm trying to strcpy two cstring arrays into one. When I output my name it gives me this "╠".
Works for me: [code] #include <iostream> #include <cstring> using namespace std; int main() { ...

I'm trying to strcpy two cstring arrays into one. When I output my name it gives me this "╠".
Note that if you strcat, you must make sure the destination string (fullName) is initialized or you ...

Using macros to declare classes?!
You mean for some kind of reflection? There wouldn't be much point to it. Closest you can do is ...

Reuse a thread ?
Fine, then let me qualify that statement with "in C++". EDIT: Though really... it's not just C...

strcpy not working in C++ but working in C
C++ is more type-strict than C. C is allowing the pointer to be implicitly cast, whereas C++ sees t...