c++ tag

886 questions


1 answers
91 views
0
What is Judy array?

It looks like an associative array, but For associative arrays, map I think it's sufficient that it's easily prepared in STL.Why was Judy array born?Compared to map and set, what is the big difference...


2 answers
125 views
0
Eliminate dependencies from C++/CLI to C runtime libraries

I am currently creating an application using C++/CLI.Create DLLs in C++/CLI (Function publishing using Dllexport syntax for C-like)The application that created the DLL with native C and Win32 is calli...

1 years ago

3 answers
32 views
0
Visual studio 2019 cannot correct any open external symbol (VerQueryValueW), (GetFileVersionInfoW), and (GetFileVersionInfoSizeW).

I tried using the linked source code below to get the version from the resource, but an error similar to the title occurred.Get version information with C++I have tried to include various files and lo...

c++
1 years ago

3 answers
37 views
0
Visual studio 2019 cannot correct any open external symbol (VerQueryValueW), (GetFileVersionInfoW), and (GetFileVersionInfoSizeW).

I tried using the linked source code below to get the version from the resource, but an error similar to the title occurred.Get version information with C++I have tried to include various files and lo...

c++
1 years ago

1 answers
34 views
0
Exception handling cannot define what()

Creating code for custom exception handling.However, when I try to define what() in the list_error class, I get the following message:Virtual function 'what' has a different return type ('std::string'...

c++
1 years ago

1 answers
36 views
0
Vector, how to use pointers

I want to print as below, but it doesn't work.Thank you for your cooperation.Example Output 1:Please select two types of numbers from 1 to 10ingress) 12The two phrases do not match The first phrase is...

c++
1 years ago

1 answers
68 views
0
Understanding Stack Structure in c++

When I tried to implement reverse Poland, after receiving input in while(scanf(%s,s)!=EOF), the conditional branch begins in if(s[0]=='+'). Why do I keep the index of s[0] and array 0 fixed?I imagine ...

1 years ago

2 answers
32 views
0
I want to read a string from two files and output it to a new file alternately with the first line of the file, the first line of the file, the second line of the file, and the second line of the file.

I'd like to read strings from two files and output them to the new file alternately with the first line of the file, the first line of the file, the second line of the file, and the second line of the...

c++
1 years ago

1 answers
98 views
0
solve the knapsack problem by dynamic planning

I'd like to solve the knapsack problem using dynamic planning, but somehow it'sWhy?I tried writing the code below to solve it as 1 origin, but it was not correct.In many explanations, the transition o...


1 answers
111 views
0
Segmentation fault in EVP_PKEY_decrypt

Currently, C++ implements public key encryption and decryption using the OpenSSL library.However, the second EVP_PKEY_decrypt among the following causes Segmentation fault when running the program:The...

1 years ago
« - 15 - »

© 2024 OneMinuteCode. All rights reserved.