The article deals with the automation of programming of NC-machines, in particular lathes, with the aid of a computer. Some systems of automatic programming are reviewed, and the structure of these software systems is briefly described. The most recent version of the KOVOPROG software system for lathes is described in detail and its application in machining practice is illustrated by an example.