代码搜索:cannot
找到约 7,468 项符合「cannot」的源代码
代码结果 7,468
www.eeworm.com/read/395456/8172698
lua readonly.lua
-- make global variables readonly
local f=function (t,i) error("cannot redefine global variable `"..i.."'",2) end
local g={}
local G=getfenv()
setmetatable(g,{__index=G,__newindex=f})
setfenv(1,g)
-
www.eeworm.com/read/194937/8183573
cpp sin_flt.cpp
#include
#include
#include
#include
void sine(double f,double ph,double fs,double x[],int n)
{
double PI;
int k;
PI=4*atan(1.0);
f=2*PI*f/fs;
p
www.eeworm.com/read/294868/8197061
c saveload.c
#ifndef _SAVELOAD_
#define_SAVELOAD_
void saveFile()
{
FILE *fp;
int i;
if((fp=fopen("booking.dat","wb"))==NULL)
{
printf("cannot open file\n");
return;
}
fwrite(&lengt
www.eeworm.com/read/395034/8198488
cpp lt02.cpp
/*下面程序在除法操作不能进行时显示一条错误信息*/
#include
void fn(int a,int b)
{
if(b==0)
cerr
www.eeworm.com/read/394472/8222679
c kbd.c
#include
#include
#include
#include
int main(int argc, char **argv)
{
int fd;
if ((fd = open("/dev/Kbd7279",0)) < 0)
{
printf("cannot open /dev/
www.eeworm.com/read/294345/8239569
cpp 13.1.cpp
#include
main()
{
FILE*fp;
char ch,filename[10];
scanf("%s",filename);
if((fp=fopen(filename,"w+"))==NULL)
printf("cannot open file!\n");
ch=getchar();
ch=getchar();
while(
www.eeworm.com/read/294065/8255825
lst chap13.lst
listing 1
/* Copy one file to another. */
#include
#include
int main(int argc, char *argv[])
{
FILE *in, *out;
char ch;
if(argc!=3) {
printf("You forgot to
www.eeworm.com/read/393871/8257595
m exaktsiso_code.m
% NelinSys - a program tool for analysis and synthesis of nonlinear control systems
% based on MATLAB/Simulink 5.2
%
% (C) 2002-2005, Martin Ondera (eskimo@pobox.sk) (Martin.Ondera@stuba
www.eeworm.com/read/393449/8287046
c clt.c
#include
#include
#include
#include
#include
#include
#include
int main(int argc, char *argv[])
{
int sock,