C 练习实例50
C 语言教程
· 2019-02-22 06:29:23
题目:#include 的应用练习。
程序分析:无。
程序源代码:
test.h 文件代码如下:
#define LAG > #define SMA < #define EQ ==
主文件代码:
// Created by www.codercto.com on 15/11/9.
// Copyright © 2015年 码农教程. All rights reserved.
//
#include "test.h"
#include <stdio.h>
int main()
{
int i=10;
int j=20;
if(i LAG j)
printf("%d 大于 %d \n",i,j);
else if(i EQ j)
printf("%d 等于 %d \n",i,j);
else if(i SMA j)
printf("%d 小于 %d \n",i,j);
else
printf("没有值。\n");
return 0;
}
以上实例输出结果为:
10 小于 20
点击查看所有 C 语言教程 文章: https://codercto.com/courses/l/17.html
Java Concurrency in Practice
Brian Goetz、Tim Peierls、Joshua Bloch、Joseph Bowbeer、David Holmes、Doug Lea / Addison-Wesley Professional / 2006-5-19 / USD 59.99
This book covers: Basic concepts of concurrency and thread safety Techniques for building and composing thread-safe classes Using the concurrency building blocks in java.util.concurrent Pe......一起来看看 《Java Concurrency in Practice》 这本书的介绍吧!