Do I have to completely quit carbs to get six pack abs?
No, you really don't have to exclude any macros or food groups from your diet to get lean. To lose body fat you need to be in a calorie deficit, meaning you have to consume less calories than you burn. If you don't know how many calories you burn on a daily basis you can use an online calculator to get a rough idea. The calories that you have can theoretically be filled up with anything you want, even pizza. A diet that supports this is the IIFYM diet, this diet is based on certain calories and macronutrient ranges. So you can really get a sixpack while eating pizza. Of course you need to think about your general health and consume veggies, fruits and water!
If you'd like to know how you can setup your own fat loss diet, this link will help you out; How to set up your own personal weight loss program - FitnessFT
if you'd like to learn more about the IIFYM diet, this link will be helpful for you: Different diets explained: The IIFYM diet