Background
I will be travelling around Europe this summer by train (last two weeks in July, first week in August). It's the first time I've done this so I am inexperienced but I can generally organise things well and I'm confident in doing so.
My plan was to get off the train in a given destination, find accommodation, drop the bag off, and explore. As long as it is safe and has a roof, I don't care what the accommodation is, although probably the cheaper the better for me.
Possible destinations: France (cities& rural), Germany (cities & rural), Switzerland (cities & rural), Italy (cities), Hungary (cities), Czech Republic (cities).
Question
How difficult is it to simply walk around and find accommodation for that night (and optionally the following night also) on a day-to-day basis?
Extra Info
I have been told that one can visit a tourist office and they will gladly help you (possibly with a charge) to find accommodation.