Що таке CONST Англійською - Англійська переклад

Прикметник

Приклади вживання Const Українська мовою та їх переклад на Англійською

{-}
  • Colloquial category close
  • Ecclesiastic category close
  • Computer category close
Створює виняток з типом const char*.
Creates exception of type const char*.
Bool editNew( const QStringamp; назва_ шаблону).
Bool editNew(const QStringamp; templateName).
Бором: Матерія Х Дух= const!
Bohr must be fulfilled: Matter X the Spirit= const!
Р* V= const- якщо при цьому постійна і температура.
PV= constant if the temperature is constant.
Новини → Так ви думаєте, що знаєте Const?
Previous Post So you think you know Freud?
Void cancelEvent( const QStringamp; ідентифікатор_ події).
Void cancelEvent(const QStringamp; eventID).
Const signed portCHAR* const pcName,/*Описова назва для завдання.
Const signed portCHAR* const pcName,/*Descriptive name for the task.
Однак, хоча об'єкт, призначений const неможливо змінити, його властивості можуть змінюватись.
However, while the object assigned to a const cannot be changed, its properties can.
Наприклад, визначимо константа,яка буде зберігати кількість днів у тижні: const int daysInWeek= 7;
For example, we define a constant,which will store the number of days in a week: const int daysInWeek= 7;
Перший параметр конструктора копіювання це посилання(можливо const або volatile) на його власний тип класу.
A copy constructor has as its first parameter a(possibly const or volatile) reference to its own class type.
SecuritySetting( const string &iplc, int8_t imMode)- конструктор об'єкту із політикою безпеки iplc та режимом повідомлення imMode.
SecuritySetting( const string&iplc, int8_t imMode)- object constructor for the security policy iplc and the messages mode imMode.
Щоб оголосити константу необхідно використовувати ключове слово const і обов'язково відразу присвоїти значення: const тип ім'я= значення;
To declare a constant, you must use the keyword const and necessarily just assign a value: const type name= value;
Щоб дати ясно зрозуміти компілятору, що це константа, а не звичайна змінна,перед типом даних обов'язково використовувати ключове слово const.
To make it clear to the compiler, that it is a constant, instead of the usual variable,before a data type must use the keyword const.
Наприклад, функція F= const для будь-яких значень аргументу приймає одне і те ж значення, а тому будь-яке число може вважатися її періодом.
For example, the function F= const for all values of the argument takes the same value, and therefore any number can be considered as its period.
Елементи list містять список ключовихслів. У цьому випадку ключовими словами будуть class і const. У разі потреби ви можете додати довільну кількість списків.
List elements contain a list of keywords.In this case the keywords are class and const. You can add as many lists as you need.
Показовим прикладом є Java, де const і goto є зарезервованими словами- вони не мають значення в Java, але вони також не можуть використовуватися як ідентифікатори.
A notable example is in Java, where const and goto are reserved words- they have no meaning in Java but they also cannot be used as identifiers.
Після збільшення глибини на величину h тиск зовні збільшиться на 0. 1h, а всередині,відповідно до закону pV= const, на pΔV/(V0- ΔV), де V0- повний обсяг порожнини середнього вуха(який дорівнює сумі обсягів барабанної порожнини і повітроносних порожнин скроневої кістки), ΔV- зміна цього обсягу через різницю тисків.
After increasing the depth by an amount h, the pressure outside will increase by 0.1h, and inside,according to the law pV= const, by pΔV/(V0- ΔV), where V0 is the total volume of the cavity of the middle ear(equal to the sum of the volumes of the drum cavity and airborne cavities of the temporal bone), ΔV- change of this volume due to the difference in pressure.
Bool scheduleCommand( const QStringamp; адреса_ звукового_ файла, int гучність у відсотках, const QStringamp; Дата_ і_ час_ початку, int скасування_ запізнення, unsigned прапорці, int Тип_ повтору, int інтервал_ повтору, int кількість_ повторень).
Bool scheduleAudio(const QStringamp; audioURL, int volumePercent, const QStringamp; startDateTime, int lateCancel, unsigned flags, int recurType, int recurInterval, int recurCount).
Наступний приклад не дозволений у C++03: template<class Lhs, class Rhs> Ret adding_func(const Lhs&lhs, const Rhs&rhs) {return lhs+ rhs;} //Ret мусить бути типом lhs+rhs Тип Ret є будь-чим, у що виллється додавання типів Lhs і Rhs.
For example, in C++03 this is disallowed: template<class Lhs, class Rhs> Ret adding_func(const Lhs&lhs, const Rhs&rhs) {return lhs+ rhs;} //Ret must be the type of lhs+rhs The type Ret is whatever the addition of types Lhs and Rhs will produce.
Bool scheduleCommand( const QStringamp; рядок_ команди, const QStringamp; Дата_ і_ час_ початку, int скасування_ запізнення, unsigned прапорці, const QStringamp; повтор, int інтервал_ підповтору, int кількість_ підповторень).
Bool scheduleCommand(const QStringamp; commandLine, const QStringamp; startDateTime, int lateCancel, unsigned flags, const QStringamp; recurrence, int subRepeatInterval, int subRepeatCount).
Тепер вам здається, що цей код виглядає кострубато:ви вирішили скористатися ключовим словом const для всіх параметрів address of, у яких назві аргументу передує оператор&. Ви також бажаєте вилучити зайві пробіли так, щоб між будь- якими двома словами був лише один символ пробілу.
Now you realize that this is not nice code,and decide that you want to use the const keyword for all address of arguments, those characterized by the& operator in front of the argument name. You would also like to simplify the white space, so that there is only 1 whitespace character between each word.
Bool scheduleCommand( const QStringamp; адреса_ звукового_ файла, int гучність у відсотках, const QStringamp; Дата_ і_ час_ початку, int скасування_ запізнення, unsigned прапорці, const QStringamp; повтор, int інтервал_ підповтору, int кількість_ підповторень).
Bool scheduleAudio(const QStringamp; audioURL, int volumePercent, const QStringamp; startDateTime, int lateCancel, unsigned flags, const QStringamp; recurrence, int subRepeatInterval, int subRepeatCount).
Вираз const\\ w+\\ b(?!\\ s* amp;) відповідатиме частині const char у рядку const char* foo, але не частині const QString у рядку const QStringamp; bar, оскільки символ amp; збігається з шаблоном перевірки на відсутність збігу.
The expression const\\w+\\b(?!\\s*amp;) will match at const char in the string const char* foo while it can not match const QString in const QStringamp; bar because the amp; matches the negative lookahead assertion pattern.
Bool scheduleFile( const QStringamp; URL, const QStringamp; Дата_ і_ час_ початку, int скасування запізнення, unsigned прапорці, const QStringamp; колір_ тла, const QStringamp; адреса_ звуку, int хв_ нагадування, const QStringamp; повтор, int інтервал_ підповтору, int кількість_ підповторень).
Bool scheduleFile(const QStringamp; URL, const QStringamp; startDateTime, int lateCancel, unsigned flags, const QStringamp; bgColor, const QStringamp; audioURL, int reminderMins, const QStringamp; recurrence, int subRepeatInterval, int subRepeatCount).
Bool scheduleEmail( const QStringamp; ідентифікатор_ відправника, const QStringamp; адреси, const QStringamp; тема, const QStringamp; повідомлення, const QStringamp; долучення, const QStringamp; Дата_ і_ час_ початку, int скасування_ запізнення, unsigned прапорці, int Тип_ повтору, int інтервал_ повтору, const QStringamp; endTime).
Bool scheduleEmail(const QStringamp; fromID, const QStringamp; addresses, const QStringamp; subject, const QStringamp; message, const QStringamp; attachments, const QStringamp; startDateTime, int lateCancel, unsigned flags, int recurType, int recurInterval, const QStringamp; endTime).
Bool scheduleEmail( const QStringamp; ідентифікатор_ відправника, const QStringamp; адреси, const QStringamp; тема, const QStringamp; повідомлення, const QStringamp; долучення, const QStringamp; Дата_ і_ час_ початку, int скасування_ запізнення, unsigned прапорці, const QStringamp; повтор, int інтервал_ підповтору, int кількість_ підповторень).
Bool scheduleEmail(const QStringamp; fromID, const QStringamp; addresses, const QStringamp; subject, const QStringamp; message, const QStringamp; attachments, const QStringamp; startDateTime, int lateCancel, unsigned flags, const QStringamp; recurrence, int subRepeatInterval, int subRepeatCount).
Bool scheduleMessage( const QStringamp; повідомлення, const QStringamp; Дата_ і_ час_ початку, int скасування_ запізнення, unsigned прапорці, const QStringamp; колір_ тла, const QStringamp; колір_ тексту, const QStringamp; шрифт, const QStringamp; адреса_ звуку, int хв_ нагадування, const QStringamp; повтор, int інтервал_ підповтору, int кількість_ підповторень).
Bool scheduleMessage(const QStringamp; message, const QStringamp; startDateTime, int lateCancel, unsigned flags, const QStringamp; bgColor, const QStringamp; fgColor, const QStringamp; font, const QStringamp; audioURL, int reminderMins, const QStringamp; recurrence, int subRepeatInterval, int subRepeatCount).
ContPoint( const string &i_brNode, const string&i_lstNode, uint32_t i_brDir, uint32_t i_refPerN, const string&i_refTypeId, uint32_t i_nClassMask, uint32_t i_resMask)- конструктор об'єкту для вузла гілки продовження огляду i_brNode, вузла списку i_lstNode, напрямку огляду i_brDir, числа спроб на вузол i_refPerN, ідентифікатору посилання i_refTypeId, маски класу вузла i_nClassMask та маски результату i_resMask.
ContPoint( const string&i_brNode, const string& i lstNode, uint32 t i brDir, uint32 t i refPerN, const string& i refTypeId, uint32 t i nClassMask, uint32 t i resMask)- object of the continuation node's point i_brNode constructor, of the list node i_lstNode, of the direction browsing i_brDir, of the number of references i_refPerN to a node, of the reference identifier i_refTypeId, of the node class mask i_nClassMask and the result mask i_resMask.
Наприклад, у 1999 році було запропоновано додати const до мови Java, що була можливим за допомогою слова const, оскільки воно була зарезервованим, але наразі не використовується; Однак ця пропозиція була відхилена- зокрема, тому, що навіть незважаючи на додавання функції робота існуючих програм не буде порушеною, використовуючи const в стандартній бібліотеці( а зокрема, в колекціях) буде порушуватись сумісність.[1] JavaScript також містить ряд зарезервованих слів без особливої функціональності; точний список залежить від версії та режиму.[2].
For example, there was a proposal in 1999 to add C++-like const to the language, which was possible using the const word, since it was reserved but currently unused; however, this proposal was rejected- notably because even though adding the feature would not break any existing programs, using it in the standard library(notably in collections) would break compatibility.[7] JavaScript also contains a number of reserved words without special functionality; the exact list varies by version and mode.[8].
Результати: 29, Час: 0.0182

Найпопулярніші словникові запити

Українська - Англійська