Question: when was charlie and the chocolate factory written
Answer: Charlie and the Chocolate Factory is a 1964 children 's novel by British author Roald Dahl .