Will AS, write a small calculator

Updated on technology 2024-05-17
12 answers
  1. Anonymous users2024-02-10

    Assign three numeric variables to three text boxes.

    Write in an instance of a clip on one of the Stage:

    onenterframe{

    Variable 3 = Variable 1 + Variable 2

    Textbox variable 3

    Note: Indicate the path of the three variables.

    In this way, the runtime will continuously call the ** to display it in real time.

    **Not standardized, and not personally tested, it is estimated to be feasible, hehe.

    Addendum: Here's how I did it: put two input texts on the stage, named x1 and x2, and put a dynamic text with a variable named a1

    Place an empty clip and write **:

    onclipevent (enterframe) {= parsefloat(_;

    There's no line break in between).

    Personally tested.

  2. Anonymous users2024-02-09

    onenterframe = function ()if ( == "" ||== "") {= "";

    else {

    string(number(;

    Remember that this ** is on the write frame, num1 and num2 are input text boxes, and num3 is dynamic text boxes.

  3. Anonymous users2024-02-08

    In VB, as indicates what kind of internal form variables and objects are!

    In the query statement in SQL, AS is the name of the field, and in SQL, there is also a stored procedure definition when the content behind AS is a function body!

  4. Anonymous users2024-02-07

    Keywords used in many languages, such as vb.

    dim a as integer

  5. Anonymous users2024-02-06

    as: autonomous system in a computer network.

  6. Anonymous users2024-02-05

    Leave your email and I'll send you mine.

  7. Anonymous users2024-02-04

    Hello, writing the interface is to Windows programming, that is, to call Windows API functions, I'm a sophomore now, there is a course called VC++ programming, and the main thing to learn is MFC programming. In fact, MFC is just a framework, and the ** in it is the C language**. Of course, the framework is mainly built in C++, so it doesn't matter if you're different.

    When I was preparing for myself this summer, I happened to write a calculator and backgammon.

    Actually, the calculator is the simplest, of course, I mean addition, subtraction, multiplication, and division.

    **MFC implementation***

    1。Calculator.

    One: Build a dialog-based application.

    Two: Drag the controls to draw the calculator interface.

    Three: Add control event response.

    Specifically**You can search on the Internet, you can also ask me.

    2。Gobang.

    One: Build a single-text application.

    2. Draw a chessboard in the ondraw of the view class.

    Of course, adding a background at the end will make the interface even more beautiful.

  8. Anonymous users2024-02-03

    You can take a look at Yang Zhongke's "C Language Can Do Great Things".

  9. Anonymous users2024-02-02

    Changed: 1) Removed the private sub calculation click (index as integer) in parentheses.

    2) Add in the penultimate row.

    private sub calculates click()dim a, b, c as doublea = val(

    b = val(

    c = ((val(b) -val(a)) / val(a)) 100

    cend sub

  10. Anonymous users2024-02-01

    namespace using namespace std;

    The division sign is written incorrectly;

    It is how to write C, and I write it here, and it is a problem with the textbook.

    Special characters can be written in double colons.

    cout<<"Please enter the operand 1 t"<<"operator op t"<<"Operand2"<

  11. Anonymous users2024-01-31

    if(op=='\')

    z=x/y;

    cout<

    The backslash in is changed"/"Try it.

  12. Anonymous users2024-01-30

    It refers to the programming scripting language in flash, which is used for programming in flash.

Related questions
8 answers2024-05-17

1.Power-on on button: Press this key to power on, or clear all registers. >>>More

22 answers2024-05-17

DOS command, it can't be, it's vb.

7 answers2024-05-17

How to multiply the calculator with the same numberFirst calculate 2*2= and then press m+, in an 3*3=, in press m+, in press 4*4=, then press m+, and then press mrc is the result. was the dead body?and WHO I >>>More

11 answers2024-05-17

One was disassembled, one was not.

7 answers2024-05-17

Answer]: BCPU is mainly composed of combinators, controllers, registers and internal buses and other components, and the combinator is composed of a logic unit for arithmetic answering, an accumulation register, a data buffer register and a state condition register, which is a data processing component used to complete various arithmetic and logical operations of the computer; The controller is used to control the work of the entire CPU, which determines the automation of the computer operation process, which must not only ensure the correct execution of the program, but also be able to deal with abnormal events. The control belt controller generally includes several parts, such as instruction control logic, timing control logic, bus control logic and interrupt control logic. >>>More