c++ tag

886 questions


1 answers
120 views
0
How do I get a font filename (*.ttf) from a font name? (C++/Windows)

I would like to get the font filename (*.ttf) from the font name.Example: Times New Roman→times.ttf(The font name here is the name that can be obtained by the LOGFONT structure lfFaceName.) in the reg...

2 years ago

1 answers
65 views
0
How do I highlight user-defined macro abbreviations in Vim?

First of all, I'm a beginner who just started programming, so I'm sorry that this may be a wrong question.I think I will omit the model name using typedef and using in languages such as c++, but is it...

2 years ago

1 answers
109 views
0
Gtk::GLAarea does not draw

I am trying to program graphics with OpenGL using Gtkmm's GLArea, but when I call glBegin~glEnd or glDraw*, the contents are not drawn.DrawCall seems to be ignored when using Gtkmm, even though it is ...

2 years ago

1 answers
57 views
0
If you access the structure in the vector, it will fall off.

Please help me.When I try to access the vector of the structure (elmCom) that I define, the program suddenly ends.The vector (named elcom and very confusing) is defined in the header file, then the co...

2 years ago

2 answers
91 views
0
How do I determine the native endian at compile time?

At runtime, you can determine if the native endian is a little endian, for example:#include<iostream>const int bomb = 1;bool is_little_endian(){ return*reinterpret_cast<const char*>(&b...

2 years ago

2 answers
87 views
0
About the C++ array and the addition of byte variables?

I am a beginner in C++ language.There is a part where the byte type array is added to a certain source code.I had no idea what I was doing.Below are excerpts of the relevant parts:byte arduino[8];mems...

2 years ago

1 answers
146 views
0
Error when building Windows driver (Msbuild) from Jenkins to ssh

It's my first time asking a question, so I'm sorry if there's something wrong with the manners.The questions are as per the title and are detailed below.I would appreciate it if you could let me know ...


1 answers
49 views
0
C++ Compilation Error (Undefined Identifier)

Thank you for your help.I am currently using C++ in VisulStudio 2015, and when I tried to build, almost all variables were no longer recognized as variables (undefined identifiers) even though spellin...

2 years ago

2 answers
73 views
0
Behavior of Layered Window Size Changes

I'm studying win32 api.You are trying to create a window with a variable transparent size.Transparency was achieved by specifying WS_EX_LAYERED as the style in the CreateWindowEx function, but if you ...

2 years ago

1 answers
33 views
0
std::how to delete multimap elements

I understand that std::multimap has the following hash table structure for the purpose of looking at it (it is listed...) (data structure is tree structure).KEY_ADATA_ADATA_BDATA_CKEY_BDATA_DDATA_EDAT...

c++
2 years ago
« - 28 - »

© 2024 OneMinuteCode. All rights reserved.