且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

技术问答

   我没有问题实现内存映射文件。问题是。假设这返回有效的内存视图。Ihavenoproblemsimplementingthememorymappedfile.Thequestionis.Assumingthisreturnsavalidmemoryview.void*pBuf=MapViewOfFil......

   我必须使用这种格式获得今天的日期{Date:2013-09-11T14:47:57.8895887+02:00}。这是因为我的Json服务被研究WindowsPhone和C#代码。IhavetogetatodayDatewiththisformat{"Date":"2013-09-11T14:47:......

   [看来我的解释和期望都不是很清楚,所以我在帖子末尾添加了我希望如何使用该功能的精确性][Itseemsmyexplanationsandexpectationsarenotclearatall,soIaddedprecisiononhowI'dliketousethefeatureattheendo......

   CButton是否有类似的类似类/库:使用UITypeEditors(VB.NET)进行丰富的设计时编辑[^]谢谢谢谢您的回答,所以我决定在C#WPF中执行此操作,但一个问题是,我如何在VB中使用,如在其中使用DimColorHoover=数字.要使鼠标处于打开状态,按钮的颜色只是明亮而不是其默认的......

   我正在尝试运行以下程序,但遇到一些奇怪的错误:Iamtryingtorunthefollowingprogrambutgettingsomestrangeerrors:文件1.c:typedefunsignedlong(*FN_GET_VAL)(void);FN_GET_VALgfnPtr;void......

   只是想知道这样铸造是否安全:Justwonderingifit'ssafetocastlikethis:char**cpp;//...allocationandwhatnotvoid*vp=(void*)cpp;//...cpp=(char**)vp;应该使用void**还是void*可以吗?这可以......

   我感觉好像我实际上并没有删除节点并释放内存.我想我只是在移动指针,所以当我打印链表时,列表不会打印我删除的元素.所以我的问题是我实际上是删除节点还是我只是简单地重新排列指针,所以看起来我正在删除节点(基本上只是断开链接而不是删除节点)?感谢您的帮助.IfeelasifIamnotactuallyde......

   我使用HDF5库从c++中的HDF5文件读取数据,我遇到的问题是以下:IamusinganHDF5librarytoreaddatafromanHDF5fileinc++andthecallIamhavingproblemswithisthefollowing:status=H5Dread(hdf5......

   在最近Slashdot采访LinusTorvalds公司给了一些人如何,表明他们并不真正了解如何正确使用它们的方式使用指针的例子。InarecentSlashdotInterviewLinusTorvaldsgaveanexampleofhowsomepeopleusepointersinawayt......

   我正在尝试生成pthread并发送一个整数作为参数,但是在将参数转换为void时出现以下错误.我试图删除(void*)并使转换隐式,但我仍然遇到相同的错误IamtryingtospawnpthreadsandsendanintegerastheargumentbutIamgettingthefoll......

   我有一些麻烦,在C.指针和数组这里是code:I'mhavingsometroublewithpointersandarraysinC.Here'sthecode:#include<stdio.h>int*ap;inta[5]={41,42,43,44,45};intx;intmain(......

   我正在处理的代码有一个函数,它有一个void类型的双指针,在函数指针中,双指针被类型转换为void,并且该指针没有在其他任何地方使用.我找不到任何为什么这样做的地方.有人请说明一下.ThecodeI'mworkingonhasafunctionwhichhasadoublepointeroftype......

   我的工作是应该通过命令行中使用下面的语法项目:I'mworkingonaprojectthatissupposedtobeusedfromthecommandlinewiththefollowingsyntax:program-nameinput-file该计划应该处理输入,计算一些东西吐出结果在标......

   我想在没有任何声音的情况下使用AVfoundation获取图像(是的,我记住,用户选择将实现此功能)IwanttotaketheimageusingAVfoundationwithoutanysound(yes,Ihavekeptinmind,userchoicewillimplementthisf......

    当我单击浏览器上的任何链接时,该浏览器上的视频开始播放并发出声音 ,我想静音而不是系统静音. 请帮忙. When i click on any link on browser video on that browser starts playing and sounding ,i want to mute that sound and not of system. please help. Thanks! ...

   我正在为幼儿制作一个学习字母的应用程序,但在声音输出方面遇到了问题.在ipad上进行测试时,应用播放的每种声音都具有相同的音量,无论设备的声音设置为最大还是静音.换句话说,无论设备的音量设置如何,都会发出相同的声音.Iammakingalearn-the-alphabetappfortoddlers......

    有人知道将数据uri设置为有效的无声声音的方法吗?我真的很想知道是否有类似的东西存在!谢谢. Does anyone know of a way to set a data uri to a valid silent sound? I'd be really curious to see if anything exists like that! Thank you. ...

   我正在使用带有AVCamCaptureManger的AppleAVCam代码来捕捉静止图像。我没有向用户显示任何摄像机视图,图像只是在幕后自动拍摄而无需用户参与。但是,当我打电话给[captureMangercaptureStillImage]时,它仍会播放快门声音,我不想让它播放快门声。I'mus......

   我正在使用ARKit功能以及最新的主要iOS发布,但出现错误failedassertionI'mworkingwithARKitFeature,withrecentmajoriOSrelease,butI'mgettingacrashwitherrorfailedassertionMTLRender......

    我正在尝试释放UIWebView对象,但它没有释放内存。 是否有任何原因? i'm trying to release UIWebView object but it not free memory. is it have any reason? ...