-
October 6th, 2009, 09:37 AM
#1
Experienced Java coder now using Vis C++
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!
-
October 6th, 2009, 09:45 AM
#2
Re: Experienced Java coder now using Vis C++
You did something wring. Hope that helps.
-
October 6th, 2009, 09:52 AM
#3
Re: Experienced Java coder now using Vis C++
Originally Posted by Lindley
You did something wring. Hope that helps.
What's 'wring'? Do I have to link with that or something?
-
October 6th, 2009, 10:01 AM
#4
Re: Experienced Java coder now using Vis C++
A typo, actually.
Seriously, how do you expect us to help you with absolutely no details. We aren't psychic.
-
October 6th, 2009, 10:03 AM
#5
Re: Experienced Java coder now using Vis C++
Originally Posted by biffta
What's 'wring'? Do I have to link with that or something?
I guess Lindley meant "wrong", not "wring".
Read your own question. Do you expect to get help by asking your question that way? You have to be specific as to what doesn't work, not just say "it doesn't work".
Regards,
Paul McKenzie
-
October 6th, 2009, 10:08 AM
#6
Re: Experienced Java coder now using Vis C++
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.
-
October 6th, 2009, 10:13 AM
#7
Re: Experienced Java coder now using Vis C++
Originally Posted by biffta
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
-
October 6th, 2009, 11:20 AM
#8
Re: Experienced Java coder now using Vis C++
I'm sure you are nice guys really but you might steal it and then I am losing money.
A funny thread after a long time!
-
October 6th, 2009, 11:31 AM
#9
Re: Experienced Java coder now using Vis C++
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
-
October 6th, 2009, 11:41 AM
#10
Re: Experienced Java coder now using Vis C++
Originally Posted by biffta
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!
Well, Java isn't C, so I wouldn't expect them to compile and work.
Viggy
-
October 6th, 2009, 11:42 AM
#11
Re: Experienced Java coder now using Vis C++
Originally Posted by Ajay Vijay
A funny thread after a long time!
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!
-
October 6th, 2009, 11:42 AM
#12
Re: Experienced Java coder now using Vis C++
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?
-
October 6th, 2009, 11:45 AM
#13
Re: Experienced Java coder now using Vis C++
Maybe running Java programs inside of C++ gives better results...
-
October 6th, 2009, 04:44 PM
#14
Re: Experienced Java coder now using Vis C++
Originally Posted by rdrast
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?
it seems to be he did that
ok that's some differences between c++ and java
java code
Code:
Person per=new Person();
you can't write this in c++ you write it like this in c++
Code:
Person* per=new Person();
here we use pointer
and we must delete it like this
but in java we needn't to do this yourself
java not c++
there are alot of difference
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|