Category : codeblocks

hi I am new to codeblocks .I just installed it.when I tried working on it,the compiler shows error as #include<iostream> this header file does not exist.I tried re installing it and still it shows the same error. Can someone help me install the right version of the compiler to work with cpp. Thankyou. Source: Windows ..

Read more

Hi I am using Codeblocks and a problem occurs when I start this program: int number_STABLE= 2; int number_VARIABLE; int numberof_STEPS = 0; void Check() { number_VARIABLE=number_STABLE; while (number_VARIABLE!=1) { if (number_VARIABLE%2!=0) { number_VARIABLE=(number_VARIABLE*3)+1; } else { number_VARIABLE=number_VARIABLE/2; } numberof_STEPS++; } } int main() { cout<<" – STARTED – "<<endl; cout<<endl; while (numberof_STEPS!=555) { numberof_STEPS=0; ..

Read more

The program returns the user N number of odd squares starting from 1. From numbers 5-10 and then 20, (I didn’t go further) when deleting array A it crashes with the error message: "Process returned -1073740940 (0xC0000374)". Which is apparently a memory violation? #include <iostream> using namespace std; int main(){ int ok; int counter; do ..

Read more