?? over_err.cpp
字號:
#include <iostream.h>
float sample_function(float i);
double sample_function(double i);
void main(void)
{
cout << sample_function(1500.1) << " "; // unambiguous, calls sample_function(double)
cout << sample_function(1500); // ambiguous
}
float sample_function(float i)
{
return i;
}
double sample_function(double i)
{
return -i;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -