|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Senior Member
Iscritto dal: Nov 2004
Città: Napoli
Messaggi: 999
|
[Java e C] Inserire codice C in Java ??
Salve, ho un problema.
Devo scrivere del codice C e vorrei che poi sia possibile utilizzarlo in Java. Mi spiego meglio. Devo realizzare un plugin per imagej , e questo richiede l'implementazione java per utilizzare il metodo Run della classe PlugInfilter... ora come faccio a inserire nel Run codice fatto in C ?? grazie per le risposte
__________________
Intel Pentium IV 3,0 GHz, Asus P5SD2-X , 1.0 Gb ddr2, Radeon X550 , Maxtor 160Gb sata, Hitachi 100 gb pata,Piooner Dvr-109 ,Microsoft Windows XP Professional Service Pack 2 |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Apr 2000
Città: Vicino a Montecatini(Pistoia) Moto:Kawasaki Ninja ZX-9R Scudetti: 29
Messaggi: 53971
|
Devi realizzare l'interfacciamento tramite JNI: http://java.sun.com/javase/6/docs/technotes/guides/jni/
|
|
|
|
|
|
#3 |
|
Senior Member
Iscritto dal: Oct 2007
Città: Padova
Messaggi: 4131
|
Buon lavoro
__________________
As long as you are basically literate in programming, you should be able to express any logical relationship you understand. If you don’t understand a logical relationship, you can use the attempt to program it as a means to learn about it. (Chris Crawford) |
|
|
|
|
|
#4 |
|
Senior Member
Iscritto dal: Aug 2001
Città: San Francisco, CA, USA
Messaggi: 13827
|
__________________
GPU Compiler Engineer |
|
|
|
|
|
#5 |
|
Senior Member
Iscritto dal: Oct 2007
Città: Padova
Messaggi: 4131
|
Beh, non volevo spaventarlo, ma il senso era quello
Oddio, in realtà molto dipende da quanto codice C deve chiamare lato Java, magari sono solo due o tre funzioni, e se la cava facile. Ma visto che parla di integrare un plug in, forse no, io non ne ho idea.
__________________
As long as you are basically literate in programming, you should be able to express any logical relationship you understand. If you don’t understand a logical relationship, you can use the attempt to program it as a means to learn about it. (Chris Crawford) |
|
|
|
|
|
#6 |
|
Senior Member
Iscritto dal: Nov 2004
Città: Napoli
Messaggi: 999
|
in verità dovevo farlo per evitare di riprendere Java, è da un pezzo che nn lo uso...
ma mi sà che faccio ex-novo in java quello che va fatto... a proposito, devo gestire inserimento elementi e ricerca in alberi non binari... sicuramente c'è qualche classe che implementa già la gestione degli alberi, mi sapete dire quale please ?
__________________
Intel Pentium IV 3,0 GHz, Asus P5SD2-X , 1.0 Gb ddr2, Radeon X550 , Maxtor 160Gb sata, Hitachi 100 gb pata,Piooner Dvr-109 ,Microsoft Windows XP Professional Service Pack 2 |
|
|
|
|
|
#7 |
|
Senior Member
Iscritto dal: Oct 2007
Città: Padova
Messaggi: 4131
|
> Introduction to the Collection Framework
> Norbert Truchsess's Blog @ java.net: where is the Tree in java.util.Collections?
__________________
As long as you are basically literate in programming, you should be able to express any logical relationship you understand. If you don’t understand a logical relationship, you can use the attempt to program it as a means to learn about it. (Chris Crawford) |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 21:22.




















