This version will copy CTime items when you pass them as parameters to list methods like SetAt[^].
This version will pass a reference to CTime items when you pass them as parameters to list methods like SetAt[^].
I'm not surprised you don't see a difference - there's not much of one in this case. A slight performance issue, but not much else - except that you really want the default value for the second template parameter.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
you see no difference because the differences are underground.
the second parameter is meant to tell to CList how it's gonna handle your list elements like.
a CTime template parameter tells to use so as methods parameter, that means each time you pass an element to a CList method (such as Add()), it will pass a CTime. that means the parameter will be passed by copy.
a CTime& (or even better a const CTime&) template parameter will have you make no changes in your code, but it will handle references, so no copies anymore.
the difference between the 2 is in the memory consumption and in the performances of the program.
I am a Korean college student that is using File Encryption and Encrypted text embedding in an image in a project.
I would like to know the difference between the Online Encryption and Offline Encryption when the exe file is executed.
I think Online Encryption is to encrypt and Decryption? the actual recorded content, and offline encryption is to bring/open/call the wav file when the brouwse button is clicked and encrypt and Decryption.
later when the saving, online and offline seem to be saved with the same name.
would that suggest that the difference in the two is only the way the wav file is being opened (called on/ brought)?
File Encryption and Encrypted text embedding in an image.
I ask as there isn't much explaination to the subject of File Encryption and Encrypted text embedding in an image.
You can do the following :
1. Extract the entire row and then extract text starting from '=' or
2. i do not remember the functionality of the following functions exactly but i think you can use GetPrivateProfileSectionNames () or GetPrivateProfileString ()