Ad
  • Default User Avatar

    This code is good short and straight to the point. My only question is what does the #include algorithm> #include iterator> and #include unordered_set> do for this code?

  • Default User Avatar

    thank you for the help it seems that when i was doing the code i put a int main for the output and it gave me that compiler error i removed it and it gave me the passed test.

  • Default User Avatar

    I need help with this code in c++ i have only 1 error and its this
    main.cpp:9:5: error: conflicting types for 'main'
    int main(int, const char *[]) {
    ^
    ./solution.cpp:15:5: note: previous definition is here
    int main() {
    ^
    1 error generated.

    How can fix that i use 2 functions one being the dismvowel and int main

  • Default User Avatar

    Hey everyone i hope yall are having a good day im quite new to coding only doing a codecademy bootcamp. I understand the c++ language but i do not understand how im supposed to read the coding problem and figure out what to do or start with. Even with codecadmey i had the same problem so i used chat gpt as a point of reference but i feel like thats not really helping me i would skim over the code and start the problem and keep on doing it untill i know how to do it without looking at gpt. I just want to know if it is good practice to use chat gpt as a point of reference or should i just figure it out on myself.

    Any help would be nice and appreciated i hope all yall have a good day.