Most voted "console" questions
The command console also called shell for Unix-like systems is a textual interface that interprets the existing commands in an operating system and sends them to the kernel later printing the result of the processing on the screen.
Learn more…149 questions
Sort by count of
-
0
votes1
answer431
viewsDisplay alerts in an Application Console c#
I warn you that maybe my doubt is too primary, but come on... I’m doing a c#console project, but I’m having trouble displaying error alerts. What I wanted to do was leave a separate part of the…
-
0
votes1
answer44
viewsProblem with for and string. Remove
I’m having a problem with a program that I did for encryption and decryption from a hash, don’t judge how it works, I did it while it was very tied. What is not working is the Decrypt, I believe it…
-
0
votes1
answer197
viewsAccent code page in Command Prompt
When updating my system application, a command line is called to execute a script to update the database. The script calls the tool Isql of Firebird sending as parameter the file that contains the…
-
0
votes0
answers365
viewsChange the console source
In the picture below, I can change the console font by clicking on the top of the window and clicking on properties: But how can I change the font and font size of the console through programming?…
-
0
votes1
answer610
viewsValue comparison
I need to make two comparisons as the person enters data: Higher height; OK Shorter height; (turned bad) I cannot use vector in this case, because it is a requirement of exercise. In this case I was…
-
0
votes3
answers110
viewsInsert Tags from Console
I need to insert Tags on a site by console. To be more specific, I want to add a TAG <iframe></iframe>. I’ve tried using the document.createElement('tag'), after that add the tag…
-
0
votes3
answers52
viewsFor JS code to scan the console
I have a simple code in JS, and would like to analyze the browser console, but as soon as the code runs the function it gives Reload on the page. Complete code HTML <div class="wrapper…
-
0
votes0
answers64
viewsWhat folder structure for the dll project in . net framework that I will play in the main project
I have a vs2017 solution with a main project that will use a dll project as a reference. I created the model, business and repository folders in the dll project Main project use a dll in the main…
-
0
votes1
answer830
viewsHow do I make a field mandatory?
I am mounting an Engineering Management Application(Consoleapp) p/college... I would like to know how to make mandatory the entry of the fields Name/Surname/CPF/dataNascization when the user is…
-
0
votes1
answer42
viewsConsole validator
Good evening, I need to program a user validator in C# (I have visual studio). Console style. I need from a list . txt the value of "id=" in the URL to be changed.…
-
0
votes1
answer4161
viewsHow to apply console.log at the angle?
I want to apply console.log in the angular method, but I’m having difficulty, I’m doing so; export class CervejaService { cervejasUrl = 'http://localhost:8080/cervejas'; constructor(private http:…
-
0
votes0
answers69
viewsHow do I keep changes made by the browser console?
Hi, I was looking at the code of some websites on the Internet through the console and making some changes to see what was going on, and it got to the point where I wanted to save all these changes,…
-
0
votes0
answers49
viewsError in Chrome console
In the Chrome browser console, I have these errors: I have to worry. Only in Chrome content-script.js:12 Unhandled rejection Error at child.onBeforeRender…
-
0
votes0
answers120
viewsphp commented inside the console
I have the following test code: <html> <head></head> <body> <?php echo 'teste'; ?> </body> </html> should show only written test on screen, however when…
-
0
votes1
answer98
viewsC# List Console
How do I display only the third values of the list, in case the ("500, 900, 2000, 1500, 2000). And how I do this same process to display only the third values of the list that has associated the…
-
0
votes2
answers907
viewsHow to save and export an object in the browser console?
on the Box website, the results of the lotteries are displayed on the console in the form of objects. http://loterias.caixa.gov.br/wps/portal/loterias/landing/megasena/ I can right-click on the…
-
0
votes2
answers70
viewsI’m learning, so it’s a basic question
I would like to know why then, when the programme has been implemented, it fails to show Console.WriteLine("nome: {0}", nome); onscreen? string endereço, cpf, telefone, nome;…
-
0
votes2
answers52
viewsCompare and print comma separated data
I am unable to compare with the data in the notepad. This data is inserted online and separated by; In short, enter value;description;day;month;year if (dia == "" || mes == "" || ano == "") { ERRO…
-
0
votes3
answers694
viewsThe code skips the fgets, not reading the word
The program is not reading mine fgets() getting there he jumps. #include <stdio.h> #include <stdlib.h> #include <string.h> int main() { float altura, peso,pesoidealm,pesoidealf;…
-
0
votes1
answer32
viewsStrange debug with Android Studio
Note the print, the title(1) of the error has more details than the body(2) of the error. It’s not every mistake that comes along that way. You can configure the title to appear also along with the…
-
0
votes0
answers45
viewsC# - Reading Excel
I was able to read an excel file, but when showing console the information does not leave spaces, how can I give space in the middle? kkkk using System; using System.Collections.Generic; using…
-
0
votes1
answer211
viewsHow to click non-clickable HTML tags? Via console
Good staff I am with a doubt, I would like to click on non-clickable HTML elements, as for example I know that with the following code we can click a button knowing that I am working via console in…
-
0
votes2
answers53
viewsHidden value of variable
When I put to show the numbers that were exchanged the program just shows nothing, I do not understand why. Read two numbers by storing them in the variables num1 and num2. Check if the value of…
-
0
votes1
answer55
viewsProblem with jquery percentage calculation
Good afternoon , I’m having trouble calculating percentage, but the error does not occur in the mile up, anyone has any idea what may be? var cost_value = $('#cost_value').val().replace('.',…
-
0
votes0
answers29
viewsHow do I publish a process-dependent application together?
Is there any way to publish an Aplication console with dependency on other consoles ? Today I have a screen of Windowns Form that is my login screen, I select which console application should be…
-
0
votes2
answers1497
viewsHow to use the Material Ui autocomplete Component without errors
I have a component Autocomplete of the Material UI where the user searches the values based on an array of products that comes from an API. The component is like this, where products is the array,…
-
0
votes1
answer243
viewsWhy does style return null?
Uncaught TypeError: Cannot read property 'style' of null at window.onload (main.js:7) Because the load object does not appear, it is null? window.onload = function() { load =…
-
0
votes0
answers112
viewsHow to insert Connection String in a console project in . NET CORE 3.1
appsettings.json in . NET CORE 3.1 no longer exists, has been integrated into . csproj. I would like to know how to configure my Connection string, the console project in . net core 3.1 is created…
-
0
votes1
answer781
viewsProblem "the file is already being used by another process"
I’m trying to make a code to call windows function ping and use output stream to windows file, and while using the code that the program calls on windows console right, but by the program I have a…
-
0
votes1
answer47
viewsMy if Else doesn’t work on the Console.Readkey, so he was doing a little program he’s running but he "jumps" the commands inside if Else
using System; using System.Security.Cryptography.X509Certificates; namespace projeto { class Program { static void Main(string[] args) { Dados a = new…
-
0
votes1
answer148
viewsInput treatment with scanf() return
I’m trying to write an input treatment in my C code in the excerpt where the n values of an array and are read. If there is an error in reading (if the input is a char for example), assign 885444751…
-
0
votes0
answers45
viewsComplicator does not give error, but the program does not start
I’m learning data structure with the C language, but I realized that I should study a little more struct and pointers, in one of the exercises that I was given is to create struct with day, month…
-
0
votes2
answers57
viewsWhy, in addition to printing the expected result, console.log also prints Undefined?
I am following an example of a course and I was left with the doubt of why, in this code: function area(largura, altura) { const area = largura * altura; if(area > 20) { console.log(`Valor acima…
-
0
votes1
answer76
viewsHow to write two Readline in a single line?
I was doing some tests and when I tried to do an example of date system, in the case of birth I came across the problem, that Voce can only write at the end of the Console.Write(), when Voce puts a…
-
0
votes1
answer22
viewsHow to take all consoles.logs, errors, and alerts from the console to cleinte (devtools)
I have a next.JS application and I need it to be well indexed. I’m making some changes and improvements following Lighthouse. However a mistake of "good practices" appeared that I always had doubts.…
-
0
votes2
answers59
viewsProgram prints the next letter of the alphabet instead of the next char on the pointer
My program is printing the letter P instead of i, I would like to understand the problem behind this and what is wrong in my code. If I put the letter A instead of O, the program would print the…
-
0
votes0
answers11
viewsConsole does not set floating point
The variable of type float fish is reading the console, and when I put a value of 12.4, for example, I have it print the same variable, but even forcing a conversion to float, the output on the…
-
0
votes1
answer38
viewsHow to improve a calculator
I wonder if we can make this code not stop when I type a letter instead of a number, just correcting and telling to type a number. namespace calculadora { class Program { static void Main() {…
-
-1
votes1
answer237
viewsUsing standard input and output on Android
When I learned to program in Java I used the standard input and output (stdin and stdout) a lot. Now that I’m curious to learn what I can do on Android, I wanted to know if for practicality I can do…
-
-1
votes2
answers94
viewsProblem when receiving char values
Why the first time I pass an error char value (as if it were empty)? Then the second try works normal? After I received the initial post or shift of error and yet I gave one Writeline was with the…
-
-1
votes3
answers380
viewsPrint a string with only numeric values
I’m doing a show in console where the user enters some codes, and I want to print this code back to him just when he gives enter. But I wanted to print only the number values and ignore the…
-
-1
votes2
answers701
viewsHow do I use %d or %c... in Cout instruction?
I am studying C and C++ and would like to understand how I could transform this code written with printf() in cout, or how to use the functions %d %x %c, etc. in the cout. int main() { printf("i…
-
-1
votes1
answer963
viewsShuffle text
insira o código aqui[![inserir a descrição da imagem aqui][1]][1] shuffle text Rules: 1. Punctuation marks are word separators, are not part of words and so are not shuffled, for example: a)…
-
-1
votes1
answer815
viewsHow to make a POST with "Multipart/form-data" using C# in Console applications?
I’m trying to do it like this and it’s not working: var content = new MultipartFormDataContent(); httpClient.BaseAddress = new Uri(urlFinal); var fileContent = new…
-
-1
votes1
answer185
viewsVisual Studio Code, how to put the console in "real time"
He was using Spider IDE. I don’t know what this is called, but there was a console where you can program in real time, when typing 1+1, for example, it returned 2 on the console. I wanted to put…
-
-1
votes0
answers9
viewsHow to change the code page of the VS2019 debug console?
The default CP of the debug console is 850. I switched in windows to use CP 1252, it worked OK, but this did not change the CP used by VS. You can configure/change this in Visual Studio?
-
-2
votes1
answer1276
viewsHow to change the color of a console line in C?
so I’d like to know how do I change the color of that line... It’s a college project, and I’ve done research on other forums and everything, but I can never get an answer that works. I’m using the…
-
-2
votes1
answer32
viewsShow messages in Console Inspect - Google Chrome
I can no longer view my VSCODE responses when I access Inspect in Google Chrome. Until recently I was able to see all the messages, but after I clicked on 'Hide Messages from script.js" no longer…
-
-3
votes2
answers141
viewsUninstall browser by console
I’m trying to use the remote delete navigator;. He even returns to me true but nothing happens in javascript to uninstall the Chrome browser. For some reason it’s not working, someone could help me?…