How To Get Rid Of Block Cursor In Dev C++

I am currently writing a program that can calculate the number of total seconds in a user given number of hours, minutes, and seconds (in that order in hh:mm:ss format hh, mm, and ss being any number from 0-99). I'm not really worried for checking for errors in user input, I'm more concerned with the user inputing code into the console in that format (hh:mm:ss).

How To Get Rid Of Block Cursor In Dev C Mac

Example:
Enter time in format hh:mm:ss: 2:15:30
Number of seconds is 8130

Dec 29, 2010  How to get rid of a blinking black cursor box on your PC. December 29, 2010 by Ian Brown 1 Comment. Do you have a blinking black cursor box where you usually just have a blinking line? Did this just show up out of nowhere? Pretty annoying, isn’t it? Well, luckily this is an easy fix.

How To Get Rid Of Block Cursor In Dev C++

This is my program so far:

The output currently looks something like this:

Welcome to Second Calculator.
Enter the number of hours, minutes, and seconds (in that order):
2
15
30
From the given 2:15:30 the total number of seconds is equal to: 8130
Press any key to continue...

Rid


I've looked around and from what I have read I would need to move the cursor in the console, but that's a tad advanced for what little I've learned so far.
I'm not sure if maybe I have to do something with some string operations and somehow find and store the three values from the user input. I've tried outputing ':' after each input, but the console places new lines after each input and it just ends up looking like a wierd ladder:

Download

2
:15
:30

Any help in steering me in the right direction or assisting in how to figure this out is greatly appreciated.

  • 4 Contributors
  • forum 6 Replies
  • 7,382 Views
  • 11 Hours Discussion Span
  • commentLatest Postby mrnuttyLatest Post

Red Goose21

How To Get Rid Of Block Cursor In Dev C 4

Don't hit enter after each input. Enter literally tells the console to make a new line. A simple space will suffice to separate the variables.

How To Get Rid Of Block Cursor In Dev C Windows 7

Edited by Red Goose: n/a