mirror of
https://github.com/Light-City/CPlusPlusThings.git
synced 2026-04-03 10:40:24 +08:00
support bazel complie this project and format code.
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
#include<iostream>
|
||||
#include <iostream>
|
||||
/**
|
||||
* by 光城
|
||||
* compile: g++ -o file const_file2.cpp const_file1.cpp
|
||||
* execute: ./file
|
||||
*/
|
||||
extern const int ext;
|
||||
int main(){
|
||||
|
||||
std::cout<<ext<<std::endl;
|
||||
}
|
||||
int main() { std::cout << ext << std::endl; }
|
||||
Reference in New Issue
Block a user