Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 10 of 10
  1. #1
    New to the CF scene
    Join Date
    Feb 2010
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts

    What language could be the best to do this in?

    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.

    What language would fit this?

    Thank you

  • #2
    New to the CF scene
    Join Date
    Feb 2010
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I believe C++ is the best, does anyone think otherwise?

  • #3
    Codeasaurus Rex
    Join Date
    Jun 2008
    Location
    Redmond, WA
    Posts
    659
    Thanks
    31
    Thanked 100 Times in 94 Posts
    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

  • #4
    New to the CF scene
    Join Date
    Feb 2010
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Thanks for the reply. How do you suggest I start learning C++? Doesn't C come first?

    Any good books you recommend? Or video series?

  • #5
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    I assume this is related to your other thread?

    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
    OracleGuy

  • #6
    New to the CF scene
    Join Date
    Feb 2010
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts
    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?

  • #7
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Quote Originally Posted by Saintspader View Post
    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 View Post
    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 View Post
    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.
    OracleGuy

  • #8
    New Coder
    Join Date
    Feb 2010
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    In think c++ is the best.

  • #9
    Regular Coder hinch's Avatar
    Join Date
    Sep 2005
    Location
    UK
    Posts
    923
    Thanks
    25
    Thanked 80 Times in 80 Posts
    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

    My work: http://www.fcsoftware.co.uk && http://www.firstcontactcrm.com
    My hobby: http://www.angel-computers.co.uk
    My life: http://www.furious-angels.com

  • #10
    New Coder
    Join Date
    Feb 2010
    Location
    UK, North West
    Posts
    36
    Thanks
    0
    Thanked 5 Times in 5 Posts
    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).

    It's completely upto you,
    Shaun


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •