I am thinking about trying to write a calendar for Android.I have never tried programming to sync anything,and I don't know anything about it.How can I write a program which can sync with Android's native calendar,using c/c++?
There's an android SDK. It's for Java, though there is a C++ SDK, it's not recommended you use it for general apps like that. It's more for working low level with the Android OS itself. The Java SDK is what provides all the functionality.