Add and link your header file with main file in VS Code Ubuntu 22.04 C/C++. Undefined reference to

preview_player
Показать описание

{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**",
"usr/local/include/",
"usr/include/"
],
"defines": [],
"compilerPath": "/usr/bin/gcc",
"cStandard": "c11",
"cppStandard": "c++14",
"intelliSenseMode": "linux-gcc-x64"
}
],
"version": 4
}

Рекомендации по теме
Комментарии
Автор

YOU SAVED MY ASS LAST DAY BEFORE DEADLINE HELL.

googlesettingsWWW
Автор

This fixed the problem i am struggling with for 4+ hours thank you so much. But i have a question, in this case does the .h file still necessary?

AlperiumMC
Автор

why is this shit happening? is there a way to fix this?

ryomaizen
Автор

First method working but including header file its not necessary.❤

agnisri
join shbcf.ru