Questions tagged as 'console'

0
answers

Connect to the database via browser console

I have an application in JS that runs via the browser console. I would like to know the possibilities of sending and receiving data via mysql through the Console. I do not know if it's possible either. I tried something, but it did not wor...
asked by 03.04.2018 / 17:30
1
answer

How to save Console Application data using EntityFramework

I made a console application using Entity Framework , but I'm having a hard time implementing the methods of my repository class that inherits from an interface, I've made my interface classes and my concrete repository class like this:...
asked by 20.02.2018 / 21:08
1
answer

Error when starting Context Entity Framework: Function requires all threads to be executed

I have a solution that has some projects working, they all refer to the Domain layer, which is responsible for connecting to the Oracle Database . I created a project in Console referencing Domain, like the other projects and when I start...
asked by 23.01.2018 / 13:23
2
answers

The code skips the fgets, not reading the word

The program is not reading my fgets() getting there it jumps. #include <stdio.h> #include <stdlib.h> #include <string.h> int main() { float altura, peso,pesoidealm,pesoidealf; char sexo[10]; printf("Digit...
asked by 22.10.2018 / 20:16
2
answers

Order Queue in C #

I already have this code: Queue<string> Fila = new Queue<string>(); //Declaração da Fila string opcao = "1"; //Define opção como 1 while (opcao == "1") //Enquanto ele quiser inserir pedidos { Console.WriteLine("Cliente:"); //...
asked by 02.07.2015 / 17:18
2
answers

I'm learning, so it's a basic question

I would like to know why, when the program was run, it does not even show Console.WriteLine("nome: {0}", nome); on the screen? string endereço, cpf, telefone, nome; Console.WriteLine("Digite o nome. "); nome = C...
asked by 10.08.2018 / 22:50
3
answers

Insert Tags by Console

I need to insert Tags into a site through the console. To be more specific, I want to add a TAG <iframe></iframe> . I have already tried to use document.createElement('tag') , after that add the attributes of the tag b...
asked by 29.01.2018 / 15:47
1
answer

Show alerts in a Console Application C # [closed]

Already notice that maybe my doubt is very primary, but come on ... I'm doing a console-type project in C #, but I'm having trouble displaying error alerts. What I wanted to do was leave a separate part of the console for alerts, and when the...
asked by 08.08.2017 / 13:49
1
answer

How do I leave a required field?

I'm setting up a birthday management application (Consoleapp) for college ... I would like to know how do I make it mandatory to enter the Name / Surname / CPF / dataNascimento fields when the user is adding a new person? Oh and I would like to...
asked by 10.01.2018 / 22:50
1
answer

Problem with for and string.Remove

I'm having a problem with a program that I did for encryption and decryption from a hash, do not judge how it works, I did it while it was too much. What is not working is decrypt, I believe it is by the replacerbyhash() function, but I c...
asked by 31.05.2017 / 00:23