Не могу испольнить этот код на C++ .
#include <tchar.h>
#include <windows.h>
#include <iostream>
#include <conio.h>
using namespace std;
#import "C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll"
int main(){}
Выводить ошибку:
||=== Build: Debug in ANPR (compiler: GNU GCC Compiler) ===|
C:\ANPR\main.cpp|10|warning: #import is a deprecated GCC extension [-Wdeprecated]|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|error: stray '\220' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|error: stray '\3' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|error: stray '\4' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|error: stray '\377' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|error: stray '\377' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|error: stray '\270' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|error: stray '@' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|error: stray '\200' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|error: stray '\16' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|error: stray '\37' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|error: stray '\272' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|error: stray '\16' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|error: stray '\264' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|error: stray '\315' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|error: stray '\270' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|error: stray '\1' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|1|error: stray '\315' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\1' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\3' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\366' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\366' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\330' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\340' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\2' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\1' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\10' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\16' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\6' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\256' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '@' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '@' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\2' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\4' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\4' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\200' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\2' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\25' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\3' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '@' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\205' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\20' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\20' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\20' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\20' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\20' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '@' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\3' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '`' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\210' in program|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|warning: null character(s) ignored|
C:\CppProject\APNR\ANPR\ETC\CAS_CI_BI_COM_server\CAS_CI_BI_COM.dll|3|error: stray '\34' in program|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build failed: 50 error(s), 39 warning(s) (0 minute(s), 2 second(s)) ===|
и открывается другое окно с заголовкой "CAS_CI_BI_COM.dll" и с контентом:
MZђ
Мой данные ПК:
Ссылка к библиотека: ссылка
Айфон мало держит заряд, разбираемся с проблемой вместе с AppLab
Перевод документов на английский язык: Важность и ключевые аспекты
Пишу на C++В заголовочном файле делаю объявления (класса), в
Если во входном потоке input_stream встретился символ, не являющийся числом (, или ;), то чтение прекратитсяКак после этого можно продолжить чтение...
Вроде бы как в новых стандартах можно использовать ключевое слово explicit не только к конструкторам, чтобы предотвратить неявное приведение,...