There is four options to get confirm train ticket in indian railways. These are 1) general seat quota, 2) tatkal seats (For AC seats, from 10:00 AM on a day before train is starts), 3) current seats booking, this seats are available only if seats are left vacant after chat prepared. 4) for fourth option, see this Link