I got a nagging suspicion that this snippet of code was supposed to be within the constructor of CircleFrame. Although i have no idea where output1 and output2 comes from.
As for the random closing bracket (at the end of the snippet of code i mentioned), i think it can safely be erased.
- Registered Member
Member for 11 years, 11 months, and 11 days
Last active Sat, Sep, 20 2014 12:39:30
- 0 Followers
- 912 Total Posts
- 43 Thanks
Nov 27, 2013The whole of this part :Posted in: Hardware & Software Support
JMenu output = newJMenu("Output"); JMenuItem out1 = new JMenuItem(output1 + " is the radius"); JMenuItem out2 = new JMenuItem(output2 + " is the circumference"); output.add(out1); output.add(out2); }
Is invalid, as it is outside of any method or contructor.
Nov 19, 2013sankto posted a message on Need Staff for a New Voxel Game!, Like Minecraft..!Posted in: General Gaming
Nov 14, 2013Posted in: General GamingQuote from ArrogantLobster
You can like, walk out of your house and play the game.
11/10 graphics with no lag if I recall.
No no, you got it wrong. He's already in that game, but he's looking for a life sim game so that his RealLife character may have some fun.
Oct 14, 2013Posted in: General GamingQuote from Winter_Mage
Thank you guys but is directx9 compatible with most computers?
To answer you question, yes, kinda. Windows systems are all compatible with DX. DX9 is pretty much a standard by now.
If you have windows 7, you have DX9 (and probably better, too). Unless you have a prehistorical graphic card, the computer will be able use it.
As for the game, i'd like it if there was more to do than hunt for loots. There's quite a bit to work on.
Jul 8, 2013Posted in: Hardware & Software SupportQuote from SVGK
so.... monogame is the same in every way except it's being updated, it's not fully finished yet and it's open source?.
Yes, you can practically copy-paste XNA code to monogame's. Except you can't do XBLA games, obviously.
Also, since you asked earlier, knowing some math in game-making is very much important. Check the answer of this thread. For a start.
Of course, doing a simple / small game doesn't nearly require as much of math. But you may very well run into situations where some math formula would save you time and a mess of code.
Fortunately, you're not alone -- Often than not, googling your problems can net you a fair few pages of solutions.
Jan 28, 2013Posted in: Hardware & Software SupportQuote from freeautotyper
You can open it as resource by visual c++. If you can see MFC icon, it is build with C++, otherwise, it is build with C#.
"The art of not reading the first post and then misinterpreting everything" by freeautotyper, in a library nearby.
- To post a comment, please login.
Dec 9, 2013Posted in: Hardware & Software Support
Or we could not suggest crappy languages.
Nov 21, 2013Whoever said that Macs are faster is an idiot.Posted in: General Gaming
For $1000 you could get a Macbook Air, or a Lenovo Y510p.
Hint, the Y510p wins every time.
Gaming sucks on Macs.
Why people think Macs are faster is that there are so many PC's most people can't tell what's from what's bad. So they end up buying a crap PC and think "wow all PC's suck". When in actuality, a good PC will destroy a Mac any day of the week.
Heck, I just bought a PC for half the price of a Mac Mini and it's fantastic. And with a few tweaks on my end, will run even better than the Mac Mini for cheaper.
Mac's are for people who are computer illiterate. They are mediocre PC's however there is very little confusion and less crapware that needs to be dealt with (why do companies even put crapware on their computers anymore, it makes no sense to me). I recommend Mac's to my friends with lots of money and no computer knowledge. PC's to everyone else.
Nov 7, 2013Posted in: Computer Science and Technology
Yea, fast prototyping and scripting. Large source files and such start to hurt eyes when you look at large amounts of code. I've heard this from many other programmers
That's a personal kind of thing. It's not something that should figure into the usefulness or usability of a language.
Can you elaborate? Pointers are easy, they just point at data. The difficulty I had was I was overthinking, due to others who try to make them harder than set out to be (Ehem, C++ haters).
Pointers can be confusing to people starting out. Once you understand a bit better what is going on and how it's happening under the hood, pointers are incredibly useful. You yourself say you had difficulty, so it stands to reason a lot of people would have difficulty. This may be frustrating enough to some that they quit, which is what I'm trying to encourage against.
I'm not hating on C++ at all. It's incredibly useful and one of the more (theoretically) powerful languages there is.
C++ was my first language. It isn't low-level at all.
Do you even know what low-level means? It's one of the lowest level languages still in use today.
I honestly don't know what you mean by "legacy syntax". Seriously, you can use namespaces, classes, templates, etc. If you don't want to use them that's just you, don't try to judge a language by a select few who refuse to use common practices.
For example, cout << "Hello world!"
What's the purpose of <<? Why couldn't it have just been cout("Hello world!") like a normal function. As far as I'm aware, this derives from how C syntax was, and the fact that C++ was designed to be sort of a successor to C (being it's name is derived from C and its increment operator).
Memory management isn't a problem. Allocated memory should never be allocated with "new" and deleted with delete. Use smart pointers. You pass memory allocated with "new" to them and they'll manage your memory. Basically 100 percent foolproof, unless the OS decides to kill your program, and in that case all resources will be taken away anyway (even leaked memory). So it's basically like a GC.
Which is apparent to new-comers, how? You're talking about it from the point of someone who is experienced with computer science concepts in general. C++ is a fairly easy language to understand when you have experience with other languages. Starting with it is what I don't think is a good idea. Going with a higher level language is much better.
Oct 29, 2013Posted in: Hardware & Software Support
Just call a tech support and ask them to check your computer. DON'T go deleting things and ending processes. Clearly you don't have a very good idea of what you are doing so please don't make it any worse for yourself by trying to fix it yourself.Quote from Tasty_Toast_Son
I haven't closed either, but I should of cross-referenced that isass.exe. I hear it's 75% of the time infected/fake, or rarely legitimate from extensive Googling.
Safe mode sucks. I hope your poor soul NEVER has to use it.
I sure hope that one day you understand what it actually does and how it is useful.
This topic is titled "Common sense alert". Please use your common sense and don't go messing with what you don't actually understand.
Good luck anyway.
- To post a comment, please login.