Closed Thread
Results 1 to 6 of 6

Thread: For Windows, was is the best language to learn?

  1. #1
    JBull Guest

    For Windows, was is the best language to learn?

    Hello, I'm new to this forum and have questions about getting started programming Windows applications.

    What should I learn? Visual C++ or Visual Basic or C# ? I hear that C++ is being replaced by C#.

    I have experience mostly with ANSI standard C (that's what they taught in college in 1994). In the past I have always used Notepad to edit the code, then compiled, linked and executed using a DOS command prompt. I have never programmed a Windows application that uses dialog boxes, graphical displays, etc.



    I am not a computing professional - I work as a chemist. So I will be programming as a hobby in the Windows environment. I dont care much about programming for web pages like CGI Perl or anything along those lines.

    Thanks for your advice.

  2. CODECALL Circuit advertisement

     
  3. #2
    smith is offline Programmer
    Join Date
    Jun 2006
    Posts
    153
    Rep Power
    0
    Hey and welcome to the forum!

    I think C++ would be your best bet. I would go with Visual Studio 2005 C++. And no, C# will not replace C++. C++ will be best for you because you already know ANSI.

    C# would be my second choice if I were you. C# is very good for RAD (Rapid Application Development) and is fairly similar to C++.

    I'm not a fan of VB at all so I never recommend it.

    Also, check out these threads:
    http://forum.codecall.net/programmin...age-learn.html

    http://forum.codecall.net/programmin...ogramming.html
    Code:
    for (int i;;) {
       cout << "Smith";
    }

  4. #3
    JBull Guest
    I downloaded Visual C++ Express 2005 from Microsoft today. Its free from the Microsoft site.

    I like the editor and debugger. However my old programs had errors when compiling. My old compiler gets no errors with the same code. For example I had to change
    main()

    to

    int main()

    And other annoyances.
    Is it possible to use Microsoft Visual C++ but only write code in "regular" C? Or will this impose severe limitations to my pogramming?

  5. #4
    Void's Avatar
    Void is offline Programming Expert
    Join Date
    Jun 2006
    Posts
    410
    Rep Power
    23
    Hey JBull. Yes, the new VS2005 uses Managed C++ and is different than ANSI. If you write only ANSI you will not be able to create your controls using the form editor. I'd go ahead and learn how to write using 2005. And another thing, if you go searching to 2005 tutorials you won't find any but you will find a plethora of 2003. The two languages differ a lot and most of the code wont compile in 2003. What you can do is find 2003 code and then what doesn't compile search up on MSDN to see what is wrong. You can also just get a book.
    Void

  6. #5
    Lop's Avatar
    Lop
    Lop is offline Speaks fluent binary
    Join Date
    May 2006
    Posts
    1,178
    Rep Power
    30
    Yeah, I've never seen any 2005 tutorials out there. Are there any?

  7. #6
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143
    Some additional comments: Depending on what your old compiler was, it may not have been very standards compliant, so allowed illegal things through. For example, you should always use int main() in C++, even though it's not important for C.

    Also, it's important to realize you are talking about three different things: C is a predecessor language to C++. Visual C++ is C++ with additional libraries for doing GUI work, among other things. VC++ is also an IDE with an eye towards the VC++ libraries.

    Personally, I would recommend that you learn ANSI/ISO C++ first, and then worry about VC++ or some other resource. There are plenty of resources for doing graphical and other tasks that are not part of the C++ language and are completely free or open-source.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. what language should i learn??
    By smithmiller6 in forum General Programming
    Replies: 6
    Last Post: 03-06-2010, 06:29 AM
  2. What language to learn
    By uperkurk in forum General Programming
    Replies: 18
    Last Post: 11-09-2009, 09:51 AM
  3. What new language should I try to learn?
    By Coder Zombie in forum General Programming
    Replies: 10
    Last Post: 01-11-2009, 02:42 AM
  4. Best Language to Learn?
    By icepack in forum General Programming
    Replies: 38
    Last Post: 07-30-2008, 04:29 PM
  5. What language to Learn?
    By mevets in forum General Programming
    Replies: 20
    Last Post: 12-20-2006, 07:04 AM

Tags for this Thread

Bookmarks

Posting Permissions

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