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))...
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...
#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,%...
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...
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...
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...
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....
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...
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...
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...