886 questions
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....
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,...
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...
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&...
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 ...
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); }...
structure Edge {int to, cost; Edge(){} Edge(int to, int cost):to(to), cost(cost){};What does this mean?Is Edge(){} a function?
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...
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...
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...
« | - 29 - | » |
© 2024 OneMinuteCode. All rights reserved.