Freshman in an electronic engineering program

Click For Summary
SUMMARY

The discussion centers on the programming languages C and C++ within the context of an electronic engineering program. It is established that C is often required for programming certain hardware, particularly in embedded systems, where a real-time extension of C is commonly used. The recommended resource for learning C is the book "The C Programming Language" by Brian W. Kernighan and Dennis M. Ritchie, specifically the current edition. While C++ is a superset of C, its application may be limited in specific hardware scenarios.

PREREQUISITES
  • Understanding of C programming fundamentals
  • Familiarity with embedded systems concepts
  • Knowledge of real-time programming principles
  • Basic programming skills in C++ (optional for future learning)
NEXT STEPS
  • Read "The C Programming Language" by Kernighan and Ritchie
  • Explore embedded systems programming techniques
  • Research real-time operating systems (RTOS) and their applications
  • Learn about the differences between C and C++ in embedded contexts
USEFUL FOR

Students in electronic engineering programs, embedded systems developers, and anyone interested in mastering C programming for hardware applications.

exis
Messages
22
Reaction score
0
Hi,

I'm a freshman in an electronic engineering program in university. Throughout the course we're supposed to learn how to program using C. I was wondering if it would be a good idea to learn C++ on my own instead. From what I gather, C++ is a superset of C however I've also been told that some hardware can strictly be programmed only using C. Is this true? If yes, are there any C ebooks/books that you suggest I use to learn C?

Thanks in advance
 
Engineering news on Phys.org


exis said:
Hi,

I'm a freshman in an electronic engineering program in university. Throughout the course we're supposed to learn how to program using C. I was wondering if it would be a good idea to learn C++ on my own instead. From what I gather, C++ is a superset of C however I've also been told that some hardware can strictly be programmed only using C. Is this true? If yes, are there any C ebooks/books that you suggest I use to learn C?

Thanks in advance

I use C a lot for embedded system real-time programming. C++ would probably work as well, but the embedded systems I work with use a real-time extension of C, so C++ is not an option.

The standard textbook for C is K&R. The first edition left a lot to be desired, but the current edition is very complete and userul, IMO:

https://www.amazon.com/dp/0131103628/?tag=pfamazon01-20

.
 


C it is then... Thanks for replying berkeman
 


C and C++ are similar, it might be useful to pick up C++ later on.
 

Similar threads

  • · Replies 102 ·
4
Replies
102
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
86
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
Replies
2
Views
2K
  • · Replies 15 ·
Replies
15
Views
30K
Replies
7
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 11 ·
Replies
11
Views
5K