|
||||||
| 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. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
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. |
| Sponsored Links |
|
|
|
|||
|
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";
}
|
|
|||
|
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? |
|
|||||
|
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. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |
| 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 |