3
This commit is contained in:
parent
4c8a56d770
commit
77b04eb65f
22
du1/.vscode/c_cpp_properties.json
vendored
Normal file
22
du1/.vscode/c_cpp_properties.json
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "Linux",
|
||||||
|
"includePath": [
|
||||||
|
"/usr/include/c++/12",
|
||||||
|
"/usr/include/x86_64-linux-gnu/c++/12",
|
||||||
|
"/usr/include/c++/12/backward",
|
||||||
|
"/usr/lib/gcc/x86_64-linux-gnu/12/include",
|
||||||
|
"/usr/local/include",
|
||||||
|
"/usr/include/x86_64-linux-gnu",
|
||||||
|
"/usr/include"
|
||||||
|
],
|
||||||
|
"defines": [],
|
||||||
|
"compilerPath": "/usr/bin/gcc",
|
||||||
|
"cStandard": "c17",
|
||||||
|
"cppStandard": "gnu++17",
|
||||||
|
"intelliSenseMode": "linux-gcc-x64"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"version": 4
|
||||||
|
}
|
||||||
3
du1/.vscode/settings.json
vendored
Normal file
3
du1/.vscode/settings.json
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"C_Cpp.errorSquiggles": "enabled"
|
||||||
|
}
|
||||||
BIN
du1/program
Executable file
BIN
du1/program
Executable file
Binary file not shown.
@ -0,0 +1,11 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
double x, a, b, c, y;
|
||||||
|
|
||||||
|
if (scanf("%lf", &x) != 1) {
|
||||||
|
fprintf(stderr, "Error: failed to read a number for x\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user