so suppose that you have one project opened as *Bleed* correct? the example in that question is given to be all grumbled up things. Now i want give it a try and solve the problem/question in the new tab called *snakepee*. i successfully rearrange everything from preprocessor directive to header file, to statement, to rearranging the function...and everything else. Now when i run the code i get an error in relation to the first tab that i have opened up...
oof
snakepee
it's a completely normal name k....
so you're running the snakepee file but it's showing errors related to some other file?
one second plz let me post the error
sorry, this project name is *bleed* but same scenario tho
yes that's correct qwerty
save the file that you want to compile and run open your file in whatever IDE that is (codeblocks?) go to build and select compile current file and then run
ok but i have another trouble ... ``` //A crazy mixed up program #include using namespace std; intl main() { cout << "In 1492 Columbus sailed the ocean blue."; return 0; } ``` where am i going wrong??
did i make any mistakes ?
here: #include
you have to specify what you're including
sooo what do i do ?
#include<iostream>
ooof o///o how could i forget that ... *facewall* Thanks mate <3
still not working :/
you can't use the cin, cout functions if you don't #include<iostream> they're all defined in it, kinda of how you can't speak alien language if you don't have their dictionary :]
second error: "intl main() "
ok so how do i fix this error ?
the first term is supposed to the the return type and next comes your function name in this case your function name is "main" and you're returning 0 at the end of your program which is an integer or \(\large{int}\) and not \(\large{intl}\) *int main()
i see .... let me change that real quick
omg it was actually *int* and not intl o///o thanks for catching that mistake...
really appreciated your help mate :* stay cute as always <3
np
Join our real-time social learning platform and learn together with your friends!