Questions tagged as 'console'

5
answers

Console Application without displaying console window

I have a Console Application in which I use to run routines of my system. I'm running this console from the Task Scheduler, every time it runs, it blinks on the screen. Opens, executes the process, and closes. I do not want the console to appear...
asked by 13.11.2015 / 19:42
3
answers

Console, WindowsForm or MVC which is the fastest for heavy loads?

I'm developing a program that will basically have the following cycle: Query in the database (some milliseconds) For each record, you will execute the following process: Início | Parse de um XML web (alguns milisegundos pra executar) |...
asked by 08.10.2016 / 02:13
1
answer

How did the command-line interface (CLI) come about and what was the need?

If we look at it until about 10 years ago, I do not remember having this feature for developing applications through the CLI (command line interface) on Windows operating systems. Examples used today: Ionic CLI, Angular CLI, Cordova CLI...
asked by 04.07.2018 / 20:10
1
answer

How to shuffle list of strings in C #?

I have a console application, in which the list exists: List <string> ListaFrases = new List<string>(); This list is built through the user inputs on the console. How to display your strings, but so that their positions are "sh...
asked by 03.10.2017 / 22:18
1
answer

Close console window in C

I need to create the old woman's game. I want to know how to close the black little window that appears without needing to click any key, for example: When you run the program it appears:    1 to play       0 to exit If the user types 0,...
asked by 15.06.2016 / 23:36
2
answers

Difference from cout to printf in C ++

I want to know what difference I use in C ++ cout and printf , is it all the same?     
asked by 11.05.2017 / 22:59
1
answer

How to disable XHR messages from loading in production

I have a system developed in Angular language in version 4. The system that generates application build in production is the webpack. The following starter is used as the base: angular 4 webpack starter The system is finished, but has the foll...
asked by 04.10.2017 / 15:35
3
answers

Read a console line in C #

   CS1503 Argument 1: Can not convert from "method group" to "object" using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Teste { class Program { stati...
asked by 08.03.2018 / 04:47
3
answers

Error comparing numbers and checking if they are the same

I'm doing a simple C # exercise in which I have to get two numbers, compare them and print which one is the greatest or are the same. When I start the program, I can only put the first number, and before placing the second, the program alread...
asked by 21.06.2016 / 18:15
4
answers

Call function at each time interval efficiently

I have a question, I'm making a game server and I need a specific function to be run every 10 seconds. I know that Thread.Sleep() exists (in combination with while(true) ), but it does not seem to be a good option I've heard o...
asked by 01.09.2016 / 18:25