0

how do I import Jframe?

Imports

10th Jul 2016, 8:48 PM
Charlie Stephenson
Charlie  Stephenson - avatar
15 odpowiedzi
+ 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.
10th Jul 2016, 10:22 PM
Stefan
Stefan - avatar
0
You don't, as you are in C++.
10th Jul 2016, 8:56 PM
Stefan
Stefan - avatar
0
so what is the use of using c++ when I can do more in Java??
10th Jul 2016, 9:00 PM
Charlie Stephenson
Charlie  Stephenson - avatar
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?
10th Jul 2016, 9:03 PM
Stefan
Stefan - avatar
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.
10th Jul 2016, 9:09 PM
Charlie Stephenson
Charlie  Stephenson - avatar
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.
10th Jul 2016, 9:16 PM
Stefan
Stefan - avatar
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?
10th Jul 2016, 9:22 PM
Charlie Stephenson
Charlie  Stephenson - avatar
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.
10th Jul 2016, 9:27 PM
Garme Kain
Garme Kain - avatar
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.
10th Jul 2016, 9:30 PM
Stefan
Stefan - avatar
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.
10th Jul 2016, 9:30 PM
Garme Kain
Garme Kain - avatar
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?
10th Jul 2016, 9:36 PM
Charlie Stephenson
Charlie  Stephenson - avatar
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.
10th Jul 2016, 9:37 PM
Stefan
Stefan - avatar
0
@Garme, I will try that. thank you.
10th Jul 2016, 9:38 PM
Charlie Stephenson
Charlie  Stephenson - avatar
0
Thank you Stefan.
10th Jul 2016, 9:40 PM
Charlie Stephenson
Charlie  Stephenson - avatar
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.
10th Jul 2016, 9:47 PM
Charlie Stephenson
Charlie  Stephenson - avatar