tumoiyorozu / simplecppeditor Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://TumoiYorozu.github.io/SimpleCppEditor/
Home Page: https://TumoiYorozu.github.io/SimpleCppEditor/
追加で日本語対応すると良さそうなメッセージの提案です。
unused parameter
int F(int n)
{
return 0;
}
int main()
{
}
no return statement in function returning non-void
int F(int n)
{
n *= 2;
}
int main()
{
}
no matching function for call to
#include <bits/stdc++.h>
int main()
{
std::vector<int> v;
std::min(0, v.size());
}
stray '\343' in program
#include <bits/stdc++.h>
int main()
{
std::cout << "Hello\n";
}
suggest parentheses around
int main()
{
int n = 3;
if (1 << n - 1 & 1)
{
}
if (1 << n + 1 & 1)
{
}
}
format '%f' expects argument of type 'double', but argument 2 has type 'int'
#include <bits/stdc++.h>
int main()
{
printf("%.10f", 12345);
}
left shift count >= width of type
shift exponent 32 is too large for 32-bit type 'int'
#include <bits/stdc++.h>
int main()
{
int i = 1 << 32;
std::cout << i << '\n';
}
left operand of comma operator has no effect
int main()
{
for (int i = 0, j = 0 ; i < 3, j < 20; ++i, j += 2)
{
}
}
this statement may fall through
#include <bits/stdc++.h>
int main()
{
int n;
std::cin >> n;
switch (n)
{
case 0:
std::cout << "0\n";
case 1:
std::cout << "1\n";
case 2:
std::cout << "2\n";
default:
break;
}
}
too many initializers
#include <bits/stdc++.h>
int main()
{
int a[2] = { 0, -1, 0, 1 };
std::cout << a[0];
}
overflow in conversion from
#include <bits/stdc++.h>
int main()
{
const int mod = 1'000'000'000'007;
std::cout << mod << '\n';
}
comparison of unsigned expression >= 0 is always true
#include <bits/stdc++.h>
int main()
{
std::vector<int> v;
for (size_t i = (v.size() - 1); i >= 0; --i)
{
}
}
'a' is used uninitialized in this function
#include <bits/stdc++.h>
int main()
{
int a;
std::cout << a;
}
suggest braces around empty body in an 'if' statement
#include <bits/stdc++.h>
int main()
{
int a;
std::cin >> a;
if (a % 2 == 0);
{
std::cout << "Yes\n";
}
}
suggest explicit braces to avoid ambiguous 'else'
#include <bits/stdc++.h>
int main()
{
int a;
std::cin >> a;
if (a % 2 == 0)
if (a % 3 == 0)
std::cout << "Yes\n";
else
std::cout << "No\n";
}
comparisons like 'X<=Y<=Z' do not have their mathematical meaning
#include <bits/stdc++.h>
int main()
{
int a;
std::cin >> a;
if (0 <= a <= 99)
{
}
}
expected ';' after struct definition
struct Point
{
int x, y;
}
int main()
{
}
wandbox は複数ソースコードをアップしてコンパイルできるので、可能
せっかくnpm使ってるんだから色々npmに依存すればいいんじゃないかという提案
エディタ部をVSCodeにも使用されているmonacoを使用しているが、Android, iOS での使用が想定されておらず、壊滅的なので、Ace に置き換える
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.