Questions tagged as 'runtime'

1
answer

Reason for different versions of DNX depending on OS

Some time ago I asked here about which really is the .NET Execution Environment (DNX). After reading the answer and the DNX Wiki I came to understand DNX as an interface between the virtual machine on which the managed code executes and the Op...
asked by 07.12.2015 / 14:30
1
answer

Runtime Error in Python

I made a backtracking program in Python to find an M-size set of binary strings where any string has a distance greater than d for any other string in the set. But it does not work well when testing for n = 8. The message:    "Runtime erro...
asked by 03.03.2017 / 03:30
1
answer

Fortran code adaptation for python [RuntimeWarning: overflow encountered in double_scalars]

I tried to adapt the following code in fortran for python: PROGRAM Escape_tent IMPLICIT NONE ! Declare local variables INTEGER :: i,j,tfinal,P,k,rede Real,dimension(0:2800) :: x,xn real, external :: f Real :: sigma,pi,soma,r pi=4.*atan(1.0) !...
asked by 30.12.2018 / 20:08
0
answers

Getline reading, not le the string and tb when accessing a vector that does not exist or size insuffiente

Well, this is a classification of players from a two-by-two match, where you sort the match you stopped at. #include<iostream> using namespace std; int main() { int N,Ri,Ei,partidas,tamanho,contador,posicao1,i,achar,total1,total2;...
asked by 10.10.2018 / 02:26
0
answers

Why does Linqpad say that a Network directory exists, while .NET does not?

I have a network directory in "\10.88.0.1\rec" . However Directory.Exists returns false while debugging in visual studio. This is strange, since LinqPad returns true . Are there any differences between the linqpad's...
asked by 27.09.2018 / 18:01
0
answers

RuntimeWarning Error

I'm trying to run an array and the following error appears: RuntimeWarning: invalid value encountered in double_scalars. What can cause it? def geomBarras(nx, ny, nz, fx, fy, fz): #determina tamanho das barras e cossenos diretores _L = np....
asked by 12.05.2018 / 18:46
0
answers

Is it possible to run a Windows executable stored in memory?

I have an executable that is not a .NET Framework assembly stored in byte[] , and I want to run it without creating a dedicated file for security reasons. The reason for not wanting to create a temporary file, storing the bytes and th...
asked by 26.04.2018 / 00:56
0
answers

List directory using Java getRuntime on MAC

In Java I am trying to open the mac terminal and execute a command to list folder 'ls'. Follow the code public String executeCommand() { String[] commandWithParameters = null; commandWithParameters = new String[]{...
asked by 27.03.2018 / 23:46
1
answer

How to get "currentLocation" inside a webview

I have an app that runs a webview and within that webview has an option to get the user's current location, which for some reason (which I do not know) works perfectly on the website on the desktop & mobile, however, inside the App is in inf...
asked by 09.12.2017 / 01:00
0
answers

This program is giving Runtime Error in uri, I would like to know where I am going wrong

#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> int main(){ short int numCasos, i = 1, j = 1, soma = 0; long long int num; scanf("%hd", &numCasos); while...
asked by 05.08.2016 / 20:15