标签[operators]

运算符是几乎所有编程和编码语言中都会出现的符号,用于对数据执行计算和比较。

0
0回复
05

公式Sass/Scssquidonneunmauvaisrésultat

I have a problem with a sass formula, the formula passes, but does not give the right result.我有一个 sass 公式的问题,公式通过了,但没有给出正确的结果。@for $i from 0 through 9
-4
2回复
59

最简单的C运算符的问题

Can someone explain how this operation works?有人可以解释这个操作是如何工作的吗?#include <stdio.h>int main(){ int a = 5; int b, c; c = (a = 3) + (b = a
2
2回复
68

为什么>运算符不能正常工作?[复制]

This question already has answers here : 这个问题在这里已经有了答案: Is floating point math broken? 浮点数学坏了吗? (
0
1回复
24

为什么我的IF语句和OR运算符没有给我预期的输出?

I'm actually not sure what is wrong here, but the code just doesn't give me what I want.我实际上不确定这里出了什么问题,但是代码没有给我我想要的。 Technically, what I want it to d
4
2回复
117

MongoDB:使用数学运算符搜索文本字段

This bounty has ended . 这个赏金已经结束。 Answers to this question are eligible for a +100 reputation
0
1回复
37

C和Python的按位非运算符不同吗?

Bitwise not operator: Returns one's compliment of the number in Python .按位非运算符:返回Python 中数字的补码。 In C, bitwise not operator just flips the bits.在 C 中,按
2
1回复
39

精益中有前缀符号吗?

In Haskell I can use parentheses to convert an infix operator like + into a prefix function so (+) 2 3 is the same as 2 + 3 .在 Haskell 中,我可以使用括号将+等中缀运
1
1回复
96

C++“[]”运算符

I recently read this question, and on searching a bit I found that for vectors(any many more containers) [ ] operator in c++ actually returns referenc
0
1回复
55

带有多个间隔的Javascript中的if/else语句

I am having trouble creating an if/else statement with multiple variables which must match some threshold values and numerical intervals.我在创建具有多个变量的 i
0
1回复
41

PowerShell&Get-Aduser-in,-contains操作符没有得到正确的结果作为-match操作符

I don't know why the -in and -contains operator couldn't get the same correct result as -match operator.我不知道为什么 -in 和 -contains 运算符无法获得与 -match 运算符相同的
1
1回复
27

为什么JavaScript忽略HTML
尝试将其与运算符OR的结果连接时的标签?

Sorry for the question, I wasn't sure how to ask it.抱歉问这个问题,我不知道该怎么问。 Basically I'm practicing JavaScript using logic operators.基本上我正在使用逻辑运算符练习 JavaSc
0
2回复
28

我的代码有什么问题。我没有得到所需的输出。在其中一个在线编译器中执行此代码时,它没有提供所需的输出

#include<stdio.h>int main(){ int age; printf("enter your age:"); scanf("%d",&age); if(age>=18 || age<=70){ prin
-1
1回复
26

操作员!!在Javascript中(角度)[重复]

This question already has answers here : 这个问题在这里已经有了答案: What is the !! 是什么 !! (not not) operator
0
0回复
38

如何使用python编写比较查询?

I want to write a simple query for a project that uses dash Plotly Dash .我想为使用 dash Plotly Dash的项目编写一个简单的查询。 My Scenario is like a calculator.我的场景就像一个
0
0回复
26

Solidity++运算符未按预期分配

Sorry to completely rewrite this post, but I was way off on my troubleshooting.很抱歉完全重写这篇文章,但我的故障排除还很遥远。 Hopefully this prevents someone's headache in
0
3回复
80

python'and'运算符和'else'块[关闭]

Closed. 关闭。 This question needs debugging details . 这个问题需要调试细节。 It is not currently accepting answers.
0
1回复
20

无法使用“expr2”=输入字符串调用“operator-”。参数应该是类型:constinteger;

My code:我的代码:// © Crystal_Catalyst//@version=4strategy("My Script")period = input("1", title="Period")fees = input(".0025", title="Fees")var price=clo
0
2回复
43

Java算术运算中的文字假设

How does one explain the syntax error for the following code:如何解释以下代码的语法错误: long x = 10;长 x = 10; int y = 2 * x; int y = 2 * x; I was taught literals
0
0回复
18

Optuna:如何在研究中建议函数和运算符?

Given a data frame with 4 columns x1 - x3 , i want to write a function to approximate the final column true .给定一个包含 4 列x1 - x3的数据框,我想编写一个函数来近似最后一列true
0
1回复
36

不断收到此错误main.cpp:9:91:error:nomatchfor'operator<<'(operandtypesare'std::basic_ostre

Sorry in advance if this is lengthy.如果这很长,请提前抱歉。 the problem is within line 9. (where the 2nd cout is.) apparently, but i'm new to this so I can't ide

1 2 3 4 5 6 7 8 9 10 下一页