dexter
Members-
Content Count
142 -
Joined
-
Last visited
About dexter
-
Rank
Advanced Member
- Birthday 06/11/1986
Contact Methods
-
Website URL
http://Nunce yet.
Profile Information
-
Location
Queensland, Australia
-
Interests
Programming, mostly, and playing old-school games. :)
-
Borland C++ 5.02 OpenGL Programming That's what my searching came up with. I'm afraid I can't help any further in regards to Borland. Though, if you do have a choice in compiler/IDE, then Dev-C++ IDE with the MingW g++ compiler has a simple system for setting up OpenGL. Basically, install the IDE, then go to the menu to add packages and find the OpenGL package. It is possible that NeHe's OpenGL site has some info on that sort of thing.
-
dexter started following Directed/undirected Graph Structures A discussion on the topic., Opengl how to..., Newbie In C++ But It's In My University need help for exam :( and and 6 others
-
Newbie In C++ But It's In My University need help for exam :(
dexter replied to anima's topic in Programming
Out of interest... does no-one buy text books for their studies, or even hit their university libraries? Does your uni even provide recommended readings or some sort of study materials? Just something I've been wondering because I'm stunned by the number of people that ask the same question.On topic, though, most of those links seem ok. Just googling for C++ tutorial will provide a million and one links anyway. -
Er, upgrade your compiler?
-
The problem is the way you constructed your if statement. This: // The parentheses are not needed around the strings. // They do nothing, nor even make it more readable.if(subDesc = strstr("Slazenger Classic Racquet", "Slazenger") != NULL) Is exactly the same as saying: if(subDesc = (strstr("Slazenger Classic Racquet", "Slazenger") != NULL)) Currently it is trying to assign to subDesc whether or not the return of strstr is equal to NULL. This doesn't fly. This is because assignments have the last priority. A correct way of constructing that assignment would be: if((subDesc = strstr("Slazenger Classic Racquet", "Slazenger")) != NULL) Whenever you use assignment in an if statement -always- wrap the assignment part in parentheses before doing the comparison.
-
Here is an excellent article about C++. It says everything (and more) I wanted to say about the language. C++ in the Real World
-
That is for starting programmers and average programmers. Like I said before, the need for -excellent- programmers is high. Which is why you need to put a lot of effort in becoming good at what you do. Heh. The industry has become a lot more standards orientated since then. You'll find that those sort of jumps will occur over much longer periods of time given the amount of people that also have to make the change.
-
Halloween And Christians Its origin and, should we celebrate it?
dexter replied to wild20's topic in General Discussion
It's really a no-brainer. Just about all "Christian" holidays are just modifications of older pagan holidays. Christmas is based on a Roman holiday around the same time of year where they would give little idols and such to each other. A holiday at easter time has been celebrated since the Egyptians. As for Halloween, I live in Australia like FuChelle... I really the whole idea is ridiculous. In fact, I abuse people who think it'd be cool to do Halloween.Speaking of which... it's about that time, isn't it? -
I'd say find something you're interested in, research it, and learn how to code it. The best way to learn is to practice, and it helps when it is on something you are interested in.
-
Okay, there is no arugment about the best language for coding games. C++ wins every time. And in terms of college, kvarn, you will not master it at college. It is in the hours of projects and experiments (and probably real experience) that you will master it. The idea of college is to teach you a broad range of building blocks on which you can quickly add to when you get out into the real world.
-
Bah, looks like I half started two different thoughts and missed finishing them. I do apologise for the double post.Anyway, in the jobs section, I was starting to say that I was going down the research type path, since in my time at university, this is what stood out to me as what I would like to do. Currently my big interest is in evolutionary algorithms, neural networks and other such stuff (especially optimization problems). And the way things are going, I could be looking down the barrel of an academic position researching these sorts of things.And the unfinished thing about C++ was that a lot of educational institutions find students have difficulty learning C++. But like everything in the computer science world: everyone blames different things (the language, student's aptitude, student's motivation, etc...). I still stand by what I said, though, if you can master C++ it won't be difficult to move on to other languages.
-
Well, I'm impressed. The majority of young people that are interested in and starting programming all want to be games developers. And yeah, games development isn't the greatest thing to do as a programmer. In my opinion, anyway . And yeah, family tend to have difficulty understanding the urge sit and code. Especially when you're in the midst of learning the basics of the language and all you've got to show is some text printed to the screen . Jobs Jobs for programmers are everywhere. Most larger companies use software that is developed in-house, so they have an IT department which handles the creation and maintenance of that software. Then there are companies that specialise in writing specific software for companies. The majority of the software ever written you will never hear or see in your lifetime. Not only that, but more and more things are requiring programmers. Mobile phones now run their own operating systems. Automatic bank tellers, checkouts at stores. Then you have these "smart" fridges, dishwashers and cars. Then there is also the possibility of research, whether it be for a university or with Google, someone has to design tomorrow's technologies. I personally am going down this So yeah, there are a lot more job opportunites (and more awesome things) out there than games development. There are even more if you are a -good- programmer. Languages C++: Pour your heart and soul into this before you even look at Java. If you can program well in C++ then you'll be more than able to program well in other languages. It combines both the structured and object-orientated paradigms. Because it is derived from C, it is a lot closer to the system. C++ is used for all sorts of applications, from really low-level system tools to GUI based apps. A very flexible language. That said, C++ is one of the more difficult languages to master. A lot of educational institutions have difficulty with students C: Also a must learn, but easy to pick up on how it differs once you've learnt C++. A system level language, operating systems are generally writting in C and Assembly. Compilers also seem to be written in C more than anything else. That said, it is quite possible to write GUI apps in C, it just doesn't provide the object-orientated facilities that C++ does. Java: This language is purely object orientated and platform independent. Fantastic for programs to be run straight of web pages as applets, and excellent for writing GUI apps. When you get there, use Eclipse as an IDE, very impressive. For all its benefits, I'm violently opposed to it being taught as a first programming language (let me know if you want me to go into more detail if I haven't bored you already ). VB: Most anything you can do with pure VB (not the stuff you use inside Access), you can do better and faster in Java. For the point and click GUI building, there are a number of tools available for Java (a plugin for Eclipse, NetBeans). PHP: Used for server-side applications and dynamic web content. Good if you're into that sort of thing. With that all said and done, language preferences are argued about by the "experts". Everyone feels slightly differently. Some have had better or worse experiences. I for instance, cut my teeth on C++, and prefer using it as it feels more natural to me. Other people might find other languages preferable. The other thing with languages is that they all are better at doing certain specific things. Just like Java and GUIs, C and OSs. Mixing and matching languages is also a good thing. Erk, looks like I've gotten a little overexcited . I tend to do that when I get talking about programming. I love this stuff so let me know if I've missed anything, or you aren't actually bored and have more questions. Cheers.
-
# Nessus - OS vulnerability scanner. Huge database of vulnerabilities. http://www.tenable.com/products/nessus-vulnerability-scanner
-
This site has some interesting implementation ideas for graph structures. One thing to note is that they build it from previous objects on the page, so it won't be perfect as-is, and somewhat obfuscated: Data Structures and Algorithms with Object-Oriented Design Patterns in C++ There are a -lot- of websites around with info about graphs, 'directed graph structure C++' in google brings up a lot of results. I also found Sedgewick's 'Algorithms in C++' very useful, too, if you can get your hands on it. I'm going to start a new thread with some more details here.
-
Directed/undirected Graph Structures A discussion on the topic.
dexter posted a topic in Programming
On off-shoot of another topic: This site has some interesting implementation ideas for graph structures. One thing to note is that they build it from previous objects on the page, so it won't be perfect as-is, and somewhat obfuscated: Data Structures and Algorithms with Object-Oriented Design Patterns in C++ There are a -lot- of websites around with info about graphs, 'directed graph structure C++' in google brings up a lot of results. I also found Sedgewick's 'Algorithms in C++' very useful, too, if you can get your hands on it. With the graph representation, it looks like you've taken the linked list approach. In my particular implementation, I had an array of vertices(nodes) and an array of edges(links). A vertex containing specific information about that location, and an edge as two references of two nodes specifying a link from one node to another. Although, you could always go down the path of representing the graph as a matrix. The other thing to take note of is that an undirected graph can also be represented by a directed graph. Heh, this aggravated me for weeks while I was trying to find the perfect way to implement it. Out of interest, define 'school'... it seems like a rather advanced topic. -
Woah. You have to code a simulation of a mesh network in C++? Sounds to me like you're going to have to develop a graph structure to be able to deal with that.It's a bit off-topic for this thread, though, you might want to start a new one and I'd certainly be interested to discuss it. Anyway, in the meantime, I'll go and find some pages that I found really handy when I was doing pathfinding and had to build an undirected graph to store the nodes and their paths.