#hey, who can help me? type in DM.
163 messages · Page 1 of 1 (latest)
what extensions do you use?
you have a issue with your intellisense
none, only c++ extensions
@rapid hatch has reached level 1. GG!
do you have a compiler installed?
if no then look at this section: https://code.visualstudio.com/docs/languages/cpp#_install-a-compiler
use mingw
I can't test the app yet because it's a virus. but i can't understand why it shows error with include. maybe need to install libraries?
installed
@river oak
you need a compiler installed for the intellisense to work
thats why it shows you a error
maybe need to install libraries?
no, need to install compiler
iostream is a standard library
you dont need to install that, tho its shown as a error
ah
install mingw
i can install it from vs code extensions?
no
k
https://www.msys2.org/ for example @rapid hatch
open cmd and type gcc -v (just to test)
@rapid hatch has reached level 2. GG!
lol
probably not in your path
search for the mingw bin folder
and add it to the PATH environment @rapid hatch
in mingw64
alr
you are in msys
which path?
windows searchbar -> "Edit environment variables for your account"
select Path in user variables
click edit
click new
add the bin folder you found
the path to it
then save
restart cmd
try again
gcc -v
not here lol
fuck
.
.
yes
by the way, the question is, do I need to install libraries if I will not run this file on my PC? but I will simply convert it into a file so that it can be launched and used
did you restart cmd or nah?
yep
do you have a gcc.exe inside your bin folder or nah?
nah
it depends
show your file structure
empty folder
only this one file?
yep
then yes you need https://github.com/microsoft/cpprestsdk
how does it work? Can I convert this file into a program?
@rapid hatch has reached level 3. GG!

i didnt tell you to download it
in cmd or what
so i need download that zip?
no you need to install vcpkg and then use the cmd i've send to install the lib
honestly, it might make sense to switch to visual studio at that point instad of visual studio code
it will be easier for you
git clone https://github.com/microsoft/vcpkg
then
.\vcpkg\bootstrap-vcpkg.bat
if you dont have git then download from https://github.com/microsoft/vcpkg
and only execute .\vcpkg\bootstrap-vcpkg.bat in the folder
I just need to write one program, and transfer the code to a working program that won't even have an interface. Therefore, there is no point in switching
just saying because its easier for beginners to use it
did you install vcpkg?
also cpprestsdk ?
you mean this?
y
add to Path
which path?
the folder where vcpkg.exe is in
i need to make new path?
as done here ye
ahhhh dont work
@rapid hatch has reached level 4. GG!
antivirus disabled?
so since you dont want to use visual studio
you should use cmake
here is a tutorial that you can follow: https://learn.microsoft.com/en-us/vcpkg/get_started/get-started-vscode?pivots=shell-cmd