mirror of
https://github.com/Light-City/CPlusPlusThings.git
synced 2026-02-11 06:27:22 +08:00
support bazel complie this project and format code.
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
#include<iostream>
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
int main(){
|
||||
|
||||
const int num=10;
|
||||
const int * const ptr=# //error! const int* -> int*
|
||||
cout<<*ptr<<endl;
|
||||
int main() {
|
||||
const int num = 10;
|
||||
const int *const ptr = #
|
||||
cout << *ptr << endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user