Go Back   CodingForums.com > :: Computing & Sciences > Computer Programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-14-2010, 01:43 AM   PM User | #1
Saintspader
New to the CF scene

 
Join Date: Feb 2010
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Saintspader is an unknown quantity at this point
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
Saintspader is offline   Reply With Quote
Old 02-14-2010, 02:04 AM   PM User | #2
Saintspader
New to the CF scene

 
Join Date: Feb 2010
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Saintspader is an unknown quantity at this point
I believe C++ is the best, does anyone think otherwise?
Saintspader is offline   Reply With Quote
Old 02-14-2010, 02:17 AM   PM User | #3
ShaneC
Codeasaurus Rex


 
Join Date: Jun 2008
Location: Redmond, WA
Posts: 659
Thanks: 31
Thanked 100 Times in 94 Posts
ShaneC is on a distinguished road
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
ShaneC is offline   Reply With Quote
Old 02-14-2010, 02:19 AM   PM User | #4
Saintspader
New to the CF scene

 
Join Date: Feb 2010
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Saintspader is an unknown quantity at this point
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?
Saintspader is offline   Reply With Quote
Old 02-14-2010, 02:24 AM   PM User | #5
oracleguy
Rockstar Coder


 
Join Date: Jun 2002
Location: USA
Posts: 9,043
Thanks: 1
Thanked 322 Times in 318 Posts
oracleguy is a jewel in the roughoracleguy is a jewel in the roughoracleguy is a jewel in the rough
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
oracleguy is offline   Reply With Quote
Old 02-14-2010, 02:31 AM   PM User | #6
Saintspader
New to the CF scene

 
Join Date: Feb 2010
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Saintspader is an unknown quantity at this point
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?
Saintspader is offline   Reply With Quote
Old 02-15-2010, 03:38 AM   PM User | #7
oracleguy
Rockstar Coder


 
Join Date: Jun 2002
Location: USA
Posts: 9,043
Thanks: 1
Thanked 322 Times in 318 Posts
oracleguy is a jewel in the roughoracleguy is a jewel in the roughoracleguy is a jewel in the rough
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
oracleguy is offline   Reply With Quote
Old 02-19-2010, 09:49 AM   PM User | #8
zeeshan_2011
New Coder

 
Join Date: Feb 2010
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
zeeshan_2011 is an unknown quantity at this point
In think c++ is the best.
zeeshan_2011 is offline   Reply With Quote
Old 02-19-2010, 06:59 PM   PM User | #9
hinch
Regular Coder

 
hinch's Avatar
 
Join Date: Sep 2005
Location: UK
Posts: 921
Thanks: 25
Thanked 79 Times in 79 Posts
hinch is on a distinguished road
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
hinch is offline   Reply With Quote
Old 02-22-2010, 03:07 PM   PM User | #10
Shauny_B
New Coder

 
Join Date: Feb 2010
Location: UK, North West
Posts: 36
Thanks: 0
Thanked 5 Times in 5 Posts
Shauny_B is an unknown quantity at this point
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
Shauny_B is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:53 PM.


Advertisement
Log in to turn off these ads.