Пора бы обновить подсветку ключевых слов
https://en.cppreference.com/w/cpp/keyword
alignas
alignof
and
and_eq
asm
auto
bitand
bitor
bool
break
case
catch
char
char8_t
char16_t
char32_t
class
compl
concept
const
consteval
constexpr
constinit
const_cast
continue
co_await
co_return
co_yield
decltype
default
delete
do
double
dynamic_cast
else
enum
explicit
export
extern
false
float
for
friend
goto
if
inline
int
long
mutable
namespace
new
noexcept
not
not_eq
nullptr
operator
or
or_eq
private
protected
public
register
reinterpret_cast
requires
return
short
signed
sizeof
static
static_assert
static_cast
struct
switch
template
this
thread_local
throw
true
try
typedef
typeid
typename
union
unsigned
using
virtual
void
volatile
wchar_t
while
xor
xor_eq
override
final
import
#if
#elif
#else
#endif
#ifdef
#ifndef
#define
#undef
#include
#line
#error
#pragma
Здравствуйте, _NN_, Вы писали:
_NN>and
_NN>and_eq
_NN>bitand
_NN>bitor
_NN>compl
_NN>not
_NN>not_eq
_NN>or
_NN>or_eq
_NN>xor
_NN>xor_eq
Кому-то они нужны?
Пока поправят движок, оно может успеть уйти вслед за триграфами.
Русский военный корабль идёт ко дну!
От:
kov_serg
Дата: 30.01.20 08:53
Оценка:
Здравствуйте, Alexander G, Вы писали:
AG>Здравствуйте, _NN_, Вы писали:
_NN>>and
_NN>>and_eq
_NN>>bitand
_NN>>bitor
_NN>>compl
_NN>>not
_NN>>not_eq
_NN>>or
_NN>>or_eq
_NN>>xor
_NN>>xor_eq
AG>Кому-то они нужны?
Кушать без них немогу.
Еще таких очень не хватает:
#define add +
#define add_eq +=
#define sub -
#define neg(x) (-x)
#define sub_eq -=
#define mul *
#define mul_eq *=
#define div /
#define div_eq /=
#define shl <<
#define shl_eq <<=
#define shr >>
#define shr_eq >>=
#define eq =
AG>Пока поправят движок, оно может успеть уйти вслед за триграфами.
Здравствуйте, kov_serg, Вы писали:
_>Еще таких очень не хватает:
_>_>#define add +
_>#define add_eq +=
_>
Предлагаю не останавливаться на достигнутом:
#define dot .
#define arrow ->
#define lcrb {
#define rcrb }
#define lsqb [
#define rsqb ]
#define tilde ~
От:
Vain
google.ru
Дата: 09.03.20 07:26
Оценка:
Здравствуйте, kov_serg, Вы писали:
AG>>Кому-то они нужны?
_>Кушать без них немогу.
_>Еще таких очень не хватает:
_>_>#define add +
_>#define add_eq +=
_>#define sub -
_>#define neg(x) (-x)
_>#define sub_eq -=
_>#define mul *
_>#define mul_eq *=
_>#define div /
_>#define div_eq /=
_>#define shl <<
_>#define shl_eq <<=
_>#define shr >>
_>#define shr_eq >>=
_>#define eq =
_>
А зачем этот изврат вообще понадобился? Чем не устроили предыдущие операторы?
[In theory there is no difference between theory and practice. In
practice there is.]
[Даю очевидные ответы на риторические вопросы]
Здравствуйте, Евгений Музыченко, Вы писали:
И ещё добавить
#define begin {
#define end }
Теперь заживём
Здравствуйте, Евгений Музыченко, Вы писали:
ЕМ>Предлагаю не останавливаться на достигнутом:
ЕМ>ЕМ>#define dot .
ЕМ>#define arrow ->
ЕМ>#define lcrb {
ЕМ>#define rcrb }
ЕМ>#define lsqb [
ЕМ>#define rsqb ]
ЕМ>#define tilde ~
ЕМ>
LF и CRLF для людей с изысканным вкусом
Ce n'est que pour vous dire ce que je vous dis.
От:
kov_serg
Дата: 09.03.20 21:36
Оценка:
Здравствуйте, Don Reba, Вы писали:
ЕМ>>Предлагаю не останавливаться на достигнутом:
ЕМ>>ЕМ>>#define dot .
ЕМ>>#define arrow ->
ЕМ>>#define lcrb {
ЕМ>>#define rcrb }
ЕМ>>#define lsqb [
ЕМ>>#define rsqb ]
ЕМ>>#define tilde ~
ЕМ>>
DR>LF и CRLF для людей с изысканным вкусом
Надо еще и триграммы вернуть.
И азбуку морзе добавить.
Здравствуйте, kov_serg, Вы писали:
_>Надо еще и триграммы вернуть.
_>И азбуку морзе добавить.
Унарные литералы: ...add..eq.....
Ce n'est que pour vous dire ce que je vous dis.
Пока на собственное сообщение не было ответов, его можно удалить.
Удалить