886 questions
I know the friend declarationI've never used it beforeI don't know when to use it.If you think about the encapsulation of OOP,Isn't friend an exceptional function?
I tried to implement the + part while overloading the operator, but it didn't work I generally hit it to check, but it didn't work, so I'm leaving a message.I think it's a grammar problem, but I don't...
It's a program that connects elements (e1, e2, ..., en) of the list given to the Singly Linked List in chain format and stores elements (e1, ..., en). (The link of the last node in the Singlely Linked...
After receiving a string in an array without using a conditional statement, you should create a code that converts uppercase letters to lowercase letters and lowercase letters to uppercase letters. I ...
int * buff = new int[10];for(auto x : buff?? ){ x = 0;}I want to initialize all the buffs that were assigned dynamically to zero, buff?Please tell me how to write down.I tried buff[], buff, etc., but ...
Not the way I know itPlease tell me the easiest way to change the int type to string!//1.int a = 10;char *intStr = itoa(a);string str = string(intStr);//2.int a = 10;stringstream ss;ss << a;stri...
const int*const int * constint const * What's the difference between these three?
How do I figure out how many elements can fit in an array?It's not how many values I've allocatedI'd like to know how many can fit.
std::map I want to find out if the key already exists or notWhat should I do?My code is making an error typedef map<string,string>::iterator mi;map<string, string> m;m.insert(make_pair(f,+...
I'm reading the code that someone wrote epsilone()epsilon() appears in the associated document as double type minus 1 from the smallest number greater than 1.So epsilone() is the smallest number great...
« | - 62 - | » |
702 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
547 Who developed the "avformat-59.dll" that comes with FFmpeg?
547 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
532 Uncaught (inpromise) Error on Electron: An object could not be cloned
© 2024 OneMinuteCode. All rights reserved.