Posts by Gustavo B. • 13 points
2 posts
-
0
votes4
answers52
viewsQ: Is my char checking logic wrong?
I am reading a row of a file and I need the loop to stop when I find a space or a =. I did the code below but it is not working, even if it has space or = on the line, it continues the loop. for…
javaasked Gustavo B. 13 -
1
votes2
answers71
viewsQ: What is the meaning of the two points on that line?
The line is: foo() : myValue1(0xDEADBEEF), myValue2(0xBABABABA) {} I can’t understand what she does. Here the complete code: class foo{ public: foo() : myValue1(0xDEADBEEF), myValue2(0xBABABABA) {}…
c++asked Gustavo B. 13