Új hozzászólás Aktív témák
-
Sokimm
senior tag
Köszönöm, köszönöm, így már megy (nem sok időm van programozni, de már megy ez a része, hála nektek!)
Köszönet mindenkinek!
Új problémába futottam, remélem erre is lenne pár szavatok:
Nem tudok string-ből short-ot csinálni.public static void main(String[] args) throws IOException {
String product_ID = "0x068E";
Controller StringToShort= new Controller();
StringToShort.ASD(product_ID);
}public static void ASD(String product_ID_String) throws IOException {
short ProductID_short = 0;
try {
ProductID_short = Short.parseShort(product_ID_String);
} catch (NumberFormatException e) {
System.err.println("The string is not properly formatted!");
}
}Mért nem tudom short-á varázsolni a string tartalmat?
Új hozzászólás Aktív témák
A topicot kiemeltem. Valaki nem akar egy nyitó hsz-t írni?:))
- LENOVO ThinkPad T470s,14",FHD,i5-7200U,8GB DDR4,256GB SSD,WIN11,LTE
- Eladó Logitech G705 Hibátlan, Gyári Dobozos Állapotban!
- Eladó Logitech G715 TKL Tactile - US INTL Kitűnő, Sértetlen Állapotban, Gyári Dobozában!
- Redmi Note 11s 6Gb 128Gb Rom
- Apple iPhone 14 Plus 256GB / 100%-os akkumulátor / 12 hónap jótállással
- Nokia 8 Sirocco / 6/128GB / Kártyafüggetlen / 12Hó Garancia
- Akciós kisWorkstation! Dell Precision 3560 i7-1165G7 4.7GHz / 32GB / 512GB / Quadro T500 2GB FHD 15"
- ÚJ! AKRacing Arctica gamer szék
- LG 32GS95UX - 32" OLED / UHD 4K / 240Hz - 480Hz & 0.03ms / 1300 Nits / NVIDIA G-Sync / AMD FreeSync
- Apple iPad 11Pro Wifi+Cell 256GB Kártyafüggetlen 1év Garanciával
Állásajánlatok
Cég: BroadBit Hungary Kft.
Város: Budakeszi
Cég: Laptopszaki Kft.
Város: Budapest


