0
how do I import Jframe?
Imports
15 Respostas
+ 1
No problem. Just keep an open mind about programming languages. Over time you will get to know the nuances that make the programming languages well suited for one purpose and not-so-well suited for others. Programmers tend to favor the programming language they know the best. This often leads to long and biased discussions. Just remember that there's still a reason why C, C++ or even assembler are used. And the reason is not stupidity or laziness to convert to Java.
Btw, don't take my last message as "I know better". Mentioning my experience was not supposed to "force you into submission". It was a simple way of saying that I want you to not dismiss my argumentation easily.
The argumentation should still be plausible without knowing that I'm experienced. It should be able to stand on its facts alone.
0
You don't, as you are in C++.
0
so what is the use of using c++ when I can do more in Java??
0
Why are you posting such a question in a C++ forum? Are you trying to troll people with your rather, let's say, "uninformed" question?
0
Don't get an attitude, I was just merely wondering what the difference is because I have been taught Java but not learnt C++ before and to me C++ seems a little redundant when you have other languages out there that can do a better job. I just don't see the use for C++ yet.
0
Well, to be honest your perspective might not be broad enough. There are problems that are solved with C++ more efficiently than, say Java. That's why your "question" "Why use C++ if you can do more in Java" is rather opinionated from the start. C++ and Java do things differently. For some problems using Java is the better option for others it's C++ or python or assembler etc ... it depends on the problem you need to solve.
0
OK, Thank you. that just leaves me with one last question, so does it all combine together in the end into a HTML document to create a good website or program?
0
For creating a good website, the bases are html, css, js and php. C++ or java are not meant to be web based programming languages, although you could create a program that creates the source code of the webpage.
0
@Charlie: Why would you restrict solving problems with computers to making great websites? There's a gigantic amount of other application fields out there. Have you wondered in which programming language the Java Virtual Machine is written? It's C... because it compilers produce highly optimized code.
0
Also, try doing
void myFun(int a = 0, float b = 1, double c = 2, unsigned d = 3) {...}
in Java without overloading the heck out of the myFun function.
0
oh, I see now, the HTML, JavaScript, CSS and PHP are scripting languages and C and Java are functional languages used mainly for programs?
0
I will stop answering to this now. Posting is just feeding into it. I think I laid out my argumentation. This argumentation is a culmination of years of experience in practice and research in different programming languages as C++, Java and python. So it's from an abstract perspective on programming and problem solving with computers.
0
@Garme, I will try that. thank you.
0
Thank you Stefan.
0
You guys obviously understand that I am just a baby in programming taking baby footsteps and trying to leap, thank you for all the feedback every little comment helps me grow.