My task is to get the user to input a poem and then output it backwards(line by line). As a beginner i havent a clue where to start. The following are required to be in the code, the function getchar, if the user enters too many bytes more memory has to be allocated using pointers to pointers, check for null pointer, and reallocate more memory if there isn't enough. Therefore a code using C++ and also using getchar, malloc, realloc and print out the poem backwards. Where do i start, can anybody help me please!!!!!!!!!!!