Check out for more free engineering tutorials and math lessons!
C++ Programming Tutorial: Boolean function example.
Please support my work:
PATREON |
Every dollar is seriously appreciated and enables me to continue making more tutorials
Nguồn:https://truonggiabinh.com/
Xem thêm Bài Viết:
- Mách bạn cách cách xóa header nhanh chóng
- Review cách phân trang trong excel và bỏ phân trang
- Hướng dẫn các bước đảo ngược vùng chọn trong Photoshop
- Cuốn cẩm nang hướng dẫn tạo USB cài XP+Windows 7+Hiren’s Boot đầy đủ nhất
- Đánh Giá & Trải Nghiệm Máy Bơm Lốp Xiaomi 70mai MiDrive – Bơm BWM 320i Một Cách Dễ Dàng!
0:16 I thought I had it on 2x speed for a second there.
the length function isnt working for me…
Thank you for this video!
you didn't even use isdigit command…bullshit video
Could you explain why this code returns false if one value is true:
bool lookFor(string valueOne, string valueTwo)
{
bool trueFalse{};
int trueOccurances{};
int falseOccurances{};
for (int i = 0; i < memberNamesLength; i++)
{
if (valueOne == memeberNames[i] || valueTwo == memeberNames[i])
{
santFalskt = true;
trueOccurances++;
}
else
{
santFalskt = false;
falseOccurances++;
}
}
cout << 'n' << "lookFor, true: " << trueOccurances << 'n';
cout << 'n' << "lookFor, false: " << falseOccurances << 'n';
return trueFalse;
}
Thank you! It was a helpful video.
which software he is using?
can you be a little quieter i trying to sleep here
why did you do pin in all caps and lower case does the program read them as the same?
wouldn't a four letter string also return true since the function is only looking at the length of the string not whether it's digits or letters?
Nicely well done explained.
Dude youre awesome i am gonna watch the whole playlist
How does the “(string pin)” work I thought for a book you can only use ‘true’ or ‘false’
I don't know why visual studio has problems reading pin.length as it says that it must have class type. I tried putting in a class box above specifying length but it still gave no result. Would be appreciated thanks 🙂
which c++ tool you have been use????? Dev??? turbo???
Thank you for the great video!
what kind of software are you using for your c++
what editor are you using?
the XCode compiler looks much more simple and cleaner than the Visual Studio.
could you tell us which compiler you were using.
Thank you so much for useful video! Very nice tone of the voice 🙂