Infra_HDC icon

arrays.c CL VS2017 compile and test run

Infra_HDC | PRO | 05/03/19 05:05:57 PM UTC | 0 ⭐ | 549 👁️ | Never ⏰ | []
text |

1.69 KB

|

None

|

0 👍

/

0 👎

**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.9.11
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
 C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional>cd C:\Users\User\source\repos\3
 C:\Users\User\source\repos\3>cl arrays.c
Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27030.1 for x86
Copyright (C) Microsoft Corporation.  All rights reserved.
 arrays.c
Microsoft (R) Incremental Linker Version 14.16.27030.1
Copyright (C) Microsoft Corporation.  All rights reserved.
 /out:arrays.exe
arrays.obj
 C:\Users\User\source\repos\3>dir
 Том в устройстве C не имеет метки.
 Серийный номер тома: DA95-312B
  Содержимое папки C:\Users\User\source\repos\3
 03.05.2019  20:03    <DIR>          .
03.05.2019  20:03    <DIR>          ..
03.05.2019  19:54             2 463 arrays.c
03.05.2019  20:03           125 952 arrays.exe
03.05.2019  20:03             4 182 arrays.obj
               3 файлов        132 597 байт
               2 папок  101 451 202 560 байт свободно
 C:\Users\User\source\repos\3>arrays.exe
Hello, World!
Use single-bit encoding, please!
Enter strings content. Maximum strings length is 100 characters.
Input will stopped after 100 strings input or the "END" phrase instead of string content.
s[0]: 1
s[1]: 22
s[2]: 333
s[3]: 4444
s[4]: END
Strings was entered: 4, go to data processing...
Strings array after sorting:
s[0] = 4444
s[1] = 333
s[2] = 22
s[3] = 1
The result: 4444333221
 C:\Users\User\source\repos\3>

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎