Click here to Skip to main content
15,885,890 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: can you simplify the function by #define? Pin
Richard MacCutchan21-Dec-09 1:50
mveRichard MacCutchan21-Dec-09 1:50 
GeneralRe: can you simplify the function by #define? Pin
includeh1021-Dec-09 3:21
includeh1021-Dec-09 3:21 
GeneralRe: can you simplify the function by #define? Pin
Richard MacCutchan21-Dec-09 5:54
mveRichard MacCutchan21-Dec-09 5:54 
QuestionRe: can you simplify the function by #define? Pin
CPallini21-Dec-09 1:55
mveCPallini21-Dec-09 1:55 
AnswerRe: can you simplify the function by #define? Pin
Maximilien21-Dec-09 2:38
Maximilien21-Dec-09 2:38 
GeneralRe: can you simplify the function by #define? Pin
Nelek21-Dec-09 3:09
protectorNelek21-Dec-09 3:09 
GeneralRe: can you simplify the function by #define? Pin
Abhi Lahare21-Dec-09 5:41
Abhi Lahare21-Dec-09 5:41 
GeneralRe: can you simplify the function by #define? Pin
Nelek21-Dec-09 7:04
protectorNelek21-Dec-09 7:04 
First of all... I am not the one that started the thread, so your answer should be to the Top_Question_post, not to my oppinion. But.. anyways.

As answer to you...
1) Yes, you will have different files in your directory, but... take a look into your C:\Program Files\... and tell me how many of you installed software has less than 10 files in the folder.

If you don't like the DLLs, ok, I can understand it.

But you can use INI-Files as well, with the advantage that INI-Files can be easier to work with (just a Notepad may be enough if you don't want it more difficult to be modified), you can send them to a Translator or whatever and then just copy the "LangXXX.ini" in the application folder and it is done, just count on the possibility that the file may not be there when you call your "Change_Lang ()" and give an error message if that's the case.


2) Another disadvantage... for each and every single correction in the translations of you strings, you will need a new compile of the whole program, that means endless new versions of software just for "language issues" instead of software-bugs or additional features.


I guess the main point is just what one likes or not. And that's the nice thing on diversity, each person can choose whatever he/she likes better. I personally prefer independant files.

Regards.
--------
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.

Questionfread() for file system Pin
hrishiS20-Dec-09 23:26
hrishiS20-Dec-09 23:26 
AnswerRe: fread() for file system Pin
CPallini21-Dec-09 0:25
mveCPallini21-Dec-09 0:25 
QuestionHow to save Images in none compression images Pin
Game-point20-Dec-09 23:15
Game-point20-Dec-09 23:15 
AnswerRe: How to save Images in none compression images Pin
CPallini21-Dec-09 0:58
mveCPallini21-Dec-09 0:58 
AnswerRe: How to save Images in none compression images Pin
Code-o-mat21-Dec-09 10:19
Code-o-mat21-Dec-09 10:19 
QuestionOver Writing in File System... Pin
hrishiS20-Dec-09 20:54
hrishiS20-Dec-09 20:54 
QuestionRe: Over Writing in File System... Pin
CPallini20-Dec-09 21:25
mveCPallini20-Dec-09 21:25 
AnswerRe: Over Writing in File System... Pin
hrishiS20-Dec-09 21:29
hrishiS20-Dec-09 21:29 
GeneralRe: Over Writing in File System... Pin
CPallini20-Dec-09 21:38
mveCPallini20-Dec-09 21:38 
QuestionRe: Over Writing in File System... Pin
Ahmed Charfeddine20-Dec-09 21:27
Ahmed Charfeddine20-Dec-09 21:27 
AnswerRe: Over Writing in File System... Pin
hrishiS20-Dec-09 21:30
hrishiS20-Dec-09 21:30 
GeneralRe: Over Writing in File System... Pin
Ahmed Charfeddine20-Dec-09 21:34
Ahmed Charfeddine20-Dec-09 21:34 
GeneralDo not surrender Pin
Ahmed Charfeddine20-Dec-09 21:36
Ahmed Charfeddine20-Dec-09 21:36 
GeneralRe: Do not surrender Pin
hrishiS20-Dec-09 21:45
hrishiS20-Dec-09 21:45 
AnswerRe: Over Writing in File System... Pin
Richard MacCutchan20-Dec-09 21:27
mveRichard MacCutchan20-Dec-09 21:27 
GeneralRe: Over Writing in File System... Pin
hrishiS20-Dec-09 21:31
hrishiS20-Dec-09 21:31 
AnswerRe: Over Writing in File System... Pin
Code-o-mat20-Dec-09 22:24
Code-o-mat20-Dec-09 22:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.