886 questions
Here's the program.#include<stdio.h> int main(void){ printf(Hello world!); return 0;} The error was long, so I put it here.https://pastebin.com/hbZcTR4tIt's not that I don't have a header file...
I have a question about the virtual function of c++.Prepare a very simple base and inherited Derived as follows:#include<iostream>US>structure Base {virtual void f(){ std::cout<<Base<&l...
What should I do if I want to change the value of a vector structure in another class?Below is the current state of the code.Structure classst{ structure hoge { int score1; int score2; intsum; }}cl...
When executing the code below, you can use the function that should have been tied up in namespace as it is.Is it a name space specification?Depending on whether or not you are using the Vector2 struc...
If I write a function like this, how should I try and catch it with the main function?Thank you.The language is c++.I supplemented my class.Sorry for the insufficient explanation. template <class ...
I would like to draw a convex polyhedron with 3D graphics.A polyhedron is defined by a plane (no boundaries) surrounding it, so you can get all the vertices if you want, but I don't know how to create...
Nice to meet you.This is my first time asking a question.I am currently working on making my own bi-directional lists using pointers in C++ without using STL.In the midst of this, I have written to th...
I look forward to hearing from you.Write a function that returns a string (mixed alphanumeric) with char in C++ and I'm thinking of using that function from C# to receive a string.I looked it up and f...
Shift_JIS does not have a backslash symbol (so-called half-width) and A circular symbol exists at the assigned code position of the backslash in ASCII.The C/C++ compiler corresponding to the Shift_JIS...
« | - 12 - | » |
© 2024 OneMinuteCode. All rights reserved.