I have never touched a language book in my life. I never wanted/needed to until now.
I have a great idea and I really would like a shot at it, but like I said, I know nothing =/.
One simple question: What language would be best to start learning to build an application in windows that is basically a browser, but also houses network communication?
Almost like a video game. It has a log in interface, houses a browser, and a method of communication all in one.
Well that's a very ambitious project for your first one. If you're doing it on Windows platform then yeah I'd say C++ is probably a pretty good bet.
Once you develop your C++ knowledge you may want to look for GUI frameworks such as Qt or wxWidgets that will cut down your GUI development time as well as offer code porting to other platforms (such as Mac, Linux, or mobile).
__________________ Unless otherwise stated, any code posted is most likely untested and may contain syntax errors.
My posts, comments, code, and suggestions reflect only my personal views.
Web Portfolio and Code Snippets: http://shanechism.com
C++ is a superset of C, the core ideas are the same. C++ has classes, function overloading and a few other features that C doesn't. As far as learning, it depends on your personal learning style to some degree. Learning programming requires doing, you can't just read about it. Doing small projects, little programs is a good way to get started. You can search this forum for older threads, we've talked about how to learn programming a ton and there is some good advice. I made a post a while ago with some links to other threads: http://www.codingforums.com/showpost...91&postcount=2
Thanks for the help, my other thread was a general question that led me into the right direction of application programming, thus I no longer post in web development but in computer programming. Sorry if this is an issue.
I'm not really sure which one to learn, it seems C is the oldest and somewhat not practical anymore. C++ seems smarter, and I have no clue what C# is.
Which language would be used in coding applications with web browsing and network communication?
Thanks for the help, my other thread was a general question that led me into the right direction of application programming, thus I no longer post in web development but in computer programming. Sorry if this is an issue.
No real issue, I was just making sure.
Quote:
Originally Posted by Saintspader
I'm not really sure which one to learn, it seems C is the oldest and somewhat not practical anymore. C++ seems smarter, and I have no clue what C# is.
C is older than C++ and C# however it is still commonly used. It is frequently used for support libraries because you can use a C library in a C++ program but not the other way around so it allows more widespread use. C is also commonly used for low level and embedded system programming because there is a closer relation between the C code and the machine instructions it turns into. Let me know if you don't know what that means.
C++ and C# are both object orientated programming languages (OOP). C# while syntactically similar to C++ is a separate language and fairly new (in comparison to C and C++). It is most commonly used with Microsoft's .NET framework. C and C++ based programs are easier to make cross platform which is why programs like browsers would prefer those languages.
Quote:
Originally Posted by Saintspader
Which language would be used in coding applications with web browsing and network communication?
A browser is made up of several distinct portions, the user interface (UI), the network communication, which sends and receives the HTTP requests and the rendering engine that turns the HTML & CSS code into what you actually see. This could be done in all three of the languages mentioned above. I personally would use OOP but it isn't mandatory.
if you do it in c# you can instance the IE browser and rendering engine as part of your code you can effectively write a basic browser in less than 10 lines of code
then all you'd have to do is write the networking facilities ontop of the basic browser.
again instancing sockets for a client > server process is considerably easier in c# than c++ (or C) as you can use alot of the default MS wrappers and classes for handling it and just use your own logic rather than having to worry about packet construction as you would in c++
__________________
A programmer is just a tool which converts caffeine into code
Honestly whilst you're relatively new to programming as C++ requires a lot of knowledge in the Windows API for forms etc...
C++ Windows Console apps maybe a good option for you, but speaking from the C# side all the Windows api is already pre done, so you just need to code say events on controls etc...
Learning C# gives you access to Console applications, Windows applications, and even Web applications development.
My opinion is that you learn C# as it's relatively similar to the likes of Java, VB.Net (as they both use the .Net platform and classes).