Lost Password?


Go Back   CodeCall Programming Forum > Software Development > C and C++

C and C++ C and C++ forum for discussing all forms of C except for C#. These languages are powerful low level languages used for creating Operating Systems, Device Drivers, compilers and much more.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-05-2006, 07:46 PM
JBull JBull is offline
Newbie
 
Join Date: Aug 2006
Posts: 2
Rep Power: 0
JBull is on a distinguished road
Default 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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 08-05-2006, 11:15 PM
smith smith is offline
Programmer
 
Join Date: Jun 2006
Posts: 108
Rep Power: 9
smith is on a distinguished road
Default

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";
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-06-2006, 12:39 AM
JBull JBull is offline
Newbie
 
Join Date: Aug 2006
Posts: 2
Rep Power: 0
JBull is on a distinguished road
Default

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-06-2006, 11:24 AM
Void's Avatar   
Void Void is offline
Programming Expert
 
Join Date: Jun 2006
Posts: 411
Rep Power: 12
Void is on a distinguished road
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 08-06-2006, 08:33 PM
Lop's Avatar   
Lop Lop is offline
Speaks fluent binary
 
Join Date: May 2006
Posts: 1,149
Rep Power: 18
Lop will become famous soon enoughLop will become famous soon enough
Default

Yeah, I've never seen any 2005 tutorials out there. Are there any?
__________________
Lop
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 08-07-2006, 06:50 PM
WingedPanther's Avatar   
WingedPanther WingedPanther is offline
Super Moderator
 
Join Date: Jul 2006
Age: 35
Posts: 3,421
Last Blog:
wxWidgets is NOT code ...
Rep Power: 37
WingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to beholdWingedPanther is a splendid one to behold
Default

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.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Programming is a branch of mathematics.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy Program Language to Learn george89 General Programming 20 08-01-2008 12:08 AM
Best Language to Learn? icepack General Programming 38 07-30-2008 07:29 PM
What language to Learn? mevets General Programming 20 12-20-2006 10:04 AM
How do you learn a programming language? Dan Software Development Tools 14 08-09-2006 08:12 PM
Is PHP the best web programming language to learn? Kaabi PHP Forum 9 07-05-2006 10:20 PM


All times are GMT -5. The time now is 11:30 AM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 101%


Complete - Celebrate!

Ads