http://blog.csdn.net/iflychenyang/article/details/8876542(如何在Objective-C的头文件引用C++的头文件) 1.将.m文件扩展名改为.mm,或者修改.m文件的File Type,改为Objective C++ Source. 2.将.h文件File Type改为Objective C++ Preprocessed Source,默认C Header. 注意:File Type 在xcode右边属性栏中修改 视频:http://ww
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _03判断闰年 { class Program { static void Main(string[] args) { //举例:写一个方法,判断一个年份是否是润年. bool b = IsRun(2000); Console.WriteLine(