Talk:C++ Programming/Chapter Learning the Basics

what is the basic programe of findig the 1's compliment and 2's compliment for adecimal no.