Code::Blocks error: 'cout' was not declared in this scope T his is one of the most common errors you get if you download or create a C++ project on your Code::Blocks IDE and try to compile it using GNU GCC compiler (the default compiler in Code::Blocks). This problem is common with people who've recently moved to Code::Blocks from an older IDE. This happens because Code::Blocks fails to see 'cout' keyword as a local scope unless its defined as a standard directory function. Luckily, there are two simple ways to fix this error: Method 1 Use this statement before your main function: using namespace std; So that your code looks something like: #include <iostream> using namespace std; int main() { cout << "Hello world!"; return 0; } Method 2 Instead of using cout , try using std::cout so that the code looks something like: #include <iostream> int main() { std::cout << "Hello world!"...
No Delivery Flipkart, Amazon and Snapdeal are the greatest online shopping sites in India. Flipkart in particular, holds the crown of being the oldest and the most popular among the three. However, there is some sad news for customers residing in Noida, NCR or other cities of Uttar Pradesh. Let's have a look of all the three e-commerce sites one by one:
When a message gets delivered to the receiver, you see a double tick. And when they read the message, the double tick becomes blue. However, if the receiver has disabled/turned off 'Read Receipt' option on their WhatsApp settings, you can only see a double tick after sending a message whether they've read it or not. Thus, making it impossible to guess whether they've seen the message or not. Let's make it possible. Today, I'll show you a small trick with the help of which, you'll be able to know whether or not they have read your message. It works 95% of the times. Steps: First of all, type and send your desired message. Here, I'm using a Windows Phone to illustrate it, it works the same way on Android and iOS devices. Record a 3-4 seconds audio and send it after sending the messages. Next, when they see your messages, there's a high chance that they'll play your recorded audio. As soon as your recording is played, the audio mess...
Comments
Post a Comment
Note: Your comment won't be published if it includes abusive words, disrespect or links to external websites.