I am making a console application in Dev C++ and I was wondering if the following can be done: when entering a string is it possible to end it with a "." ,for example, instead of pressing enter or space to tell the application that you are done entering the string?
Yes but you need to read any single char...try getc() from stdio.h or something...you loop until your just read character is '.' or whatever. Dont forget to add each character to your buffer and finally a '\0' at the end of the string!
Not with the standard lib. The standard lib buffers all input and only forwards it to your program after the user hits enter.
Reading one char at a time like ZED suggests would work with another lib that gives real-time status of keyboard input. If you're on Windows you can check WinAPI for some functions. I don't know any offhand, but try looking around for GetConsoleInput or something similar (note: that's not a real function, that's just what I'd start searching for).
Alternatively you can use a 3rd party lib like ncurses which probably has this functionality.
Though, really, this is probably more trouble than it's worth.