0

I have a Code::Blocks project and the final executable is all that matters. It's written in C, but there is also a task that I cannot write in that language, so I'm doing it in Java.

My dilemma is how to link the java executable to my CodeBlocks binary? Copying the binary content obviously doesn't work.

That task is about sending emails, which has troubled me in C.

khellang
  • 17,550
  • 6
  • 64
  • 84
kundrata
  • 651
  • 3
  • 12
  • 24

1 Answers1

1

You can send emails in C, using libcurl, which is a network library. You can DuckDuckGo about libcurl emails and find some code.

P.S: The JVM is written in C, so why should it be impossible to send emails in C ?

Mathuin
  • 790
  • 1
  • 6
  • 13
  • actually i think the jvm is C++ – kundrata Jun 01 '13 at 16:52
  • According to [this](http://stackoverflow.com/questions/1220914/in-which-language-are-the-java-compiler-jvm-and-java-written), the "bootstrap" java compiler was written in C, then re-implemented in Java, and the runtime is written in C. C or C++, it doesn't matter, my point is still valid. – Mathuin Jun 02 '13 at 15:30