Computer problems,Computer help
*AX SOFT>>>Programming & Design

Is C++ important to know in Engineering?


I am considering taking a course in C++ this summer but I don't know how beneficial it will be to me when I start on Mechanical Engineering this Fall. What kinds of programming should mechanical engineers be familiar with? I know MATLAB, and some Java.

C++ is being used more and more with embedded systems. Even some real-time systems depend on it. Off hand, if you really know Java, I'd say stick with that language until you it becomes more clear. Obviously, it couldn't hurt to know C++. In many cases, I prefer C++ over Java due to the shear speed, fine control it enables, and you can even slip into assembly language if required.

Also, at some point you may encounter Mechanical Engineering simulations. Many of these systems are coded in C++. If you lean more toward the academic and research end, it may come in handy with your Graduate School studies.

Note: BalRog, I didn't know there is a Fortran 2003 standard now; I'll have to take a new look. The last one I used was Fortran '95 and the first was Fortran IV. Fortran does compile very well and can be as fast as C/C++.

rwid and Bronco,

Yes there is a 2003 standard but I don't know much about it. All the fancy math features that I mentioned in my answer have been in the language since Fortran 90. Report It

It's unlikely that you'll ever need to know a programming language as a mechanical engineer.

In the event that your company needs an embedded system programmed or something of that sort, they'll hire someone with a Computer Science degree to do that work

No C++ is useful to Computer Engineers.

Wow, when my younger brother was studying ME in the mid-1980's he DEFINITELY needed to know how to write programs (unlike what some others are saying here). I know because I helped him with more than one of them. But back then he needed to know Fortran, not C++.

Of course, throughout the 1990's and this decade a lot of the big Fortran scientific and engineering codes have been ported to C++ or replaced by C++ equivalents.

And maybe today MEs use packaged math programs like Mathematica or MATLAB instead of writing small custom programs; heck, I know one engineer who says he does matrix calculations using Excel spreadhseets. So maybe you don't NEED it, but I still really think you would have a leg up if you took a course in C++.

Now on the other hand... even if it is "past its prime" modern *Fortran* does have a lot to recommend it:
鈥?Straightforward syntax for higher math, including a built-in matrix/vector addition, dot product, and matrix multiply
鈥?Input and output formats for scientific and engineering notation
and, in general,
鈥?A science/engineering "attitude" about it that you just don't find in other languages.

So you might consider taking a course in Fortran 2003 instead... if you can find one.

Tags
  General - Computers & Internet   Software   Security   Programming & Design   Facebook   Flickr   Google   MSN   MySpace
Related information
  • Oracle 10g - Environment Variable - WINDOWS?

    What SID did you use when you set up Oracle? I think it defaults to ORCL. Try set ORACLE_SID=ORCL at the command prompt and if that works set it permanently via your control panel. If you can�...

  • Staring your own website?

    Since you don't' have much knowledge you could start with a blog. Try wordpress ...

  • Java Programming: List/Itterated Merge Sort?

    Just replace the arrays in this code with a java.util.List and then use the List's iterator in the for-loops. public class Mergesort { /** * The main method illustrates the use of ...

  • While statement?

    #include <iostream.h> int main() { short int x; cout <<(x)<<endl; //Most compilers automatically assume the variable is the large possible number unless defined. but the below ...

  • How do you make a myspace or website backround?

    Thats simple. All you have to do is go to hotfreelayouts.com and look over all of the different backgrounds that are availible. When you find the one that you want, copy the code and paste it at th...

  • [C#] How do I get the name of the current program's namespace as a string?

    Hello, Okay, now the question is a understandable. :) You have to recall that an application may or may not have an namespace, it is optional, but it is best to use it for organization and many ...

  • How do you "reinstall" Zwinky?

    i would leave zwinky alone i think it has spyware and all sorts of crap that you dont want

    ...
  • Shall I take C#/C++ or Visual Basic for AVR Programming?

    well since you do assembly then learning any other of the said languages will be easy for you, given your situation I'd say go for C/C++!

    ...
  •  

    Categories--Copyright/IP Policy--Contact Webmaster