腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
Int
类型
转换
haskell
、
types
、
type-conversion
1)如何将
Int
类型
转换
为Num
类型
?let valueLength = (fromIntegral(tagLength) ::
Int
64) 其中,tagLength的
类型</e
浏览 0
提问于2013-03-17
得票数 6
回答已采纳
1
回答
将
类型
int
(C::*)(
int
,char)
转换
为
int
(
int
,char)
类型
c++
、
templates
、
c++11
、
bind
、
member-function-pointers
我有一门课:
int
F(
int
, char) { return 0; }我还需要创建一个std::function,它将调用变量c的C::F函数std::function<
int
(
int
, char)> f;f = std::bind(&C::F, &c, _1, _2);.
浏览 0
提问于2013-04-26
得票数 2
回答已采纳
1
回答
从(type *
int
)到
int
类型
的
类型
转换
pointers
、
int
、
type-conversion
、
go
我想在GO语言中将指针*
int
转换
为它的实际值
int
。 你是怎么做到的?
浏览 1
提问于2012-06-18
得票数 1
回答已采纳
2
回答
不能将
类型
'
int
‘
转换
为'
int
[]’
c#
、
visual-studio
我在代码中定义了一个数组,例如:我得到了错误: 不能将
类型
'
int
‘
转换
为'
int
[]'
浏览 1
提问于2020-11-23
得票数 0
回答已采纳
2
回答
隐式
转换
类型
'
int
?‘到“
int
”
json
、
entity-framework
、
linq
、
webmethod
}]try var data = new Datas1().spsumdata().Select(s => new { name = s.Month, data = new
int
Newtonsoft.Json.JsonConvert.SerializeObject(data);catch(Exception) throw new Exception();但这表明了一个错误: 不能隐式
转换
类型
'
int
?‘到“
int
”。存在显式
转换
浏览 1
提问于2016-08-03
得票数 1
回答已采纳
2
回答
常量的
int
*
类型
转换
c
、
pointers
#include <stdio.h>
int
*i,*j; j = (
int
*) 20; printf("%d\n", i - j)
浏览 2
提问于2012-09-01
得票数 0
2
回答
int
指针
类型
转换
失败
c
、
pointers
、
malloc
#include <stdlib.h>
int
*a = malloc(sizeof(
int
)); return 0;编译错误为错误C2440‘初始化’:无法从'void *‘
转换
为'
int
*’
int
*a = (
int
*) malloc(sizeof(
int
)); 使编译成为可能。为什么需要显式
类型</em
浏览 9
提问于2017-08-21
得票数 0
回答已采纳
1
回答
Char to
int
类型
转换
失败
c
我有下面的一小段代码,其中我将一个整数
转换
为一个字符。然后,我将它
转换
回一个
int
类型
。预期结果:整数是138发生了什么:整数是-118
int
a = 138;printf("%d", arr[0]);这只会发生在一些整数值上。直到127的所有值似乎都工作得很好。
浏览 15
提问于2020-05-05
得票数 0
回答已采纳
2
回答
Enum
类型
转换
为
int
java
、
android
、
eclipse
AccountType { kAccountTypeAssetFixed(0x1010), private AccountType(
int
value) this.value = value; {
浏览 1
提问于2012-02-03
得票数 0
回答已采纳
4
回答
不能隐式
转换
类型
'
int
?‘到“
int
”
linq
在这个查询中,我有3个记录(
int
-(telefon = d.telefon)、十进制-(pesel= d.pesel)、十进制-(nip= d.nip)) --另一个记录是字符串。adres_zamieszkania = d.adres_zamieszkania}).ToList(); return View();我有个错误: 不能隐式
转换
类型
'
int
?‘到“
int
”。存在显式
转换
(是否缺少强制
浏览 3
提问于2011-11-08
得票数 20
回答已采纳
1
回答
将原始
类型
转换
为
int
类型
java
在对小于
int
的原始
类型
执行逐位操作时,它们被提升为
int
,并且在操作之后它们被
转换
回其本机
类型
。 为什么我们不能简单地对本机
类型
进行操作呢?
浏览 3
提问于2013-06-22
得票数 1
回答已采纳
5
回答
如何将
int
[]
类型
转换
为
int
?[]
c#
、
linq
、
extension-methods
、
ienumerable
、
nullable
我使用一个linq查询输出一个
int
数组。但是我需要将它传递给一个只接受
int
?[]的方法。 .Where(x => !) .Select(x => Convert.T
浏览 0
提问于2015-12-07
得票数 3
回答已采纳
3
回答
将
Int
类型
转换
为Byte
类型
c#
、
types
、
type-conversion
每次移位后,我想取
int
值并将其
转换
为一个字节:{ byte ShiftBitByte
浏览 3
提问于2014-01-28
得票数 2
回答已采纳
1
回答
C/C++
类型
转换
将
int
**
转换
为const
int
**
c++
、
casting
、
compiler-errors
、
int
、
type-conversion
int
** ptr; // memory pointed by ptr is initialized to its content.ptrConst =ptr // Now I want to convert it type of const
int
** 它给出了编译错误,
转换
丢失了限定符。
浏览 0
提问于2016-01-27
得票数 0
5
回答
将"C#友好
类型
“名称
转换
为实际
类型
:"
int
”=>
类型
(
Int
)
c#
、
.net
、
reflection
、
types
我希望获得一个System.Type,string指定(原语)
类型
的C#友好名称,基本上是C#编译器在读取C#源代码时所做的工作。 GetFriendlyName( "
int
[]" ).Should().Be( typeof(
int
[]) ); GetFriendlyName( "
int
[,
浏览 21
提问于2013-06-07
得票数 13
回答已采纳
1
回答
将List<
int
[]>
转换
为ICollection<
int
,
int
[]>
类型
的对象
c#
、
asp.net-mvc
、
linq
、
many-to-many
由于存在多对多关系,我现在需要将数组更改为:值如下:{AssetId: 1,CourseId: 2}{AssetId: 1,CourseId: 3}{AssetId: 1,CourseId: 4}{AssetId: 2,CourseId: 3}{AssetId: 2,CourseId: 4}ICollection<
int
,
int
[]> 我被困住了,任何帮助,
浏览 0
提问于2013-02-18
得票数 0
回答已采纳
4
回答
错误:不兼容
类型
:
int
[][]不能
转换
为
int
java
、
arrays
.*;
int
[][]c=new
int
[a.length][b[1].length]; for(
int
j=0;j<a[i].[][]a){ for(
int</
浏览 0
提问于2018-08-10
得票数 0
回答已采纳
2
回答
无法将
类型
'
int
?[]‘隐式
转换
为'
int
[]
c#
、
.net
num = null; }
int
?foundACContours.Count, foundFNContours.Count, foundBlurContours.Count, foundFilteredContours.Count };“无法将
类型
'
int
?[]‘隐式
转换<
浏览 0
提问于2012-11-01
得票数 2
回答已采纳
2
回答
Java不兼容
类型
:
int
不能
转换
为
int
[]
java
class Solution { target = 100;
int
sum; for (j = 0; j > 3; j++) {我一直收到以下两个错误: incompatible types:
int
c
浏览 1
提问于2020-02-26
得票数 1
回答已采纳
4
回答
类型
不匹配:无法从
int
转换
为
int
[]
java
、
arrays
、
eclipse
、
random
然而,我得到一个错误,无法从
int
转换
为
int
[]。我已经读了其他几个有相同问题的问题,似乎没有一个问题对我有帮助。我可以不理解他们,但我仍然无法解决这个问题。谢谢你,D{ { 58, 59, 60 } }; Random randomNumbers = new Ra
浏览 5
提问于2011-11-13
得票数 1
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
即时通信 IM
活动推荐
运营活动
广告
关闭
领券