Posts by Gonçalo Sousa • 103 points
8 posts
-
0
votes0
answers134
viewsQ: Property 'readAsArrayBuffer' does not exist on type 'File'
I’m trying to implement gallery photos in my app and get this error. HTML: <ion-content > <ion-button (click)="openGalery()" expand="block"> Escolha uma foto </ion-button>…
-
0
votes1
answer1262
viewsQ: ERROR Error: Uncaught (in Promise): Error: Cannot match any Routes
I’m getting the following error when I try to edit the entered information [routerLink]: ERROR Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment:…
-
-2
votes1
answer489
viewsQ: Import matplotlib.pyplot as plt error
The import numpy as np gives well but this one gives this error and do not know how to solve it(open link): - http://prntscr.com/o2txe8…
pythonasked Gonçalo Sousa 103 -
0
votes1
answer71
viewsQ: How do you put that in a for cycle?
code: if (label1.Text != string.Empty && label2.Text != string.Empty && label3.Text != string.Empty && label4.Text != string.Empty && label5.Text != string.Empty…
c#asked Gonçalo Sousa 103 -
3
votes1
answer49
viewsQ: Can anyone explain to me why this mistake?
Code: int jogo = 0; public void ganhou() { MessageBox.Show("O jogador " + jogador_atual + " ganhou!"); reniciar(); jogo++; lb_numero_jogo.Text = Convert.ToInt32(jogo); } Error: Cannot implicitly…
c#asked Gonçalo Sousa 103 -
3
votes1
answer1058
viewsQ: There is a difference between private void, public void, public bool, public string, etc. Can someone explain this to me?
Until now to create functions in c# it was rare to use the public bool to create functions, used more the private void and the public void. I was looking at a tutorial where he used for example:…
c#asked Gonçalo Sousa 103 -
0
votes1
answer31
viewsQ: Do not trade players
In my program the player always stays in "player 1". Does anyone know why? <span id="info_jogador" style="visibility: hidden">Jogador: <span id="jogador">1</span></span>…
-
0
votes3
answers113
viewsQ: Background CSS/HTML
Isn’t there any way to stretch the brackground to occupy the entire web? The photo I’m using has the following resolution :1024 640. When I put it as background it gets a white bar on the right. Is…