abel
well, i enter the command "cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=C:/src/vcpkg/scripts/buildsystems/vcpkg.cmake", then i can acquire a right result
abel
but i click the button in vscode
abel
that's the error message
Danya🔥
Probably because VS Code know nothing about how you run CMake
Danya🔥
Google how to change cmake settings in VS Code
abel
what's means that
abel
you mean this:"Adding the following to your workspace settings.json will make CMake Tools automatically use vcpkg for libraries"?
abel
that's the sentence in official guide
Danya🔥
So why don't you follow it?
abel
and i follow this guide
abel
it ask me to add
"cmake.configureSettings": {
"CMAKE_TOOLCHAIN_FILE": "C:\\src\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake"
},
into the settings.json, and i did it, but it still have error
abel
err, i don't know how to say, but just now, i clean the cache, and build it again by same method
abel
and it worked
abel
but, why?
John
I need official website to learn Data structure and allogarithms in c++ or c , please any recommendations?
Jose
LUCKY
hi
Anonymous
Anonymous
Anonymous
Ahmed
Welcome guys
I’m beginner, I cannot download msys2 in macOS to execute these commands;
👇
Pacman -syu
Pacman -su
Pacman -Ss gcc
Pacman -S mingw-w64-x86_64-gcc
Pacman -Ss gdb
Pacman -S mingw-w64-x86_64-gdb
gcc —version
g++ —version
gdb —version
Ahmed
Can I get some instructions for executing these commands to complete the tutorial ?
\Device\NUL
Ahmed
.
Hi
.
C progeamming
\Device\NUL
\Device\NUL
There's no need to stuff like that in *nix world
Ahmed
Mahdiy
Mahdiy
For install homebrew:
https://brew.sh/
buggi
Anyone has let us c++ in pdf format?
C
can anyone tell me what do i need to learn to create my Own web browser?
C
i'm curious
C
or atleast work in some open source browser
klimi
Danya🔥
C
Danya🔥
C
Danya🔥
....
Can we return a string instead of int? If yes then how??
\Device\NUL
....
Simple while using a function we generally return 0 or some values
....
Cab we return a string in it? Instead of returning some values of integer in it
Mr
Anonymous
assume cs:codesg
codesg segment
dw 0abcdh,02h,03h,04h
dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
start:
mov ax,cs
mov ss,ax
mov ds,ax
mov sp,18h
mov bx,0
mov ax,0
mov cx,4
s:
push [bx]
add bx,2
loop s
mov bx,0
mov cx,4
s0:
pop [bx]
add bx,2
loop s0
mov ax,4c00h
int 21h
codesg ends
end start
Anonymous
The intel8086assembly I wrote according to my idea d3d:0 7 should be 04 00 03 00 02 00 CD AB, but the result is wrong
Omar
Can someone who is an expert from this group in the C language send me a private message quickly because I have a question that I must solve now, and thanks 🙏
....
az
Guys, i am digging into nginx source code. I am wondering why author has chosen keeping sentinel for red-black tree outside of struct ngx_rbtree_t itself? Why not just to keep it inside of ngx_rbtree_t
https://github.com/phusion/nginx/blob/master/src/core/ngx_rbtree.h
Student
Peace
Student
I get this error when compiling a C++ Windows desktop application
Student
Severity Code Description Project File Line Suppression State
Error LNK1107 invalid or corrupt file: cannot read at 0x496 WindowsProject1 C:\Users\Night\Desktop\cryptolib\cryptopp-master\aes.h 1
Error MSB6006 "link.exe" exited with code 1107. WindowsProject1 C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets 1127
Student
The aes file is coded correctly but I still get the error and in the source code I added directory of the aes.h file but still getting the error
Student
The source code displays no errors
Anonymous
Student
Anonymous
Then teacher what should I do?
I have no idea what you are doing. A linker should be passed things like object files, dll files, lib files etc. The linker doesn't need header files. So I guess you either have the wrong configuration on your IDE or are just doing things plain wrong. Read up about your IDE/compiler before beginning to use it
Student
I need to use cryptlib libraries
jaspwr
Student
az
Anonymous
Hi guys! Anybody can help me understand this code:
st = set_intersection (set1, set1 + 6, set2, set2 + 6, v.begin());    
v.resize(st - v.begin());
This program make intersection between vectors. Yet solved, but i can't understand this part the code. exactly in the resize function
Alexander
Ludovic 'Archivist'
Rejwana
Can Anyone help me, if red+blue=purple, Red+Green=yellow,Blue+green=cyan, then like input given RBG with replace PG how to solve it using stack in c++?
klimi