You can absolutely have a successful breastfeeding experience after a cesarean. And the nurse who told you jaundiced babies don't suckle well was extremely misinformed. In fact, breastmilk gets the bilirubin out of the body faster than formula!
I had an emergency cesarean and breastfed my daughter until she chose to stop at around 4.5 years old. I NEVER pumped much, if anything, and never had to supplement with formula (tho my parents snuck her some to undermine my choice to breastfeed). Just because your baby is always hungry and not immediately gaining a lot of weight does NOT mean you aren't able to produce enough. If nursing hurts... then the latch is not correct - period. Latching on and misinformation seems to be the worse things new Moms are up against - and both are very easily cured.
I fought for my right to breastfeed my child:
1st: Eventho I told hospital staff I was going to exclusively breastfeed - they fed her formula anyways, because I was so out of it from the drugs from the surgery. A baby's stomach for the first 2 weeks is no larger than a marble! Formula was unnecessary
2nd: My Mother didn't approve of breastfeeding because no one else could comfort and feed her like I could. It was a jealously and control issue - which I've seen is very common with husbands too. She would undermine me at any opportunity.
3rd: If I listened to my pediatrician, I would have felt like a failure because I couldn't PUMP much milk. Talking to an IBCLC down the road and doing my own major research on breastfeeding made me realize how ignorant our trusted medical professionals can be about breastfeeding.
4th: So many 'well meaning people' - including other Mothers - spreading and sharing very incorrect information probably sabotaged many breastfeeding relationships, but thankfully I knew to do my own research instead of blindly believing another's very limited personal point of view, experience or opinion.