How do C or .NET programmers store and load strings in their programs?

Posted by Ivan Ivkovic on Stack Overflow See other posts from Stack Overflow or by Ivan Ivkovic
Published on 2012-09-02T16:51:40Z Indexed on 2012/09/02 21:38 UTC
Read the original article Hit count: 179

I've been doing PHP and stuff for the last year; I just got into a bit of C and C++.

In the book I'm just reading, all the strings are actually in the code (I realize this is just for example, but just curious).

My interest is — is there a common way for programmers to store strings and display them? Does .NET have some predefined way of doing this — like Android does in strings file?

(In PHP, I keep them in all CSV files completely separate from code.)

© Stack Overflow or respective owner

Related posts about .NET

Related posts about internationalization