Saving custom application notifications, error strings
what is the best way to s开发者_如何学编程ave notify, error, warning string for GUI application? Currently I just create const char* strings everytime the application needs to process and popup a notification string. how should i handle messages without regenerating memory for temporary strings?
Since You tagged win32api I think You are using windows :D...
So one solution would be to save your strings as resources.
They are easy to maintain and can be changed/updated easily...
Hope this helps:)...
精彩评论