So now I know C i thought I would make all my java programs faster.
But when I try to run them inside of C they dont seem to work.
Please help!
Printable View
So now I know C i thought I would make all my java programs faster.
But when I try to run them inside of C they dont seem to work.
Please help!
You did something wring. Hope that helps.
A typo, actually.
Seriously, how do you expect us to help you with absolutely no details. We aren't psychic.
I know my question was a little bit brief but I cannot give away my source code, it's too precious.
I'm sure you are nice guys really but you might steal it and then I am losing money.
I don't have a license for it yet but when I do it will probably be a very expensive one.
Do you understand now? Please help.
Your error is on line 36 of your main() function.
Seriously, unless you're a troll, you need to tell us what exactly "does not work".
If you called a mechanic on the phone and just told him "my car doesn't work", what would you expect the mechanic to do or say?
Regards,
Paul McKenzie
A funny thread after a long time! :p:DQuote:
I'm sure you are nice guys really but you might steal it and then I am losing money.
biffta, open other threads in this forum. Programmers post their code fragments and describe what exactly doesn't work. Of course, we are here to steal crappy code which is not working, but posting 1 of 10000 lines here is the price you need to pay.
BTW, don't ask me what to do if your project contains 15000 lines. I don't know exactly. Maybe post 1.5 lines :)
Looks like the game's up, I was only pulling you legs! I hope no one will begrudge me for wasting too much of their time. Thanks for all the responses, I was astonished anyone even took the time to try and answer my initial Q. You really must be nice guys! ;-)
P.S. I really am a Java dev who just installed Visual C++ this week!
I just want to know how you are even attempting to "Run Java programs inside of C"...
What, you dropped your Java code into an editor window and tried to build it?
Maybe running Java programs inside of C++ gives better results...
it seems to be he did that
ok that's some differences between c++ and java
java code
you can't write this in c++ you write it like this in c++Code:Person per=new Person();
here we use pointerCode:Person* per=new Person();
and we must delete it like this
but in java we needn't to do this yourselfCode:delete per;
java not c++
there are alot of difference