Search found 2 matches

by ankitdixit
Tue Jul 16, 2019 4:23 am UTC
Forum: Coding
Topic: C++ IF Statement Error?
Replies: 4
Views: 1113

C++ IF Statement Error?

Hello Everyone, I am tried to make C++ based calendar. Someone help me to get February to print with 29 days during a leap year? Is it the right code? is this or any suggestion to C++ tutorial, I want to grow my technical skills more. using namespace std; int main() { int year, i; int month; cout <<...
by ankitdixit
Thu Jul 11, 2019 10:12 am UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1963
Views: 572150

What is Wrong?

Hello Everyone, I am trying to coding Just starting out in C++. Why is my code so slow? The nested loops below I think would take a day to complete while the same code in Java completes in a few seconds. I tried it in CodeBlocks using different variants of C++. Where I am wrong? int a,b,c,x=0; for (...

Go to advanced search