• 2024-10-20今日总结
    importjavax.swing.;importjava.awt.;importjava.awt.event.ActionEvent;importjava.awt.event.ActionListener;importjava.util.ArrayList;importjava.util.List;importjava.util.Random;classArithmeticProblem{privateint[]operands;char[]operators;
  • 2024-10-142024/10/14
    今天我写了一个生成随机四则运算题的程序。importjavax.swing.;importjava.awt.;importjava.awt.event.ActionEvent;importjava.awt.event.ActionListener;importjava.util.ArrayList;importjava.util.Arrays;importjava.util.List;importjava.util.Random;class
  • 2023-04-27== vs === in js
    Equalitycomparisonsandsameness-JavaScript|MDN(mozilla.org)Looseequalityissymmetric:A==BalwayshasidenticalsemanticstoB==AforanyvaluesofAandB(exceptfortheorderofappliedconversions).Thebehaviorforperforminglooseequa
  • 2023-02-08x ? : y Conditionals with Omitted Operands
      https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/Conditionals.html  6.8ConditionalswithOmittedOperandsThemiddleoperandinaconditionalexpress
  • 2022-11-20risc-v gcc 编译 atomic 指令时产生 illegal operands 错误的解决办法
    错误的写法:amoadd.wa1,a0,a2这是参照OpenRISC-VReferenceCard的格式书写的,这将将产生错误:illegaloperands`amoadd.wa1,a0,a2'正确的写法:amoadd.wa1,a2,(a0)凡
  • 2022-08-25Assembler Instructions with C Expression Operands
    UsingtheGNUCompilerCollectionForgccversion4.9.3 (GNUToolsforARMEmbeddedProcessors)Inanassemblerinstructionusingasm,youcanspecifytheope