Questions tagged as 'cast'

1
answer

Utility of coercion operator reinterpret_cast

What is the coercion operator reinterpret_cast ?     
asked by 12.08.2018 / 17:40
1
answer

Cast webview android studio

I'm making an app for my site, which is just a webview, can someone tell me if it's possible to put it on Smart TV? if so, can you tell me where to study? or even help me right here, I only have WEBVIEW so far.     
asked by 17.05.2018 / 06:47
0
answers

NETBEANS - JAVA - DERBY - Error retrieving byte for ImageIcon

Save everything good? I stored a BLOB file and I'm looking to recover it, it's a JPG. Below is the ResultSet of it: byte[] bin = null; // (2) ResultSet rs; try { rs = produtoCont...
asked by 27.11.2017 / 01:51
1
answer

Multiple cast in java

I'm having a difficult time doing an exercise because I do not know how to solve this kind of casting: The class D is the superclass. The class C is the subclass. D d = (D) (C) new D(); I would be grateful if anyone cou...
asked by 27.08.2017 / 20:09
0
answers

Get the properties of the XML response from the web services server

I want to capture the values of the properties of the XML responded by the server. public ArrayList<Carga> smbcRequest(smbc smbc) { //instanciando variaveis PropertyInfo req = new PropertyInfo(); ArrayList<Carga> lista...
asked by 10.12.2015 / 05:08
1
answer

Problems converting Session to Class in C #

I have the following variable List<MyFile> xmlDisponivel = new List<MyFile>(); This variable is a list of the following class public class MyFile { public string FileName { get; set; } public string FilePath { get; set...
asked by 21.02.2017 / 15:32
1
answer

The operator + is undefined for the argument type (s) CharSequence, int

I am trying to concatenate a text in% with% with% with%, but java warns that it is not possible to do this by saying:    The operator + is undefined for the argument type (s) CharSequence, int I have already tried to remove the casting...
asked by 09.07.2018 / 19:58
1
answer

What does it mean (Char) 0 / (Char) 8 / (Char) 13?

I'm doing a shopping program and found it on that same site. The answer to a problem I had, but I did not understand what the (Char)0 part would be, among others. I need to explain what this is. private void preVenda_KeyPress(object sen...
asked by 25.11.2018 / 11:34
1
answer

Cast on void pointer

The code below was working as expected, but I changed the info type in the structure List from Retangulo* to void* and tried anyway to cast but continue with the following error: t.c: In function ‘imprimir’: t.c:40:38: warning...
asked by 04.01.2018 / 04:07
1
answer

C # conversion error

I have the most generic class Account and another ContaPoupaça that inherits from this class Conta . In this daughter I have an interface called ITributavel , because this class in addition to the methods and attributes of...
asked by 03.11.2017 / 00:15