Questions tagged as 'console'

1
answer

C ++: Vector in a function

I'm doing a project where I use many vector-type vectors. But working with array vectors is easier, so I did the following function: // add.cpp vector <string> sAdd (string In[]) { vector <string> Out; Out.resize (sizeof(In))...
asked by 24.04.2017 / 03:47
1
answer

Refresh console line [duplicate]

I have a loop in python, and I would like to report the value of a variable every time it is updated, but I do not want to dirty the console giving print every time < the console . Is there a way for me to get this result? print("Execut...
asked by 09.06.2017 / 22:47
1
answer

Which library to use to pause the system instead of getch?

#include <stdio.h> #include <conio.h> int main() { int x=4, y=7; printf("&X:%X &Y:%X x e y (%d,%d)\n",&x,&y,x,y); int *px, *py; px = & x; py = & y; printf("px:%X py:%X *px e *py (%d,%...
asked by 23.03.2017 / 00:08
1
answer

How to create an integer variable in hexadecimal?

I'm trying to create an integer variable in hexadecimal, but an error occurs saying it is not in the correct format. [DllImport("user32.dll")] public static extern short GetKeyState(int vKey); static void Main(string[] args) { string[] lin...
asked by 06.04.2017 / 12:31
1
answer

How to preserve Log of the Mozilla Firefox Browser Console?

In the Google Chrome browser, on the consola tab, there is an option for preservar log while we are testing things or developing our site so we do not have to retype the code all over again in case we need to update the page to tes...
asked by 24.02.2016 / 03:09
1
answer

How to create two classes with the same methods, even one of them not being 'Partial'?

Can I create a class to implement the System.Console class, without creating extensions? Example: 'A original, da mscorlib: Public NotInheritable Class Console (...) End Class It is marked as a non-partial class, so ... you can n...
asked by 02.05.2015 / 06:41
1
answer

How to use Twisted in Mac OSX?

I'm following a tutorial to use Twisted to connect to an app. But at the time of testing the connection to localhost for testing, it appears that it is not responding. I am using the following script in the chatserver.py file: from twisted....
asked by 05.12.2014 / 22:00
1
answer

Error: Shell class SyncAccessTokenShell could not be found

My application is cake 2.4.4, is hosted on Amazon. Before the server was apache, but now we migrate to nginx for better performance. As already expected several problems occurred (normal), one more of them that is giving me a certain headache is...
asked by 23.10.2014 / 18:00
2
answers

Why can not I read a string in the console?

I'm trying to read a string typed in the console, which is halfway through the code, but what happens is that it passes straight through and displays the final information. using System; namespace Viernes { class Program { st...
asked by 23.06.2014 / 17:49
1
answer

items hidden by filters - error console

I'm creating an electron application with angular2, where I make requests to an api. When I disconnect the machine from the internet, (because I want the application to work differently without internet) on the console, it starts several errors...
asked by 03.10.2018 / 15:48