criyle/codenet-compile-errors huggingface dataset:
Language: C++

#include<iostream>
using namespace std;
int main()
{
    char a;
    int l=strlen(a);
    for(int i=1;i<=l;i++){
    	cin>>a;
    	if(a=='a'||a=='i'||a=='o'||a=='e'||a=='u' ) cout<<"vowel"<<endl;
    	return 0;
	}
    cout<<"consonant"<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: 'strlen' was not declared in this scope
    6 |     int l=strlen(a);
      |           ^~~~~~
a.cc:2:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    1 | #include<iostream>
  +++ |+#include <cstring>
    2 | using namespace std;
Language: C++

#include<iostream>
using namespace std;
int main()
{
    char a;
    l=strlen(a);
    for(int i=1;i<=l;i++){
    	cin>>a;
    	if(a=='a'||a=='i'||a=='o'||a=='e'||a=='u' ) cout<<"vowel"<<endl;
    	return 0;
	}
    cout<<"consonant"<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: 'l' was not declared in this scope
    6 |     l=strlen(a);
      |     ^
a.cc:6:7: error: 'strlen' was not declared in this scope
    6 |     l=strlen(a);
      |       ^~~~~~
a.cc:2:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    1 | #include<iostream>
  +++ |+#include <cstring>
    2 | using namespace std;
Language: C++

#include<bits/stdc++.h>
using namespace std;

int main(){
  char c;cin >> c;
  if(c == 'a'||c == 'i'||c == 'u'||c == 'e'||c == 'o')cout << "vowel
" << endl;
  else cout << "consonant" << endl;
  return 0;
}

Compiler output:
a.cc:6:63: warning: missing terminating " character
    6 |   if(c == 'a'||c == 'i'||c == 'u'||c == 'e'||c == 'o')cout << "vowel
      |                                                               ^
a.cc:6:63: error: missing terminating " character
    6 |   if(c == 'a'||c == 'i'||c == 'u'||c == 'e'||c == 'o')cout << "vowel
      |                                                               ^~~~~~
a.cc:7:1: warning: missing terminating " character
    7 | " << endl;
      | ^
a.cc:7:1: error: missing terminating " character
    7 | " << endl;
      | ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:8:3: error: expected primary-expression before 'else'
    8 |   else cout << "consonant" << endl;
      |   ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  char C;
  cin >> C;
  if ( C == 'a' || C == 'e' || C == 'i' || C == 'o' || C == 'u' ){
    cout << "vowel" << endl;
  }
  else {
  cout << "consonant" << endl;
  }

Compiler output:
a.cc: In function 'int main()':
a.cc:12:4: error: expected '}' at end of input
   12 |   }
      |    ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <cmath>
#include <map>
typedef long long ll;
#define rep(i,a,b) for(int i=a;i<b;++i)
#define rrep(i,a,b) for(int i=a;i>=b;--i)
using namespace std;

int N, A;
int x[111];
ll coudp[111][111][5555];

int main() 
{
	char c;
	cin >> ;
	if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u')
	{
		cout << "vowel" << endl;
	}
	else
	{
		cout << "consonant" << endl;
	}

	return 0;
	
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:16: error: expected primary-expression before ';' token
   19 |         cin >> ;
      |                ^
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  char c;
  cin >> c;
  if(c='a' || c='i' || c='u' || c='e' || c='o'){
    cout << "vowel" << endl;
  }else{
    cout << "consonant" << endl;
  }
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:39: error: lvalue required as left operand of assignment
    7 |   if(c='a' || c='i' || c='u' || c='e' || c='o'){
      |                                   ~~~~^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
chor c;
sin>>c;
if(c=='a' || c=='i' || c=='u' || c=='e' || c=='o'){
cout<<"vowel";
}
else{
cout<<"consonant";
}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:1: error: 'chor' was not declared in this scope; did you mean 'char'?
    5 | chor c;
      | ^~~~
      | char
a.cc:6:6: error: 'c' was not declared in this scope
    6 | sin>>c;
      |      ^
Language: C++

#include<iostream>
#include<cstdio>
using namespace std;
char c;
bool bheck()
{
    return c=='a'||c=='i'||c=='u'||c=='e'||c=='o';
}
void solve()
{
    if(check(c))puts("vowel");
    else puts("consonant");
    return ;
}
main()
{
    cin.tie(0);
    ios::sync_with_stdio(0);
    cin>>c;
    solve();
    return 0;
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:11:8: error: 'check' was not declared in this scope; did you mean 'bheck'?
   11 |     if(check(c))puts("vowel");
      |        ^~~~~
      |        bheck
a.cc: At global scope:
a.cc:15:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
   15 | main()
      | ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  cin >> char a;
  if (a == 'a' || a == 'i' || a == 'u' || a == 'e' || a == 'o')
    cout << "vowel" << endl;
  else
    cout << "consonant" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: expected primary-expression before 'char'
    5 |   cin >> char a;
      |          ^~~~
a.cc:6:7: error: 'a' was not declared in this scope
    6 |   if (a == 'a' || a == 'i' || a == 'u' || a == 'e' || a == 'o')
      |       ^
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main()
{
	char c;
  cin >> c;
  
  if(c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o')
    cout << "vowel" << endl;
  else
    cout << "consonant" << endl
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:32: error: expected ';' before '}' token
   13 |     cout << "consonant" << endl
      |                                ^
      |                                ;
   14 | }
      | ~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  char c; cin >> c;
  if (c == 'a' || c == 'e' || c == 'i' || c == 'o' c == 'u' ) {
    /* code */
    std::cout << "vowel" << '\n';
  }
  else{
    std::cout << "consonant" << '\n';
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:51: error: expected ')' before 'c'
    6 |   if (c == 'a' || c == 'e' || c == 'i' || c == 'o' c == 'u' ) {
      |      ~                                            ^~
      |                                                   )
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  char s;
cin >>s;
if (s = 'a' ||'i'|| 'u'|| 'e'|| 'o'){
cout << "vowel" <<endl;
}
else 
cout << 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:1: error: expected primary-expression before '}' token
   12 | }
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  char s;
cin >>s;
if s =( 'a' ||'i'|| 'u'|| 'e'|| 'o'){
cout << "vowel" <<endl;
}
else 
cout << "consonant" <<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:4: error: expected '(' before 's'
    7 | if s =( 'a' ||'i'|| 'u'|| 'e'|| 'o'){
      |    ^
      |    (
a.cc:10:1: error: 'else' without a previous 'if'
   10 | else
      | ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;

int main(){
 char c;

cin >> c;

if(c == 'a' || 'i' || 'u' || 'e'|| 'o')
cout <<"vowel"<<endl;

else
cout << "consonant" <<endl;


Compiler output:
a.cc: In function 'int main()':
a.cc:13:28: error: expected '}' at end of input
   13 | cout << "consonant" <<endl;
      |                            ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include<bits/stdc++.h>
using namespace std;

int main(){
 char c;

cin >> c;

if(c == 'a' || 'i' || 'u' || 'e'|| 'o')
cout << vowel<<endl;

else
cout << consonant <<endl;


Compiler output:
a.cc: In function 'int main()':
a.cc:10:9: error: 'vowel' was not declared in this scope
   10 | cout << vowel<<endl;
      |         ^~~~~
a.cc:13:9: error: 'consonant' was not declared in this scope
   13 | cout << consonant <<endl;
      |         ^~~~~~~~~
a.cc:13:26: error: expected '}' at end of input
   13 | cout << consonant <<endl;
      |                          ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include <bits/stdc++.h>

using namespase std;

int main() {



Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:13: error: expected '}' at end of input
    5 | int main() {
      |            ~^
Language: C++

#include<bits/stdc++.h>
using namespace std;

int main(){
  char c;
  cin>>c;
  if(c=="a"||c=="e"||c=="i"||c=="o"||c=="u"){
    cout<<"vowel"<<endl;
  }else{
    cout<<"consonant"<<endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:7: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if(c=="a"||c=="e"||c=="i"||c=="o"||c=="u"){
      |      ~^~~~~
a.cc:7:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if(c=="a"||c=="e"||c=="i"||c=="o"||c=="u"){
      |              ~^~~~~
a.cc:7:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if(c=="a"||c=="e"||c=="i"||c=="o"||c=="u"){
      |                      ~^~~~~
a.cc:7:31: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if(c=="a"||c=="e"||c=="i"||c=="o"||c=="u"){
      |                              ~^~~~~
a.cc:7:39: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    7 |   if(c=="a"||c=="e"||c=="i"||c=="o"||c=="u"){
      |                                      ~^~~~~
Language: C++

#include <iostream>
#include <string>
using namespace std;

int main(){
    char c;
    cin >> c;

    if ((c == "a") || (c=="i")||(c=="u")||(c=="e")||(c=="o")){
        cout << "vowel";
        return 0;
    }

    else{
        cout << "consonant";
    }

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    9 |     if ((c == "a") || (c=="i")||(c=="u")||(c=="e")||(c=="o")){
      |          ~~^~~~~~
a.cc:9:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    9 |     if ((c == "a") || (c=="i")||(c=="u")||(c=="e")||(c=="o")){
      |                        ~^~~~~
a.cc:9:35: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    9 |     if ((c == "a") || (c=="i")||(c=="u")||(c=="e")||(c=="o")){
      |                                  ~^~~~~
a.cc:9:45: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    9 |     if ((c == "a") || (c=="i")||(c=="u")||(c=="e")||(c=="o")){
      |                                            ~^~~~~
a.cc:9:55: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    9 |     if ((c == "a") || (c=="i")||(c=="u")||(c=="e")||(c=="o")){
      |                                                      ~^~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {

char sth;
cin >> sth;

if (sth == 'a', 'i', 'u', 'e', 'o')
cout << "vowel" << endl;

if (sth !== 'a' && sth !==  'i' && sth !==  'u' && sth !==  'e' && sth !==  'o')
cout << "consonant" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:11: error: expected primary-expression before '=' token
   12 | if (sth !== 'a' && sth !==  'i' && sth !==  'u' && sth !==  'e' && sth !==  'o')
      |           ^
a.cc:12:26: error: expected primary-expression before '=' token
   12 | if (sth !== 'a' && sth !==  'i' && sth !==  'u' && sth !==  'e' && sth !==  'o')
      |                          ^
a.cc:12:42: error: expected primary-expression before '=' token
   12 | if (sth !== 'a' && sth !==  'i' && sth !==  'u' && sth !==  'e' && sth !==  'o')
      |                                          ^
a.cc:12:58: error: expected primary-expression before '=' token
   12 | if (sth !== 'a' && sth !==  'i' && sth !==  'u' && sth !==  'e' && sth !==  'o')
      |                                                          ^
a.cc:12:74: error: expected primary-expression before '=' token
   12 | if (sth !== 'a' && sth !==  'i' && sth !==  'u' && sth !==  'e' && sth !==  'o')
      |                                                                          ^
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  char S;
  cin >> S;

  // ここにプログラムを追記
 if (S == 'a' || S == 'i' || S == 'u' || S == 'e' || S == 'o') {
 cout << vowel << endl;
 }
else {
cout << consonant << endl;
}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:10: error: 'vowel' was not declared in this scope
   10 |  cout << vowel << endl;
      |          ^~~~~
a.cc:13:9: error: 'consonant' was not declared in this scope
   13 | cout << consonant << endl;
      |         ^~~~~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
    char a[5]={'a','e','i','o','u'},k
    k=getchar();
    for(int i=0;i<5;i++){
        if(k==a[i]){
            cout<<"vowel"<<endl;
            return 0;
        }
    }
    cout<<"consonant"<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: expected initializer before 'k'
    5 |     k=getchar();
      |     ^
a.cc:7:12: error: 'k' was not declared in this scope
    7 |         if(k==a[i]){
      |            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  char x;
  cin >> x; // 変数sで入力を一行受け取る
 
 if((x = 'a')||(x = 'e')||(x = 'i')||(x = 'u')||(x ='o')){
   cout << "vowel" << endl; 
}
 else if{
   cout << "consonant" << endl;
}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:9: error: expected '(' before '{' token
   11 |  else if{
      |         ^
      |         (
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
  string c;
  cin >> c;
  if (c == 'a's || c == 'e's || c == 'i's || c == 'o's || c == 'u's)
    cout << "vowel" << endl;
  else
    cout << "consonant" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: unable to find character literal operator 'operator""s' with 'char' argument
    7 |   if (c == 'a's || c == 'e's || c == 'i's || c == 'o's || c == 'u's)
      |            ^~~~
a.cc:7:25: error: unable to find character literal operator 'operator""s' with 'char' argument
    7 |   if (c == 'a's || c == 'e's || c == 'i's || c == 'o's || c == 'u's)
      |                         ^~~~
a.cc:7:38: error: unable to find character literal operator 'operator""s' with 'char' argument
    7 |   if (c == 'a's || c == 'e's || c == 'i's || c == 'o's || c == 'u's)
      |                                      ^~~~
a.cc:7:51: error: unable to find character literal operator 'operator""s' with 'char' argument
    7 |   if (c == 'a's || c == 'e's || c == 'i's || c == 'o's || c == 'u's)
      |                                                   ^~~~
a.cc:7:64: error: unable to find character literal operator 'operator""s' with 'char' argument
    7 |   if (c == 'a's || c == 'e's || c == 'i's || c == 'o's || c == 'u's)
      |                                                                ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
  string c;
  cin >> c;
  if (c == ('a's || 'e's || 'i's || 'o's || 'u's))
    cout << "vowel" << endl;
  else
    cout << "consonant" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: unable to find character literal operator 'operator""s' with 'char' argument
    7 |   if (c == ('a's || 'e's || 'i's || 'o's || 'u's))
      |             ^~~~
a.cc:7:21: error: unable to find character literal operator 'operator""s' with 'char' argument
    7 |   if (c == ('a's || 'e's || 'i's || 'o's || 'u's))
      |                     ^~~~
a.cc:7:29: error: unable to find character literal operator 'operator""s' with 'char' argument
    7 |   if (c == ('a's || 'e's || 'i's || 'o's || 'u's))
      |                             ^~~~
a.cc:7:37: error: unable to find character literal operator 'operator""s' with 'char' argument
    7 |   if (c == ('a's || 'e's || 'i's || 'o's || 'u's))
      |                                     ^~~~
a.cc:7:45: error: unable to find character literal operator 'operator""s' with 'char' argument
    7 |   if (c == ('a's || 'e's || 'i's || 'o's || 'u's))
      |                                             ^~~~
Language: C++

#include<iostream>
using namespace std;
int main(void){
  
  char c;

  cin >> c;

  if(c == ‘a’ || c == ‘i’ || c == ‘u’ || c == ‘e’ ||
        c == ‘o’){
    cout << vowel << endl;
  }else{
    cout << consonant << endl;
  }

  return 0;
}

Compiler output:
a.cc:9:11: error: extended character ‘ is not valid in an identifier
    9 |   if(c == ‘a’ || c == ‘i’ || c == ‘u’ || c == ‘e’ ||
      |           ^
a.cc:9:11: error: extended character ’ is not valid in an identifier
a.cc:9:23: error: extended character ‘ is not valid in an identifier
    9 |   if(c == ‘a’ || c == ‘i’ || c == ‘u’ || c == ‘e’ ||
      |                       ^
a.cc:9:23: error: extended character ’ is not valid in an identifier
a.cc:9:35: error: extended character ‘ is not valid in an identifier
    9 |   if(c == ‘a’ || c == ‘i’ || c == ‘u’ || c == ‘e’ ||
      |                                   ^
a.cc:9:35: error: extended character ’ is not valid in an identifier
a.cc:9:47: error: extended character ‘ is not valid in an identifier
    9 |   if(c == ‘a’ || c == ‘i’ || c == ‘u’ || c == ‘e’ ||
      |                                               ^
a.cc:9:47: error: extended character ’ is not valid in an identifier
a.cc:10:14: error: extended character ‘ is not valid in an identifier
   10 |         c == ‘o’){
      |              ^
a.cc:10:14: error: extended character ’ is not valid in an identifier
a.cc: In function 'int main()':
a.cc:9:11: error: '\U00002018a\U00002019' was not declared in this scope
    9 |   if(c == ‘a’ || c == ‘i’ || c == ‘u’ || c == ‘e’ ||
      |           ^~~
a.cc:9:23: error: '\U00002018i\U00002019' was not declared in this scope
    9 |   if(c == ‘a’ || c == ‘i’ || c == ‘u’ || c == ‘e’ ||
      |                       ^~~
a.cc:9:35: error: '\U00002018u\U00002019' was not declared in this scope
    9 |   if(c == ‘a’ || c == ‘i’ || c == ‘u’ || c == ‘e’ ||
      |                                   ^~~
a.cc:9:47: error: '\U00002018e\U00002019' was not declared in this scope
    9 |   if(c == ‘a’ || c == ‘i’ || c == ‘u’ || c == ‘e’ ||
      |                                               ^~~
a.cc:10:14: error: '\U00002018o\U00002019' was not declared in this scope
   10 |         c == ‘o’){
      |              ^~~
a.cc:11:13: error: 'vowel' was not declared in this scope
   11 |     cout << vowel << endl;
      |             ^~~~~
a.cc:13:13: error: 'consonant' was not declared in this scope
   13 |     cout << consonant << endl;
      |             ^~~~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
char c;
cin >> c;

 if (c =="a" || c == "i" || c == "u" || c == "e" || c == "o" ){
    cout << "vowel" << endl;
 }

 else{
    cout << "consonant"  << endl;
 }

}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:8: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |  if (c =="a" || c == "i" || c == "u" || c == "e" || c == "o" ){
      |      ~~^~~~~
a.cc:8:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |  if (c =="a" || c == "i" || c == "u" || c == "e" || c == "o" ){
      |                 ~~^~~~~~
a.cc:8:31: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |  if (c =="a" || c == "i" || c == "u" || c == "e" || c == "o" ){
      |                             ~~^~~~~~
a.cc:8:43: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |  if (c =="a" || c == "i" || c == "u" || c == "e" || c == "o" ){
      |                                         ~~^~~~~~
a.cc:8:55: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |  if (c =="a" || c == "i" || c == "u" || c == "e" || c == "o" ){
      |                                                     ~~^~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
char c;
cin >> c;

 if (c ="a" || c = "i" || c = "u" || c = "e" || c = "o" ){
    cout << "vowel" << endl;
 }

 else{
    cout << "consonant"  << endl;
 }

}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:46: error: lvalue required as left operand of assignment
    8 |  if (c ="a" || c = "i" || c = "u" || c = "e" || c = "o" ){
      |                                          ~~~~^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
char c;
cin >> c;

if (c ="a" || c = "i" || c = "u" || c = "e" || c = "o" ){
  cout << "vowel" << endl;
}

else{
  cout << "consonant"  << endl;
}

}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:45: error: lvalue required as left operand of assignment
    8 | if (c ="a" || c = "i" || c = "u" || c = "e" || c = "o" ){
      |                                         ~~~~^~~~
Language: C++

char c;
cin >> c;

if (c ="a" || c = "I" || c = "u" || c = "e" || c = "o" ){
  cout << "vowel" << endl;
}

else{
  cout << "consonant"  << endl;
}

Compiler output:
a.cc:2:1: error: 'cin' does not name a type
    2 | cin >> c;
      | ^~~
a.cc:4:1: error: expected unqualified-id before 'if'
    4 | if (c ="a" || c = "I" || c = "u" || c = "e" || c = "o" ){
      | ^~
a.cc:8:1: error: expected unqualified-id before 'else'
    8 | else{
      | ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main () {
  int c;
  cin >> c;
  
  if(c == "a") {
    cout << "vowel" << endl;
  }
  
  if(c == "i") {
    cout << "vowel" << endl;
  }

  if(c == "u") {
    cout << "vowel" << endl;
  }

  if(c == "e") {
    cout << "vowel" << endl;
  }
  
  else if {
    cout << "consonant" << endl;
  }

}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:8: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |   if(c == "a") {
      |      ~~^~~~~~
a.cc:12:8: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   12 |   if(c == "i") {
      |      ~~^~~~~~
a.cc:16:8: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   16 |   if(c == "u") {
      |      ~~^~~~~~
a.cc:20:8: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   20 |   if(c == "e") {
      |      ~~^~~~~~
a.cc:24:11: error: expected '(' before '{' token
   24 |   else if {
      |           ^
      |           (
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main () {
  int c;
  cin >> c;
  
  if(c == a) {
    cout << "vowel" << endl;
  }

  if(c == i) {
    cout << "vowel" << endl;
  }

  if(c == u) {
    cout << "vowel" << endl;
  }

  if(c == e) {
    cout << "vowel" << endl;
  }

  else if {
    cout << "consonant" << endl;
  }

}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: 'a' was not declared in this scope
    8 |   if(c == a) {
      |           ^
a.cc:12:11: error: 'i' was not declared in this scope
   12 |   if(c == i) {
      |           ^
a.cc:16:11: error: 'u' was not declared in this scope
   16 |   if(c == u) {
      |           ^
a.cc:20:11: error: 'e' was not declared in this scope
   20 |   if(c == e) {
      |           ^
a.cc:24:11: error: expected '(' before '{' token
   24 |   else if {
      |           ^
      |           (
Language: C++

#include<bits/stdc++.h>
using namespace std;

int main(){
char c;
cin >> c;
if(c == 'a' || c == 'e' || c == 'i' || c == 'u' || c == 'o'){
cout << "vowel" << endl;
}
else{
cout << consonant << endl;
}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:9: error: 'consonant' was not declared in this scope
   11 | cout << consonant << endl;
      |         ^~~~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  char c;
  cin >> c;
  
  if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u' ||) cout << "vowel\n";
  else cout << "consonant\n";
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:66: error: expected primary-expression before ')' token
    8 |   if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u' ||) cout << "vowel\n";
      |                                                                  ^
Language: C++

#include <bits/stdc++.h>

using namespace std;

typedef long long ll;

const int N = 1e5;
const int INF = 1e9;



int main() {
    char c;
    cin >> c;
    char arr = {'a', 'e', 'i', 'o', 'u'};
    for (char z : arr)
        if (c == z)
            cout << "vowel", exit(0);
    cout << "consonant";
}



Compiler output:
a.cc: In function 'int main()':
a.cc:15:10: error: scalar object 'arr' requires one element in initializer
   15 |     char arr = {'a', 'e', 'i', 'o', 'u'};
      |          ^~~
Language: C++

#include <iostream>
int main(){char S;std::cin>>S;std::cout<<((S=='a'||S=='i'||S =='u'||S=='e'||S=='o')?"vowel":"consonant")<<endl;}

Compiler output:
a.cc: In function 'int main()':
a.cc:2:107: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    2 | int main(){char S;std::cin>>S;std::cout<<((S=='a'||S=='i'||S =='u'||S=='e'||S=='o')?"vowel":"consonant")<<endl;}
      |                                                                                                           ^~~~
      |                                                                                                           std::endl
In file included from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main(){
	char c[2];
	scanf("%s", s);
	if (c[0] == 'a' || c[0] == 'e'|| c[0] == 'i'|| c[0] == 'o' || c[0] == 'u')
		puts("vowel");
	else 
		puts("consonant");
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:21: error: 's' was not declared in this scope
    7 |         scanf("%s", s);
      |                     ^
Language: C

#include <stdio.h>
int main(void){
char s[1];
  scanf("%c",&s);
  if(s[0]=='a'||s[0]=='e's[0]=='i's[0]=='u's[0]=='o'){printf("vowel");}
  else{printf("consonant");}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:26: error: expected ')' before 's'
    5 |   if(s[0]=='a'||s[0]=='e's[0]=='i's[0]=='u's[0]=='o'){printf("vowel");}
      |     ~                    ^
      |                          )
Language: C++

#include<bits/stdc++.h>
using namespace std;
char a;
int main()
{
    cin>>c;
    if(c=='a' || c=='e' || c=='i' || c=='o' || c=='u')
        cout<<"vowel\n";
    else 
        cout<<"consonant\n";
    return 0;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:6:10: error: 'c' was not declared in this scope
    6 |     cin>>c;
      |          ^
Language: C++

#include<bits/stdc++.h>
using namespace std;

char c;

int main () {
  cin >> c;
  if ((c == a) || (c == i) || (c == u) || (c == e) || (c == o))
    cout << "vowel" << endl;
  else cout << "consonant" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: 'a' was not declared in this scope
    8 |   if ((c == a) || (c == i) || (c == u) || (c == e) || (c == o))
      |             ^
a.cc:8:25: error: 'i' was not declared in this scope
    8 |   if ((c == a) || (c == i) || (c == u) || (c == e) || (c == o))
      |                         ^
a.cc:8:37: error: 'u' was not declared in this scope
    8 |   if ((c == a) || (c == i) || (c == u) || (c == e) || (c == o))
      |                                     ^
a.cc:8:49: error: 'e' was not declared in this scope
    8 |   if ((c == a) || (c == i) || (c == u) || (c == e) || (c == o))
      |                                                 ^
a.cc:8:61: error: 'o' was not declared in this scope
    8 |   if ((c == a) || (c == i) || (c == u) || (c == e) || (c == o))
      |                                                             ^
Language: C++


int main() {
  char c;
  cin >> c;
  if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o') {
    cout << "vowel";
  }
  else {
    cout <<  "consonant";
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope
    4 |   cin >> c;
      |   ^~~
a.cc:6:5: error: 'cout' was not declared in this scope
    6 |     cout << "vowel";
      |     ^~~~
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout <<  "consonant";
      |     ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
char s;
int main()
{
	cin>>s;
	if(s=='a'||s=='e'||s=='i'||s=='o'||s=='u'){
		cout<<"vowel\n";
	}else cout<<"consonant\n";z
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:35: error: 'z' was not declared in this scope
    9 |         }else cout<<"consonant\n";z
      |                                   ^
Language: C++

#include<iostream>
using namespace std;
#include<vector>
#include<string>
 
int main(){
  sring s = "aioeu";
  string c;
  cin >> c;
  if(s.find(c) != string::npos){
    cout << "consonant" << endl;
  }
  else {
    cout << "vowel" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'sring' was not declared in this scope
    7 |   sring s = "aioeu";
      |   ^~~~~
a.cc:10:6: error: 's' was not declared in this scope
   10 |   if(s.find(c) != string::npos){
      |      ^
Language: C++

#include<iostream>
using namespace std;
#include<vector>
#include<string>

int main(){
  sring s = "aioeu";
  string c;
  cin >> c;
  if(s.find(c) != npos){
    cout << "consonant" << endl;
  }
  else {
    cout << "vowel" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'sring' was not declared in this scope
    7 |   sring s = "aioeu";
      |   ^~~~~
a.cc:10:6: error: 's' was not declared in this scope
   10 |   if(s.find(c) != npos){
      |      ^
a.cc:10:19: error: 'npos' was not declared in this scope
   10 |   if(s.find(c) != npos){
      |                   ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  char c;
  cin >> c;
  
  if(c=='a'||c=='e'||c=='i'||c=='u'||c=='o'){
    cout << "vowel" << endl;
  }
  else{
    cout << "consonant" << endl;
  }

Compiler output:
a.cc: In function 'int main()':
a.cc:13:4: error: expected '}' at end of input
   13 |   }
      |    ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  char c ;
  
  char a == 'a';
  char e == 'e';
  char i == 'i';
  char o == 'o';
  char u == 'u';
  
  cin >> c;

  if((c == a) || (c == e) || (c == i) || (c == o) || (c == u)){
  cout << "vowel" << endl;
  }

  else{
  cout << "consonant" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: expected initializer before '==' token
    7 |   char a == 'a';
      |          ^~
a.cc:8:10: error: expected initializer before '==' token
    8 |   char e == 'e';
      |          ^~
a.cc:9:10: error: expected initializer before '==' token
    9 |   char i == 'i';
      |          ^~
a.cc:10:10: error: expected initializer before '==' token
   10 |   char o == 'o';
      |          ^~
a.cc:11:10: error: expected initializer before '==' token
   11 |   char u == 'u';
      |          ^~
a.cc:15:12: error: 'a' was not declared in this scope
   15 |   if((c == a) || (c == e) || (c == i) || (c == o) || (c == u)){
      |            ^
a.cc:15:24: error: 'e' was not declared in this scope
   15 |   if((c == a) || (c == e) || (c == i) || (c == o) || (c == u)){
      |                        ^
a.cc:15:36: error: 'i' was not declared in this scope
   15 |   if((c == a) || (c == e) || (c == i) || (c == o) || (c == u)){
      |                                    ^
a.cc:15:48: error: 'o' was not declared in this scope
   15 |   if((c == a) || (c == e) || (c == i) || (c == o) || (c == u)){
      |                                                ^
a.cc:15:60: error: 'u' was not declared in this scope
   15 |   if((c == a) || (c == e) || (c == i) || (c == o) || (c == u)){
      |                                                            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  string c;

  if((c == a) || (c == e) || (c == i) || (c == o) || (c == u)){
  cout << "vowel" << endl;
  }

  else{
  cout << "consonant" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: 'a' was not declared in this scope
    7 |   if((c == a) || (c == e) || (c == i) || (c == o) || (c == u)){
      |            ^
a.cc:7:24: error: 'e' was not declared in this scope
    7 |   if((c == a) || (c == e) || (c == i) || (c == o) || (c == u)){
      |                        ^
a.cc:7:36: error: 'i' was not declared in this scope
    7 |   if((c == a) || (c == e) || (c == i) || (c == o) || (c == u)){
      |                                    ^
a.cc:7:48: error: 'o' was not declared in this scope
    7 |   if((c == a) || (c == e) || (c == i) || (c == o) || (c == u)){
      |                                                ^
a.cc:7:60: error: 'u' was not declared in this scope
    7 |   if((c == a) || (c == e) || (c == i) || (c == o) || (c == u)){
      |                                                            ^
Language: C++

#include <iostream>
#include <cstdlib>
#include <algorithm>
#include <vector>
#include <string>
#include <cmath>
#include <cassert>
#include <functional>
#include <string>
#include <sstream>
#include <cctype>
using namespace std;


int main(){
  vector<char> list = {a, i, u, e, o};
  char c; cin >> c;
  if(find(list.begin(), list.end(), c) == list.end()) cout << "consonant" << endl;
  else cout << "vowel" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:16:24: error: 'a' was not declared in this scope
   16 |   vector<char> list = {a, i, u, e, o};
      |                        ^
a.cc:16:27: error: 'i' was not declared in this scope
   16 |   vector<char> list = {a, i, u, e, o};
      |                           ^
a.cc:16:30: error: 'u' was not declared in this scope
   16 |   vector<char> list = {a, i, u, e, o};
      |                              ^
a.cc:16:33: error: 'e' was not declared in this scope
   16 |   vector<char> list = {a, i, u, e, o};
      |                                 ^
a.cc:16:36: error: 'o' was not declared in this scope
   16 |   vector<char> list = {a, i, u, e, o};
      |                                    ^
a.cc:16:37: error: could not convert '{<expression error>, <expression error>, <expression error>, <expression error>, <expression error>}' from '<brace-enclosed initializer list>' to 'std::vector<char>'
   16 |   vector<char> list = {a, i, u, e, o};
      |                                     ^
      |                                     |
      |                                     <brace-enclosed initializer list>
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  char c;
  cin >> c;
  if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o' || )
    cout << 'vowel'<< endl;
  else 
    cout << 'consonant' << endl;
}


Compiler output:
a.cc:8:13: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    8 |     cout << 'vowel'<< endl;
      |             ^~~~~~~
a.cc:10:13: warning: multi-character literal with 9 characters exceeds 'int' size of 4 bytes
   10 |     cout << 'consonant' << endl;
      |             ^~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:67: error: expected primary-expression before ')' token
    7 |   if (c == 'a' || c == 'i' || c == 'u' || c == 'e' || c == 'o' || )
      |                                                                   ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {

  cin >> s
 
  cout << "一行目 " << s << endl;
  cout << "二行目 " << t << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:10: error: 's' was not declared in this scope
    6 |   cin >> s
      |          ^
a.cc:9:24: error: 't' was not declared in this scope; did you mean 'tm'?
    9 |   cout << "二行目 " << t << endl;
      |                        ^
      |                        tm
Language: C++

#include <its/stdc++.h>
using Namespace std;
 
int main(){
           string str;
           cin >> str;
          if(str == "a" || str == "i" || str == "u" || str == "o" || str == "e"){
              cout << "vowel" << endl;
   }      else{
              cout << "consonant" << endl;
}
return 0;
}

Compiler output:
a.cc:1:10: fatal error: its/stdc++.h: No such file or directory
    1 | #include <its/stdc++.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <its/stdc++.h>
using Namespace std;
 
int main(){
           char chr;
           cin >> chr;
          if(chr == 'a' || chr == 'i' || chr == 'u' || chr == 'o' || chr == 'e'){
              cout << "vowel" << endl;
}
         else{
              cout << "consonant" << endl;
}
return 0;
}

Compiler output:
a.cc:1:10: fatal error: its/stdc++.h: No such file or directory
    1 | #include <its/stdc++.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <its/stdc++.h>
using Namespace std;

int main(){
           char chr;
           cin >> chr;
          if(chr == 'a' || chr == 'i' || chr == 'u' || chr == 'o' || chr == 'e'){
              cout << "vowel" << endl;
         else{
              cout << "consonant" << endl;
}}
return 0;
}


Compiler output:
a.cc:1:10: fatal error: its/stdc++.h: No such file or directory
    1 | #include <its/stdc++.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
  char c;
  cin >> c;
  if(c == a || c == o || c == e || c == u || c == i){
    cout << 'vowel' << endl;
  }
  else cout << 'coonsonant' << endl;
}

Compiler output:
a.cc:8:13: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    8 |     cout << 'vowel' << endl;
      |             ^~~~~~~
a.cc:10:16: warning: multi-character literal with 10 characters exceeds 'int' size of 4 bytes
   10 |   else cout << 'coonsonant' << endl;
      |                ^~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:11: error: 'a' was not declared in this scope
    7 |   if(c == a || c == o || c == e || c == u || c == i){
      |           ^
a.cc:7:21: error: 'o' was not declared in this scope
    7 |   if(c == a || c == o || c == e || c == u || c == i){
      |                     ^
a.cc:7:31: error: 'e' was not declared in this scope
    7 |   if(c == a || c == o || c == e || c == u || c == i){
      |                               ^
a.cc:7:41: error: 'u' was not declared in this scope
    7 |   if(c == a || c == o || c == e || c == u || c == i){
      |                                         ^
a.cc:7:51: error: 'i' was not declared in this scope
    7 |   if(c == a || c == o || c == e || c == u || c == i){
      |                                                   ^
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  string s;
  cin >> s;
  if (s == "a") {
    cout << vowel << endl;
  }
  else if (s == "i") {
    cout << vowel << endl;
  }
  else if (s == "u") {
    cout << vowel << endl;
  }
  else if (s == "e") {
    cout << vowel << endl;
  }
  else if (s == "o") {
    cout << vowel << endl;
  }  
  else {
    cout << consonant << end;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: 'vowel' was not declared in this scope
    8 |     cout << vowel << endl;
      |             ^~~~~
a.cc:11:13: error: 'vowel' was not declared in this scope
   11 |     cout << vowel << endl;
      |             ^~~~~
a.cc:14:13: error: 'vowel' was not declared in this scope
   14 |     cout << vowel << endl;
      |             ^~~~~
a.cc:17:13: error: 'vowel' was not declared in this scope
   17 |     cout << vowel << endl;
      |             ^~~~~
a.cc:20:13: error: 'vowel' was not declared in this scope
   20 |     cout << vowel << endl;
      |             ^~~~~
a.cc:23:13: error: 'consonant' was not declared in this scope
   23 |     cout << consonant << end;
      |             ^~~~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  string s;
  cin >> s;
  if (s.at(1) = "a" || s.at(1) = "e" || s.at(1) = "i" || s.at(1) = "u" || s.at(1) = "o") {
    cout << vowel << endl;
  }
  else {
    cout << consonant << end;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:72: error: lvalue required as left operand of assignment
    7 |   if (s.at(1) = "a" || s.at(1) = "e" || s.at(1) = "i" || s.at(1) = "u" || s.at(1) = "o") {
      |                                                                    ~~~~^~~~~~~~~~
a.cc:8:13: error: 'vowel' was not declared in this scope
    8 |     cout << vowel << endl;
      |             ^~~~~
a.cc:11:13: error: 'consonant' was not declared in this scope
   11 |     cout << consonant << end;
      |             ^~~~~~~~~
Language: C++

#include <bits/stdc++.h>
#define r(i,n) for(int i = 0; i<n; i++)
using namespace std;
 
int main() {
  char c;
  cin >> c;
  if(c=='a'||c=='e'||c=='i'||c=='o'||=='u') cout << "vowel" << endl;
  else cout<< "consonant" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:38: error: expected primary-expression before '==' token
    8 |   if(c=='a'||c=='e'||c=='i'||c=='o'||=='u') cout << "vowel" << endl;
      |                                      ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  char c;
  cin >> c;

  if(c == 'a' || c == 'i' || c == 'u' || c == 'e' || c== 'o') {
    cout << vowel << endl;
  }
  else {
    cout << consonant << endl;
  }

}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:13: error: 'vowel' was not declared in this scope
    9 |     cout << vowel << endl;
      |             ^~~~~
a.cc:12:13: error: 'consonant' was not declared in this scope
   12 |     cout << consonant << endl;
      |             ^~~~~~~~~
Language: C++

#include <iostream>
using namespace std;
int main(void){
    // Your code here!
    char  c;
    if(c == 'a' || c == 'e' || c == 'i' || c == 'u' || c == 'o' || ){
        cout << "vowel" << endl;
    }else{
        cout << "consonant" << endl;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:68: error: expected primary-expression before ')' token
    6 |     if(c == 'a' || c == 'e' || c == 'i' || c == 'u' || c == 'o' || ){
      |                                                                    ^
Language: C++

#includee<iostream>
using namespace std;
int main()
{
	char a;
	cin>>a;
	if(a=='a'||a=='e'||a=='i'||a=='o'||a=='u')
	cout<<"vowel";
	else cout<<"consonant";
	return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #includee; did you mean #include?
    1 | #includee<iostream>
      |  ^~~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:9: error: 'cin' was not declared in this scope
    6 |         cin>>a;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #includee<iostream>
a.cc:8:9: error: 'cout' was not declared in this scope
    8 |         cout<<"vowel";
      |         ^~~~
a.cc:8:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:14: error: 'cout' was not declared in this scope
    9 |         else cout<<"consonant";
      |              ^~~~
a.cc:9:14: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  char c;
  cin >> c;
  if (c = 'a' || c = 'e' || c = 'I' || c = 'o' || c = 'u') {
  cout << "vowel" << endl;
 }
else {
cout << "consonant" << endl;
}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:48: error: lvalue required as left operand of assignment
    7 |   if (c = 'a' || c = 'e' || c = 'I' || c = 'o' || c = 'u') {
      |                                            ~~~~^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  char c;
  cin >> c;
  if (c = 'a' || c = 'e' || c = 'I' || c = 'o' || c = 'u') {
  cout <<  ''vowel" << endl;
 }
else {
cout << "consonant" << endl;
}
}

Compiler output:
a.cc:8:12: error: empty character constant
    8 |   cout <<  ''vowel" << endl;
      |            ^~~~~~~
a.cc:8:19: warning: missing terminating " character
    8 |   cout <<  ''vowel" << endl;
      |                   ^
a.cc:8:19: error: missing terminating " character
    8 |   cout <<  ''vowel" << endl;
      |                   ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:48: error: lvalue required as left operand of assignment
    7 |   if (c = 'a' || c = 'e' || c = 'I' || c = 'o' || c = 'u') {
      |                                            ~~~~^~~~
a.cc:8:12: error: unable to find character literal operator 'operator""vowel' with 'char' argument
    8 |   cout <<  ''vowel" << endl;
      |            ^~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  char c;
  cin >> c;
  if (c = 'a' || c = 'e' || c = 'I' || c = 'o' || c = 'u') {
  cout << ''
}
}

Compiler output:
a.cc:8:11: error: empty character constant
    8 |   cout << ''
      |           ^~
a.cc: In function 'int main()':
a.cc:7:48: error: lvalue required as left operand of assignment
    7 |   if (c = 'a' || c = 'e' || c = 'I' || c = 'o' || c = 'u') {
      |                                            ~~~~^~~~
a.cc:8:13: error: expected ';' before '}' token
    8 |   cout << ''
      |             ^
      |             ;
    9 | }
      | ~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  char c;
  cin >> c;
  if (c = 'a' || c = 'e' || c = 'I' || c = 'o' || c = 'u') {
  cout <<  ''vowel" << endl;
 }
else {
cout << "consonant" << endl;
}


Compiler output:
a.cc:8:12: error: empty character constant
    8 |   cout <<  ''vowel" << endl;
      |            ^~~~~~~
a.cc:8:19: warning: missing terminating " character
    8 |   cout <<  ''vowel" << endl;
      |                   ^
a.cc:8:19: error: missing terminating " character
    8 |   cout <<  ''vowel" << endl;
      |                   ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:48: error: lvalue required as left operand of assignment
    7 |   if (c = 'a' || c = 'e' || c = 'I' || c = 'o' || c = 'u') {
      |                                            ~~~~^~~~
a.cc:8:12: error: unable to find character literal operator 'operator""vowel' with 'char' argument
    8 |   cout <<  ''vowel" << endl;
      |            ^~~~~~~
a.cc:12:2: error: expected '}' at end of input
   12 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
  char a;
  cin >> a;
  if(a == 'a' || a == 'b' || a == 'c' || a == 'd' || a == 'e' ){
    cout << vowel << endl;
  }else{
    cout << dhwuiahi << endl;
  }
}
  


Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: 'vowel' was not declared in this scope
    8 |     cout << vowel << endl;
      |             ^~~~~
a.cc:10:13: error: 'dhwuiahi' was not declared in this scope
   10 |     cout << dhwuiahi << endl;
      |             ^~~~~~~~