print "hello world"
来源:互联网 发布:mac retina 13寸壁纸 编辑:程序博客网 时间:2024/05/17 12:02
print_str.h
#ifndef __PRINT_STR_H__#define __PRINT_STR_H__void print_string(char *str);#endif //__PRINT_STR_H__
print_str.c
#include <stdio.h>#include "print_str.h"void print_str(char *str){printf("%s\n", str);}
helloworld.c
#include <stdio.h>#include "print_str.h"int main(){print_str("hello world");return 0;}
Makefile
OBJS = helloworld.o print_str.oCC=gccTARGET=helloworld.PHONY: $(TARGET)$(TARGET): $(OBJS) $(CC) -o helloworld $(OBJS)$(OBJS):%.o: %.c $(CC) -c $(CFLAGS) $< -o $@.PHONY: cleanclean: -rm -v *.o helloworld
0 0
- print "hello world"
- 1. 程序输出,print语句,Hello World!
- python-gtk-3-tutorial(2)--"Print hello world"
- Hello World!【Hello World】
- python 3.4.0 简单的print 'hello world',出错--SyntaxError: invalid syntax
- 008:Why does this code using random strings print “hello world”?
- Hello, world!
- Hello World!
- Hello world!
- Hello World!
- Hello World!
- hello world!
- Hello World !
- Hello,World!
- Hello World!
- Hello world!
- Hello World!
- Hello World
- 浅谈Linux中的crond
- 基于语音信号MFCC的情感识别
- 基础篇—if和三元运算的区别
- POJ-3126-Prime Path(BFS)
- opencv2 使用鼠标绘制矩形并截取和保存矩形区域图像
- print "hello world"
- mysql创建索引
- 生命的长度--写在一个下雨前空调吐热气的夜
- 文件权限管理 - chmod,chown,chgrp
- Okhttp使用详解
- 对于Android开发中Eclipse出现的“heap space”的问题
- LightOJ——1012Guilty Prince(连通块并查集)
- 用Androidstudio的Terminal安装卸载应用
- 第10-11周项目:职员有薪水了啦