Sambosa's blog

By Sambosa, history, 18 months ago, In English

So basically ive stumbled upon this website where I cant submit with c++ but, I can submit with java, python, javascript, swift, kotlin, c#, php, and dart. And I have no time to learn a new language and solve there. So is there anyway I can code with cpp in one of those languages?

Thanks.

  • Vote: I like it
  • +2
  • Vote: I do not like it

| Write comment?
»
18 months ago, # |
  Vote: I like it 0 Vote: I do not like it

get off your lazy ass and learn another language.

»
18 months ago, # |
  Vote: I like it 0 Vote: I do not like it

maybe learn python, but idk lets wait for the op homies to reply

»
18 months ago, # |
  Vote: I like it +1 Vote: I do not like it

no wonder you're fat

»
18 months ago, # |
  Vote: I like it 0 Vote: I do not like it

We discriminate against c++, we don't like it. System.out.print>>cout

  • »
    »
    18 months ago, # ^ |
      Vote: I like it +1 Vote: I do not like it
    template<class T>
    void println(T content)
    {
    	cout<<content<<"\n";
    }
    
    template<class T,class... Ts>
    void println(T content,Ts... rest)
    {
    	cout<<content<<" ";
    	println(rest...);
    }
    

    You're welcome

»
18 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Well, if ctypes or any foreign function library counts, then maybe you can.

But why do you really want to code in C++ without learning C++? Just, why?

  • »
    »
    18 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Maybe it wasnt so clear, I use cpp and I want to submit with another language, so I want to know if the languages i posted had like something within it so i can use cpp codes in them

    • »
      »
      »
      18 months ago, # ^ |
        Vote: I like it +1 Vote: I do not like it

      Most languages (excluding the libraries) you have listed can't be used with CPP codes. They simply aren't meant to be.