Learn-Objective-CPP
所属分类:collect
开发工具:Objective-C++
文件大小:0KB
下载次数:0
上传日期:2021-11-27 03:51:54
上 传 者:
sh-1993
说明: 一个存储库,用于展示我对Objective-C++编程语言的知识,并继续学习该语言。,
(A repository for showcasing my knowledge of the Objective-C++ programming language, and continuing to learn the language.,)
文件列表:
.editorconfig (1327, 2021-11-26)
AUTHORS (272, 2021-11-26)
CONTRIBUTING.md (244762, 2021-11-26)
COPYINGL (1364, 2021-11-26)
CREDITS (696, 2021-11-26)
DRM-free_label.en.svg (5829, 2021-11-26)
... ...
***
![/TEMP_OBJECTIVE-CPP.png](https://github.com/TEMP_OBJECTIVE-CPP.png)
### Learning Objective-C-Plus-Plus
I hardly know anything about the Objective-C++ programming language. This document will go over all of my knowledge of the Objective-C++ programming language.
#### Time testing in Objective-C-Plus-Plus
I was looking through Microsoft source code for example, and found something I remembered. I have modified it:
```objective-c
#include
#import
TEST(Mach, MachTaskInfoThreadTimes) {
// check that the user time indeed advances
time_value_t user_time_before = time_info.user_time; // Sets the time
time_t start; // Starts the time test
time_t cur; // Shows the current time
}
```
_/!\ This example has not been tested yet, and may not work_
#### Comments in Objective-C-Plus-Plus
Comments in Objective-C are identical to those of comments in C, C++, etc.
```objective-c
// This is a single line comment
/* This is
a multi-li
ne comment
*/
```
_/!\ This example has not been tested yet, and may not work_
#### Other knowledge of the Objective-C-Plus-Plus programming language
1. Objective-C++ is a dialect of Objective-C that adds support for C++ features and syntax
2. Objective-C++ is a language by Apple Inc.
3. Objective-C++ uses the `*.m` `*.mm` and `*.h` file extensions
4. Objective-C++ is a semicolon and cury bracket language
5. No other knowledge of the Objective-C++ programming language.
***
近期下载者:
相关文件:
收藏者: