Courses
LoginStart now
Courses
LoginStart now

Q&A DiscussÔes

std::string
c++
1 Voto
3 Respostas
9th Apr 2020, 4:59 PM
Severus
Severus - avatar
Convering char to std::string
c++char-to-stringstd
3 Votos
7 Respostas
1st Nov 2021, 6:39 PM
Kind_Cat
Kind_Cat - avatar
char* vs std::string
c++charcpppointersstdstrings
0 Voto
1 Resposta
18th Aug 2021, 8:52 AM
Yahel
Yahel - avatar
Performing std::string I-O from-to a Binary File [ANSWERED]
binaryc++i/ostring
2 Votos
6 Respostas
15th Nov 2017, 6:26 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
[Solved] How can I divide std::string to 2 std::strings?
c++stdstrings
1 Voto
8 Respostas
4th Nov 2021, 7:42 AM
Kind_Cat
Kind_Cat - avatar
Which is preferred std::string or char str[] or char *str
charcppstring
0 Voto
2 Respostas
14th Oct 2021, 6:40 AM
Sushil đŸ›Ąïž
Sushil đŸ›Ąïž - avatar
Why does std::string have a method for calculating the length, instead of just a property?
c++lengthstrings
0 Voto
8 Respostas
9th Mar 2022, 3:11 PM
Je Foip Cent
Je Foip Cent - avatar
Are C++ Strings Initialized to Empty during Initialization?
c++emptyinitializationstd::stringstring
7 Votos
7 Respostas
24th Apr 2019, 5:46 AM
Fermi
Fermi - avatar
#include <iostream> #include <bitset> int main() { int myDecimalNumber; std::cin >> myDecimalNumber; std::string binary = std::bitset<8>(myDecimalNumber).to_string(); //to binary std::cout<<binary<<"\n"; unsigned long decimal = std::bitset<8>(binary).to_long(); std::cout<<decimal<<"\n"; return 0; }
c++
2 Votos
5 Respostas
18th Jun 2016, 10:43 PM
Utpal Kumar
Utpal Kumar - avatar
Quente hoje
Fix code
0 Votes
Fast coding (mobile)
1 Votes
..
1 Votes
Beginner_to_SoloLearn
2 Votes
How to learn C++ and how long does it take
1 Votes
Coding help
2 Votes
DSA doubt
1 Votes
Bridge pattern use case
0 Votes
Recover challenge history
0 Votes
Data structure using C
0 Votes