console-input Questions
7
Solved
I have a task to read n given numbers in a single line, separated by a space ( ) from the console.
I know how to do it when I read every number on a separate line (Console.ReadLine()) but I need he...
Maximamaximal asked 21/1, 2015 at 14:51
2
The prototypes for getchar() and putchar() are:
int getchar(void);
int putchar(int c);
As ,its prototype shows, the getchar() function is
declared as returning an integer.However, you can as...
Shellacking asked 5/11, 2017 at 2:7
3
Solved
Recently I was writing a little CLI script which needed to repeatedly read dates from the console (the number of dates to read was calculated and could be different each time). Sample Ruby code to ...
Bauxite asked 14/7, 2012 at 13:23
1
© 2022 - 2024 — McMap. All rights reserved.