首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看全站
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>圆角</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />    
  <meta name="generator" content="editplus" />  
  <meta name="author" content="cjx" />  
  <meta name="keywords" content="" />  
  <meta name="description" content="" />  
  <style type="text/css"> 
  .font{
......................
阅读全部 | 梦醒幻睡 贴于 2012年11月27日 17:23     hide bbsi
#include <stdio.h>
int main(void)
{    
    printf("\n是否登录QQ?");
    char a='0';
    there:printf("(Y or N ?)");
    scanf("%s",&a);     //为何选择scanf("%c",&a);会输出冗余重复的提示 ? 
    switch(a)
    {
    case 'y':case 'Y':
        printf("\n正在启动腾讯QQ登录界面,请稍候......\a\a\n");
        /*......\a的作用是让蜂鸣器发出声响......*/
......................
阅读全部 | LLC86 贴于 2012年11月27日 11:28     hide bbsi
console.writlen("和哈哈哈哈");
阅读全部 | 秀wx 贴于 2012年11月26日 15:39     hide bbsi
console.writlen
阅读全部 | 秀wx 贴于 2012年11月26日 15:38     hide bbsi
#include "stdio.h"
#include "math.h"
void main()
{
    int a[10],n,i=0,j=0,k=0;
    printf("请输入一个数:");
    scanf("%d",&n);
    while(n!=0)
    {  
        a[i++]=n%10;
        n/=10;
    } 
......................
阅读全部 | 如此自肆 贴于 2012年11月25日 12:15     hide bbsi
我写的这个代码有点问题,求大神指教啊,编译能通过,但是结果不对。。
#include<stdio.h>
#include<stdlib.h>
#include<malloc.h>



typedef struct LNode
{
    char data;
    struct LNode *next;
}LNode,*Linklist;
......................
阅读全部 | cl875821804 贴于 2012年11月24日 12:03     hide bbsi
#include <iostream>
using namespace std;
float max=0, min=0;
float average(float array[],int n)
{
    int i;
    float aver, sum=array[0];
    max=min=array[0];
    for (i=1; i<n; i++)
        {
        if(array[i]>max)max=array[i];
        else if(array[i]<min)min=array[i];
......................
阅读全部 | 火星星 贴于 2012年11月23日 22:51     hide bbsi
#include <iostream>
using namespace std;
float max=0, min=0;
float average(float array[],int n)
{
    int i;
    float aver, sum=array[0];
    max=min=array[0];
    for (i=1; i<n; i++)
        {
        if(array[i]>max)max=array[i];
        else if(array[i]<min)min=array[i];
......................
阅读全部 | 记忆空白 贴于 2012年11月21日 22:28     hide bbsi
#include <stdio.h>

int main()
{
    printf("hello vim!");
    return 0;
}
阅读全部 | gamcat 贴于 2012年11月20日 22:59     hide bbsi
#include "stdafx.h"


#include <stdio.h>
#include <stdlib.h>
#define maxsize 100


typedef struct
{
    char data[maxsize];
    int len;
......................
阅读全部 | 不要抢我名字 贴于 2012年11月18日 21:40     hide bbsi
上一页 282 283 284 285 286 287 288 289 290 291 下一页