Location:
Search - longint
Search list
Description: 一个关于超长整数的计算的问题,希望对您有所帮助!
Platform: |
Size: 7514 |
Author: redming |
Hits:
Description: 用双向链表实现大整数相加,学习数据结构是做的实验
Platform: |
Size: 11582 |
Author: 骆驼 |
Hits:
Description: 超长整数乘法源程序-long integer multiplication source
Platform: |
Size: 2145 |
Author: 王勇 |
Hits:
Description: program VirtualMemory {$APPTYPE CONSOLE} uses SysUtils, Windows const PageSize = 4096 //定义页面大小 var VmAddress, CommitAddress: Pointer //存放虚拟内存基址 Text: Pchar begin //保留二页虚拟内存 VmAddress := VirtualAlloc(nil, PageSize * 2, MEM_RESERVE, PAGE_READWRITE) if not Assigned(VmAddress) then begin WriteLn( 保留虚拟内存失败! ) ExitProcess(0) end else WriteLn(Format( 保留虚拟内存成功, 基址为:[%8.8x]! , [Longint(VmAddress)])) //提交第二页虚拟内存 CommitAddress := Pointer(Longint(VmAddress) + PageSize) CommitAddress := VirtualAlloc(CommitAddress, PageSize, MEM_COMMIT, PAGE_READWRITE) if not Assigne-program VirtualMemory ($ APPTYPE CONSOLE) uses SysUtils, Windows const PageSize = 4096 / / definition pages size var VmAddress, CommitAddress : Pointer / / virtual memory-based storage site Text : Pchar begin / / reservations two virtual memory VmAddress : = VirtualAlloc (nil. PageSize * 2, MEM_RESERVE, PAGE_READWRITE) if not Assigned (VmAddress) then begin WriteLn (reservations virtual memory failure!) ExitProcess (0) end else WriteLn (Format (virtual memory retention success, sites : [% 8.8x ]! [Longint (VmAddress)])) / / to the second page virtual memory CommitAddress : = Pointer (Longint (VmAddress) PageSize) CommitAddress : = VirtualAlloc (CommitAddress, PageSize, MEM_COMMIT, PAGE_READWRITE) if not Assigne
Platform: |
Size: 23590 |
Author: 黄春标 |
Hits:
Description: 超长整数乘法源程序-long integer multiplication source
Platform: |
Size: 2048 |
Author: 王勇 |
Hits:
Description: program VirtualMemory {$APPTYPE CONSOLE} uses SysUtils, Windows const PageSize = 4096 //定义页面大小 var VmAddress, CommitAddress: Pointer //存放虚拟内存基址 Text: Pchar begin //保留二页虚拟内存 VmAddress := VirtualAlloc(nil, PageSize * 2, MEM_RESERVE, PAGE_READWRITE) if not Assigned(VmAddress) then begin WriteLn( 保留虚拟内存失败! ) ExitProcess(0) end else WriteLn(Format( 保留虚拟内存成功, 基址为:[%8.8x]! , [Longint(VmAddress)])) //提交第二页虚拟内存 CommitAddress := Pointer(Longint(VmAddress) + PageSize) CommitAddress := VirtualAlloc(CommitAddress, PageSize, MEM_COMMIT, PAGE_READWRITE) if not Assigne-program VirtualMemory ($ APPTYPE CONSOLE) uses SysUtils, Windows const PageSize = 4096// definition pages size var VmAddress, CommitAddress : Pointer// virtual memory-based storage site Text : Pchar begin// reservations two virtual memory VmAddress : = VirtualAlloc (nil. PageSize* 2, MEM_RESERVE, PAGE_READWRITE) if not Assigned (VmAddress) then begin WriteLn (reservations virtual memory failure!) ExitProcess (0) end else WriteLn (Format (virtual memory retention success, sites : [% 8.8x ]! [Longint (VmAddress)]))// to the second page virtual memory CommitAddress : = Pointer (Longint (VmAddress) PageSize) CommitAddress : = VirtualAlloc (CommitAddress, PageSize, MEM_COMMIT, PAGE_READWRITE) if not Assigne
Platform: |
Size: 23552 |
Author: 黄春标 |
Hits:
Description: 一个关于超长整数的计算的问题,希望对您有所帮助!-On the calculation of long integer problems in the hope of your help!
Platform: |
Size: 122880 |
Author: redming |
Hits:
Description: 用双向链表实现大整数相加,学习数据结构是做的实验-Realize two-way linked list with the sum of large integers, learning data structures is to do experiments
Platform: |
Size: 264192 |
Author: 骆驼 |
Hits:
Description: Add the ISampleGrabberCB to the main class of your app:
TForm1 = class(TForm, ISampleGrabberCB)
You have to create the following in your main class:
Private
FSampleGrabber : IBaseFilter
m_SampleGrabber: ISampleGrabber
function SampleCB(SampleTime: Double pSample: IMediaSample): HResult stdcall
function BufferCB(SampleTime: Double pBuffer: PByte BufferLen: longint): HResult stdcall
.. etc
end
function TForm1.SampleCB(SampleTime: Double pSample: IMediaSample): HResult
begin
Result := E_NOTIMPL
end
-Add the ISampleGrabberCB to the main class of your app:
TForm1 = class(TForm, ISampleGrabberCB)
You have to create the following in your main class:
Private
FSampleGrabber : IBaseFilter
m_SampleGrabber: ISampleGrabber
function SampleCB(SampleTime: Double pSample: IMediaSample): HResult stdcall
function BufferCB(SampleTime: Double pBuffer: PByte BufferLen: longint): HResult stdcall
.. etc
end
function TForm1.SampleCB(SampleTime: Double pSample: IMediaSample): HResult
begin
Result := E_NOTIMPL
end
Platform: |
Size: 1024 |
Author: Manria |
Hits:
Description: 含有128位的长整形类的文件 可实现基本的对于长整型数据的处理 内置重载-128-bit long integer containing the class file implements the basic data processing for long integer built-in overload
Platform: |
Size: 846848 |
Author: qybshuai |
Hits:
Description: 使用longint每31位进行高精度加发运算-Use longint each an extra 31-bit high-precision operation
Platform: |
Size: 1024 |
Author: 张永辉 |
Hits:
Description: 本c程序实现长整数四则运算,老师给的模板,绝对可用-Long Integer Arithmetic, the teacher to the template, absolutely free
Platform: |
Size: 60416 |
Author: Sam |
Hits:
Description: 这个程序用于长整数的乘法计算,用链表实现,对于刚刚学习链表的朋友可以有所帮助!-This program is made for multiplication by long integer,it s good for some friend who learn chain arithmetic for a short time!
Platform: |
Size: 363520 |
Author: 王东东 |
Hits:
Description: Pascal Script 3
http://www.2ccc.com/article.asp?articleid=1029
SynEdit v1.1
http://www.2ccc.com/article.asp?articleid=604
以上组件包安装完毕以后再安装Components目录下的组件,此时提示未声明Run错误,根据提示我们重新编译SynEdit包,修改SynHighlighterPas单元的私有变量Run: LongInt 转移到保护变量,这样在重新编译Components目录下的组件应该就OK了。
(注,可能不用安装SynEdit也OK,好像Components目录下的组件已经包含了简化的此组件,不过我没有测试。)
打开ISCmplr.dpr编译生成ISCmplr.dll文件,最后打开Compil32.dpr编译完成!
-Pascal Script 3 http://www.2ccc.com/article.asp?articleid=1029 SynEdit v1.1 http://www.2ccc.com/article.asp?articleid=604 these components installed after you install package Components directory component, then prompted not declared Run error, prompted us to re-compile SynEdit package, modify the unit' s private variables SynHighlighterPas Run: LongInt move to protect the variable so that recompiling Components directory components should be on OK. (Note, may not have to install SynEdit also OK, if Components directory contains the components have been simplified for this component, but I have not tested.) Open ISCmplr.dpr compiler generates ISCmplr.dll file, the last open Compil32.dpr compile complete !
Platform: |
Size: 848896 |
Author: lakeslsafh56 |
Hits:
Description: 输入任意长度的两个整数相乘可以得到准确结果-Enter two integers of any length can be accurately multiplying the result
Platform: |
Size: 2048 |
Author: shoucql |
Hits:
Description: hook function
procedure HookWindow(hWnd: HWND)
var
Item: PItem
begin
if FindWindowProc(hWnd, HandleList) = nil then
begin
GetMem(Item,Sizeof(TItem))
Item.hWnd:= hWnd
Item.Next:= HandleList
Item.WndProc:= Pointer(SetWindowLong(hWnd,GWL_WNDPROC,LongInt(@WindowProc)))
HandleList:= Item
end
end -hook function
procedure HookWindow(hWnd: HWND)
var
Item: PItem
begin
if FindWindowProc(hWnd, HandleList) = nil then
begin
GetMem(Item,Sizeof(TItem))
Item.hWnd:= hWnd
Item.Next:= HandleList
Item.WndProc:= Pointer(SetWindowLong(hWnd,GWL_WNDPROC,LongInt(@WindowProc)))
HandleList:= Item
end
end
Platform: |
Size: 9216 |
Author: xax2 |
Hits:
Description: 长整数的加减,能够实现长整数的加和减,如:
-32423 4+3562435324-Long integer addition and subtraction, can achieve long-integer addition and subtraction, such as:-324 234 234+3562435324
Platform: |
Size: 2048 |
Author: qianlei |
Hits:
Description: 用C语言实现的长整数的四则运算,包括加法,减法等,数据结构设计的实验课题。-Using C language long integer arithmetic, including addition, subtraction, etc., data structure design of the experimental subjects.
Platform: |
Size: 12288 |
Author: 郭晓琳 |
Hits:
Description: 超出longint的长整型类型的简单运算-longint
Platform: |
Size: 5120 |
Author: Kevin |
Hits:
Description: 1.程序分析:
2.程序源代码:
#include "stdio.h"
#include "conio.h"
#include "time.h"
void main()
{
time_t lt /*define a longint time varible*/
lt=time(NULL) /*system time and date*/
printf(ctime(<)) /*english format output*/
printf(asctime(localtime(<))) /*tranfer to tm*/
printf(asctime(gmtime(<))) /*tranfer to Greenwich time*/
getch()
}
-shi jiancheng xumiao shu
Platform: |
Size: 3072 |
Author: zhenxinjian |
Hits: