More #pragma stuff

Sometimes when you have some warnings and you want to keep things the way they are and don't see these warnings anymore, you can use the following sentence #pragma warning (disable: warningNumber) just before the code

Don't forget to restore putting this after the code #pragma warning(default: warningNumber)

You can check more detailed information about the #pragma directive here:

http://www.dr-bill.net/CSC076/class_summaries/3-26/pragmas.htm

Comentarios

Entradas populares