Nope, a mole is simply that amount (quantity, not mass) of particles. Whether it be carbon atoms, or CO2 molecules, a mole is simply 6.02x10^23 of that particle.
So 1 mole of C would be 12g, whereas 1 mole of O would be 16g, and 1 mole of CO2 would be 44g.