Is that a Bug?? Help pls! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Is that a Bug?? Help pls!

Hello Guys, i learn C++... Its rlly fun but by the lesson with the Name (Lesson Completed!) I stuck... I cant Finish it... My answer of the Lesson ist every time wrong.. but why, IS IT a Bug? Pls Help me

27th Jan 2024, 11:17 PM
Niklas Besicke
Niklas Besicke - avatar
12 Answers
+ 2
did you add #include <iostream> using namespace std;
28th Jan 2024, 1:45 AM
Bob_Li
Bob_Li - avatar
+ 2
I can't see the lesson (not PRO) but notice the spaces in "Lesson: Data Types" (this leaves a space between Lesson: and Data) then consider whether there should be a space in "Completed:"
28th Jan 2024, 1:49 AM
Scott D
Scott D - avatar
+ 2
Thx to all for helping me! Scott D's answer was the korrekt edit of my fault! (The Space was Not exist.) Now ITS done :) Btw sorry for my Englisch skills!
28th Jan 2024, 2:10 AM
Niklas Besicke
Niklas Besicke - avatar
+ 2
Niklas Besicke yes, C languages are the most versatile and fast enough. A C++ program consisting of 300,000 lines has been written for Tesla, although starting this year it is going to be transferred to a neural network.
28th Jan 2024, 3:05 AM
Solo
Solo - avatar
+ 1
Thx you Solo! IT was the solution!
28th Jan 2024, 2:12 AM
Niklas Besicke
Niklas Besicke - avatar
+ 1
Niklas Besicke when you want to address someone personally, click on the @ symbol, a list of names will pop up from which you can select by clicking on the desired name.
28th Jan 2024, 2:40 AM
Solo
Solo - avatar
+ 1
Solo haha, perfekt.. i Love this App, really awesome how fast i learning Here. And the Community is so helpfull and fast, thank you man! Can you Tell me what the Most important PC Languages are for PC Games building and Machinery Software Creation z.b in an Automobil industry. ? My First Language is now C++, i hope it was not a fail..
28th Jan 2024, 2:52 AM
Niklas Besicke
Niklas Besicke - avatar
0
post your code so we can see what is wrong.
27th Jan 2024, 11:40 PM
Bob_Li
Bob_Li - avatar
0
int main() { string lesson = "Lesson: Data Types"; string completed = "Completed:"; bool isCompleted = true; cout << lesson << endl; cout << completed << isCompleted << endl; }
27th Jan 2024, 11:50 PM
Niklas Besicke
Niklas Besicke - avatar
0
Niklas Besicke instead of asking for help in the question, write a task and attach your code. It is difficult to help when you do not know the full description of the task, all the little things are important, down to punctuation marks and spaces. So I can only assume that there should be a space after the colon in the completed line.
28th Jan 2024, 2:05 AM
Solo
Solo - avatar
0
You can't answer the question, so you can't continue learning C++.
28th Jan 2024, 5:43 PM
Otid Kartgepsut
Otid Kartgepsut - avatar
0
Hello
29th Jan 2024, 7:37 AM
Bloodline _x
Bloodline _x - avatar