What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-24 22:59:03
ImGui window transparent
D3D11_BLEND_DESC desc; ZeroMemory(&desc, sizeof(desc)); desc.AlphaToCoverageEnable = false; desc.RenderTarget[0].BlendEnable = true; desc.RenderTarget[0].SrcBlend = D3D11_BLEND_SRC_ALPHA; desc.RenderTarget[0].DestBlend = D3D11_BLEND_INV_SRC_ALPHA; des... Add solution -
Other 2021-09-23 11:55:02
how to send values to a selection sorting function
1 // Fig. 8.15: fig08_15.cpp 2 // This program puts values into an array, sorts the values into 3 // ascending order and prints the resulting array. 4 #include <iostream> 5 using std::cout; 6 using std::endl; 7 8 #include <iomanip&... Add solution -
C++ 2021-09-21 12:06:02
compile in c++
$ g++ -o <name-you-want-to-give> source.cpp Add solution -
C++ 2021-09-20 21:11:02
g++ compile c++11
$ g++ -std=c++11 your_file.cpp -o your_program Add solution -
C++ 2021-09-18 00:57:04
how to create a vector in c++
// CPP program to create an empty vector // and push values one by one. #include <vector> using namespace std; int main() { // Create an empty vector vector<int> vect; &n... Add solution