delphi reads a one dimensional array into the file prawns

Updated on technology 2024-03-08
11 answers
  1. Anonymous users2024-02-06

    Are you going to write to a file or to read?

  2. Anonymous users2024-02-05

    Not too long. You can define it as follows:

    bmparray : array [0..1048576-1] of byte;

    One-dimensional processing is not as convenient as two-dimensional processing.

    bmparray2d : array [0..1024-1, 0..1024-1] of byte;

  3. Anonymous users2024-02-04

    You can use getmemory to get the memory data, you can use as much memory as you want, and you don't need to consider the upper limit.

  4. Anonymous users2024-02-03

    Not long. But you actually think that two-dimensional arrays are not as convenient as one-dimensional arrays???

  5. Anonymous users2024-02-02

    a[1]:=str1;

    a[2]:=str2;

    That's all- -

    If you want to loop, you must add the value to the collection first, for example with stringslist;

    s:=;;;

    for i:=1 to 2 do

    begina[i]:=s[i-1];

    end;

  6. Anonymous users2024-02-01

    You can set up an array of animals.

    name:array of char;

    Then setlength(name,100) before use;

    Just use the loop assignment and you're good to go!

  7. Anonymous users2024-01-31

    There are two ways, but none of them are convenient for C.

    1、for i := 0 to 99 do name[i] := #

    2、fillchar( name, sizeof(name), 0 );

  8. Anonymous users2024-01-30

    one-dimensional variable array s:array of string;

    2D variable array v:array of array of string;

  9. Anonymous users2024-01-29

    Agreed, any type will also work.

  10. Anonymous users2024-01-28

    Pure hand-hitting, if it is incorrect, the self-vibrillating liquid has been adjusted to the eggplant leakage to try to search for the first.

    How it works: Use the import file of tstringlist and assign values to variables!

    varfilelist:tstringlist;

    fil:ansistring;

    beginfilelist;=;

    fil:=;

    showmessage(fil);

    end;

  11. Anonymous users2024-01-27

    1. How to put it in an array.

    tinifile has a function, readsectionvalues() like , which can read subsections directly into the tlist.

    2. How to judge the time.

    Compare the time of the for loop and the PC.

Related questions
12 answers2024-03-08

Executed in one data control.

alter table name alter column id counter (1, 1). >>>More

4 answers2024-03-08

What are the three-dimensional objectives of teaching.

The three-dimensional objectives are not the three objectives, they are the three dimensions of the new curriculum objectives, nor are they three types) The teaching three-dimensional objectives are the three dimensions of the new curriculum objectives: >>>More

12 answers2024-03-08

Now we use optical scanners, the accuracy is higher, our Sentu company is using atos, the effect of copying, customers are more satisfied.

7 answers2024-03-08

It's very complete, and it should help you somewhat.

Here are a few others**. >>>More

11 answers2024-03-08

You are wrong, the change hexagram is the earth and the heavens, and the kun is the body hexagram, which is the one that does not change >>>More