Tuesday, March 17, 2020

Danka for Thank You, Bitteschön for Youre Welcome

Danka for Thank You, Bitteschà ¶n for You're Welcome Courtesy is important no matter what country youre visiting. In Germany, however, there is greater emphasis on formalities and speaking to people in die Hà ¶flichkeitsform:  addressing acquaintances, colleagues, and people you dont know with Sie as opposed to du/ you, which is reserved more for family and close friends.The same goes when expressing thank you and youre welcome in German. There is a more formal way and a less formal way of stating these expressions. Below you will find a list divided as such, however many expressions are fine in both situations since just simply stating thank you and youre welcome is polite in and of itself. The most important thing to keep in mind is to use Sie/Ihnen and du as appropriate. (Please note that the translations are not always literal, but rather an English equivalent.) More Formal Ways of Saying Thank You: Most common: Dankeschà ¶n, Danke sehr Other ways: Schà ¶nen Dank (Many thanks)Besten Dank (Best of thanks)Haben Sie vielen Dank! (Many thanks)Ich bin Ihnen sehr dankbar (Im very grateful/thankful to you)Ich danke Ihnen (I thank you)Herzlichen Dank (Heartfelt thanks)Ein herzliches Dankeschà ¶n (My/Our heartfelt thanks)Danke vielmals (Many thanks), Ich danke Ihnen vielmals Vielen Dank (Many thanks) Less Formal Ways of Saying Thank You DankeVielen Dank (Many thanks)Danke vielmals (Many thanks)Tausend Dank (Thanks a million) More Formal Ways of Saying Youre Welcome Bitteschà ¶n Bitte sehrGern geschehen (It was my pleasure)Mit Vergnà ¼gen (With pleasure) Less Formal Ways of Saying Youre Welcome Bitte Gern geschehen (It was my pleasure)Gern (shortened form of Gern geschehen)Nichts zu danken (Dont mention it.)Schon gut (Thats fine. No problem)Kein Problem (No problem) You may need some other words for polite conversation, including understanding how to say please in German.

Sunday, March 1, 2020

An Explanation of Buffering in C++

An Explanation of Buffering in C++ Buffer is a generic term  that refers to a block of computer memory that serves as a temporary placeholder. You might encounter the term in your computer, which uses RAM as a buffer, or in video streaming where a section of the movie you are streaming downloads to your device to stay ahead of your viewing. Computer programmers use buffers as well. Data Buffers in Programming In computer programming, data can be placed  in a software buffer before it is processed. Because writing data to a buffer is much faster than a direct operation, using a buffer while programming in C and C makes a lot of sense and speeds up the calculation process. Buffers come in handy when a difference exists between the rate data is received and the rate it is processed.   Buffer vs. Cache A buffer is temporary storage of data that is on its way to other media or storage of data that can be modified non-sequentially before it is read sequentially. It attempts to reduce the difference between input speed and output speed. A cache also acts as a buffer, but it stores  data that  is expected to be read several times to reduce the need to access slower storage.   How to Create a Buffer in C++ Usually, when you open a file, a buffer is created. When you close the file, the buffer is flushed. When working in C, you can create a buffer by allocating  memory in this manner: char* buffer new char[length]; When you want to free up the memory allocated to a buffer, you do so like this: delete[ ] buffer; Note: If your system is low on memory, the benefits of buffering suffer. At this point, you have to find a balance between the size of a buffer and the available memory of your computer.