1:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before string constant
INPUT"x=";x
^
1:11: error: unknown type name ‘x’
INPUT"x=";x
^
3:1: error: expected ‘,’ or ‘;’ before ‘PRINT’
PRINT"y=";y=x^2+x^3-x
^
3:11: warning: data definition has no type or storage class
PRINT"y=";y=x^2+x^3-x
^
......................
阅读全部
|
小臧
贴于 2019年4月29日 11:43
hide
bbsi
clear all;close all;clc
mu=0.00004;
lamuta1=0.2;
lamuta2=0.9;
h1=0;
h2=0.5;
h12=h2-h1;
hs=(h2*h2-h1*h1)/2;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
k11=-0.932;
k22=-0.231;
I6=eye(6);
......................
阅读全部
|
Near_L
贴于 2019年4月21日 17:39
hide
bbsi
#include<stdlib.h>
#include<stdio.h>
#define Maxsize 20
void menu(){
printf("------------------------\n");
printf("输入0初始化线性表:\n");
printf("输入1给线性表赋值:\n");
printf("输入2输出线性表元素:\n");
printf("输入3查询线性表某一元素:\n");
printf("输入4插入元素至线性表:\n");
printf("输入5删除线性表中某一元素:\n");
printf("输入6清空线性表:\n");
......................
阅读全部
|
biutt
贴于 2019年4月17日 14:10
hide
bbsi
Private Sub Command_Click()
End Sub
Dim x As Lnteger, y As Integer, z As Integer
Dim x_max As Integer, y_max As Integer, z_max As Integer
Dim f(4, 3, 8) As Single '?????????f??x,y,z)???????f
Dim f_max As Single
'??????????? ??1??1????x,y,z????f(1,1)??x,y,z????f(x,y,z)=4x+3y+2z?????
For x = 0 To 4
For y = 0 To 3
For z = 0 To 8
If (2 * x + 2 * y + z <= 12) And (x + 2 * y + z <= 8) Then
......................
阅读全部
|
x211504874
贴于 2019年3月23日 21:16
hide
bbsi
/*
* Copyright (c) 1999 - 2005 NetGroup, Politecnico di Torino (Italy)
* Copyright (c) 2005 - 2006 CACE Technologies, Davis (California)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
......................
阅读全部
|
Administraor
贴于 2019年3月23日 20:25
hide
bbsi
/*
* Copyright (c) 1999 - 2005 NetGroup, Politecnico di Torino (Italy)
* Copyright (c) 2005 - 2006 CACE Technologies, Davis (California)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
......................
阅读全部
|
Administraor
贴于 2019年3月23日 19:56
hide
bbsi
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#define MAX 100
typedef char ElemType;
//定义栈结构体
struct stack
{
ElemType elem[MAX];
int top;//顶部下标
};
//初始化栈
......................
阅读全部
|
麦子po
贴于 2019年3月19日 19:30
hide
bbsi
#include<stdio.h>
int main(){
char a=0;
int b=0;
while(++a>0);
printf("有有符号的char最大整数是%d\n",a-1);//为什么输出谁-129,不是127.
while(++b>0);
printf("有符号的int最大整数是%d\n",b-1);
char d=127;
d=d+1;
printf("%d\n",d);
d=d-1;
......................
阅读全部
|
堕落之地
贴于 2019年3月11日 15:11
hide
bbsi
/**
* @Title:getPayparams
* @Description:根据支付方式获取相应的支付参数
* @param orderMain
* @param payType
* @param request
* @return
* @throws Exception Result<Map<String,Object>> 返回类型
*/
public Result<Map<String, Object>> getPayparams(OrderMain orderMain, String payType, HttpServletRequest request) throws Exception{
Result<Map<String, Object>> result = new Result<Map<String, Object>>();
switch (payType) {
......................
阅读全部
|
glj188350035
贴于 2019年3月4日 11:44
hide
bbsi