How much it useful to learn two compiler?

  • Thread starter Thread starter samieee
  • Start date Start date
  • Tags Tags
    Compiler
Click For Summary
SUMMARY

Learning to work with multiple compilers, specifically Turbo C and Visual C, enhances programming skills by providing flexibility in choosing the right tool for specific tasks. This dual-compiler approach prevents reliance on compiler-specific features, promoting better portability of code. However, caution is advised as Turbo C is considered outdated, potentially leading to the adoption of bad programming habits, especially when transitioning to modern C++ standards.

PREREQUISITES
  • Understanding of C programming fundamentals
  • Familiarity with Turbo C and Visual C compilers
  • Knowledge of compiler-specific features and their implications
  • Awareness of modern C++ standards and practices
NEXT STEPS
  • Research the differences between Turbo C and Visual C compilers
  • Learn about modern C++ standards and best practices
  • Explore compiler portability and cross-platform development techniques
  • Investigate common pitfalls of using outdated compilers in programming
USEFUL FOR

Students in computer science courses, C and C++ programmers, educators teaching programming languages, and anyone interested in compiler technology and software development practices.

samieee
Messages
67
Reaction score
0
hello

As I am doing c programming course in this semester, our course instructor told today that we will use turbo C in theory class and visual c in lab to compile our written programmes.Now the question that arose in my mind, is it useful to learn to work with two compilers?In which way can I be benefited from learning two compilers?
 
Technology news on Phys.org
If you have two tools you know how to use, then you can use the one better for any particular job. :wink:

Also, it will help you avoid falling into the trap of relying on compiler-specific features, and then being totally lost if you ever have to write something portable, or if you're stuck using a different compiler.



That said, isn't Turbo C rather antiquated? I'd be afraid you'd be learning bad habits or even an incorrect version of the language -- especially if you were writing C++. Modern C++ is practically an entire different language than it was 20 years ago.
 
Turbo C++? Blast from the past, that is for sure. Though I just threw out my copies of old compilers this year. ( my wife finally put her foot down ). I had 3 versions of Borland compilers, 5 Versions of Microsoft, including QuickC. The 2 versions of Zortech C++ I kept.
 

Similar threads

Replies
6
Views
3K
  • · Replies 29 ·
Replies
29
Views
4K
  • · Replies 20 ·
Replies
20
Views
3K
Replies
59
Views
10K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K