我有一個多語言應用程序,允許用戶使用下拉菜單切換語言。它工作正常,但切換語言時速度太慢,因爲我需要重新導航到當前幀。這是因爲我需要重新加載我的產品(這需要一點時間)。 這裏是我的代碼: var culture = new System.Globalization.CultureInfo(sLang);
Windows.Globalization.ApplicationLanguages.Prim
如果我使用鐺3.8.1編譯: extern "C" {
int foo(int x) { register int y = x; return y; }
}
int main() { return foo(123); }
我得到警告: a.cpp:3:18: warning: 'register' storage class specifier is deprecated and in