Message from C, C++ discussions

December 2019

— I am new in CPP , and in fact I am from Afghanistan and we haven't good facilities


Ideal way to use phone take the screen shot with the print screen button and then transfer that to the phone.

— Anyone has hand written notes of C basics ?

— Dude go to C/C++ India group

— Https://

— I believe that this is the most beneficial act I've ever seen

— It's beneficial for both groups (I'm talking about people ofc)

— Which is why global varibles are used across multiple differnt functions

— #include<iostream>

using namespace std;

int main(){
char word[30];
int lenglth;
char distinct[30];
int count = 0;
// std::cout<<word;
for (int i = 0; i < strlen(word); i++){
count = 0;
for (int j = 0; j < strlen(distinct); j++){
if (distinct[j] == word[i]){
if (count = 0){
distinct[strlen(distinct)+1] = word[i];
if (strlen(distinct)%2 == 0){
std::cout << "CHAT WITH HER!";
std::cout << "IGNORE HIM!";
return 0;

Message permanent page

— There is some error in the append can anyone help regarding where is the error

— Is heapsort a non- adaptive algorithm

— The count is always zero