I am referring, of course, to to differentiable manifolds. I've seen a few different definitions. The one I like best is the one which says it's a topological space such that every point has a neighborhood homeomorphic to an open set in $\mathbb{R}^n$ and the overlap functions are diffeomorphisms.
I can see that we want the transition maps are diffeomorpisms, so the calculus we do on each coordinate chart agrees with the others, but how do homeomorphisms to Euclidean space give enough structure to develop a derivative, for instance, in a coordinate patch? I mean, the circle and the sphere are homeomorphic but I'd only call one of those smooth. How does smoothness on overlaps do it for the whole manifold? I've seen it said that once a differentiable structure is defined, the homeomorphisms become diffeomorphisms. Is this correct and could somebody expand on that if it is?
Furthermore, I've seen definitions given for manifolds with bijections rather than homeomorphisms. Can that possibly work? Bijections don't have to be particularly nice at all, so I can't for the life of me see how you'd get enough structure out of that. Please correct me if I've misunderstood some part of this.