Questions tagged «variable-initialization»

10
声明并同时分配多个字符串变量
我声明了一些空字符串,因此以后不会抛出错误。 我读过,这是正确的方法: string Camnr = Klantnr = Ordernr = Bonnr = Volgnr = Omschrijving = Startdatum = Bonprioriteit = Matsoort = Dikte = Draaibaarheid = Draaiomschrijving = Orderleverdatum = Regeltaakkode = Gebruiksvoorkeur = Regelcamprog = Regeltijd = Orderrelease = ""; 但这是行不通的。我收到此错误:Klantnr does not exist in the current context。 我做错什么了?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.