My first question is this:
Is there a way that I can use strchr() to find the next character occurance, not the first or last, or for it to find the character after a certain point? I tried
but it returns an error message: error C2664: 'strchr' : cannot convert parameter 1 from 'char' to 'const char *'.Code:char input="abcdabcdabcd"; int x=5; strchr(input[x], 'd')
My second question is:
Is it possible to move the cursor(in the command prompt screen) up one row? I have this really old Turbo C++ book that says I must use ANSI.SYS, but thats for DOS(from like before 1990).