c++ tag

886 questions


1 answers
31 views
0
'AdvToolBar.hpp' file not found error when building

I am trying to build a project file created with Borland C++ Builder 6 that can be partially added to a new project in C++ Builder 10.3.When I added three files to the project, Main.cpp, Main.h, Main....

c++
2 years ago

1 answers
30 views
0
I forgot how to use the sstream library.The goal is to change the int type value in the array to the string type, and to include a comma and a space between the numbers.

The goal this time is to take out the values in the int-type array and put them in the string type variable by putting a comma and a space between each numeric value.However, in the following program,...

c++
2 years ago

7 answers
43 views
0
In what order should I perform the four rules of operation to generate calculation errors/propagate

The problem we have now is an operation that consists only of addition, multiplication, and division.double c,m,d1,d2;/* value each*/doublex=(c*m+(d1+1.0/d2)/2.0);That's the formula.Throw this express...

2 years ago

2 answers
98 views
0
What is the difference between include and declaration?

For example, in the sentence below, #include<iostream># include <cmath>float Myabs (float x);int main() { float a = 2.5; std::cout<<Myabs(a)<<std::abs(a); a = -5.25; std::cout&...

2 years ago

1 answers
69 views
0
Information About C++ Debugging

We are currently creating computer shogi by referring to the website here.This time, I would like to ask you how to debug C++.Ideally, I'd like to stop using the Rails term binding.pry and see what's ...

2 years ago

3 answers
35 views
0
Information About Implementing Classes in C++

I'm sorry that the title is hard to understand.It's different from the actual process, but class Parent{protected: int max = 10;public: void func() { for (inti=0; i<max;i++) { printf(string); }...

c++
2 years ago

1 answers
75 views
0
C++ structure

structure Edge {int to, cost; Edge(){} Edge(int to, int cost):to(to), cost(cost){};What does this mean?Is Edge(){} a function?

2 years ago

1 answers
30 views
0
Self-made hash tables are not working as expected

I intend to create a hash table of arrays with concatenated lists as elements.The purpose this time is to create a function that adds data to the hash table with addItem and returns the contents of th...

c++
2 years ago

2 answers
111 views
0
Understanding Standard Library (ctype.h) Compilation Errors

We are developing an open source called ardupilot while modifying it.An error occurred in the standard library during a recent g++ build.The error is as follows (environment is ubuntud):Infile include...

2 years ago

2 answers
44 views
0
How do I embed binary files into a program to view them in Visual Studio's C++ development?

Visual Studio's C++ development is looking for ways to embed binary files into the program and browse through the program.For C and C++ development in gcc, I think it is possible to embed binary files...

2 years ago
« - 29 - »

© 2024 OneMinuteCode. All rights reserved.