开发者

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:)...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜