- 4 0Y 8 5 12 3
sum = 0ll ;
for (n = 2ll ; (n + n sum u003d 0ll; for (n u003d 2ll; (n + n
- 仕事:何とかなった?
process (n_reset,clk) bigen if (n_reset ='0') then led = '0'; elsif rising_edge(clk) then case ab is when 11 = '1'; whenothers = '0'; end case; endif; end process; process (n_reset, clk) bigen if (n_reset u003d u0026#39;0 u0026#39;) then led u003d u0026#39;0u0026#39;; elsif rising_edge (clk) then case ab is when 11 u003d u0026#39;1 u0026#39;; whenothers u003d u0026#39;0u0026#39;; end case; endif; end process;
- Enum?にキャストしようとするとコンパイルエラー変換できない型が発生する
public static void main(string[] args) {
enum ? e1 = planet.earth;
// hmm, doesn't compile
planet e2 = (planet) e1;
// well this compiles, but it's not pretty!
planet e3 = (planet) (object) e1;
// so does this ....
planet e4 = (planet) (enum) e1;
}
} public static void main (string [] args) (enum? e1 u003d planet.earth; / / hmm, doesnu0026#39;t compile planet e2 u003d (planet) e1; / / well this compiles, but itu0026#39;s not pretty! planet e3 u003d ( planet) (object) e1; / / so does this .... planet e4 u003d (planet) (enum) e1;))
|