Continuous function/No series criterion/Exercise

Give an example for a continuous function and an absolutely convergent real series with such that the series does not converge.