Courses
LoginStart now
Courses
LoginStart now

Q&A Discussions

std::string
c++
1 Vote
3 Answers
9th Apr 2020, 4:59 PM
Severus
Severus - avatar
Convering char to std::string
c++char-to-stringstd
3 Votes
7 Answers
1st Nov 2021, 6:39 PM
Kind_Cat
Kind_Cat - avatar
char* vs std::string
c++charcpppointersstdstrings
0 Votes
1 Answer
18th Aug 2021, 8:52 AM
Yahel
Yahel - avatar
Performing std::string I-O from-to a Binary File [ANSWERED]
binaryc++i/ostring
2 Votes
6 Answers
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 Vote
8 Answers
4th Nov 2021, 7:42 AM
Kind_Cat
Kind_Cat - avatar
Which is preferred std::string or char str[] or char *str
charcppstring
0 Votes
2 Answers
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 Votes
8 Answers
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 Votes
7 Answers
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 Votes
5 Answers
18th Jun 2016, 10:43 PM
Utpal Kumar
Utpal Kumar - avatar
Hot today
Fix code
0 Votes
Fast coding (mobile)
1 Votes
..
1 Votes
Software to write and run codes
1 Votes
How can I turn my .py files to .exe files?
1 Votes
Beginner_to_SoloLearn
2 Votes
Add lua
0 Votes
How to learn C++ and how long does it take
1 Votes
Coding help
1 Votes
Summary please??
0 Votes