home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / c / 19496 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  1.1 KB

  1. Xref: sparky comp.lang.c:19496 comp.lang.c++:18889
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!usc!aludra.usc.edu!not-for-mail
  3. From: dliao@aludra.usc.edu (David Liao)
  4. Newsgroups: comp.lang.c,comp.lang.c++
  5. Subject: C/C++ Speed
  6. Date: 10 Jan 1993 11:15:17 -0800
  7. Organization: University of Southern California, Los Angeles, CA
  8. Lines: 20
  9. Distribution: usa
  10. Message-ID: <1ipsk5INNf5m@aludra.usc.edu>
  11. NNTP-Posting-Host: aludra.usc.edu
  12.  
  13.     Two programmers are writing the same program but with different
  14. languages which are C and C++.  These two programmers are experts in 
  15. their own programming language.  Hmm... which program will run faster
  16. than the other?
  17.  
  18.     I've heard that the execution speed of C++ tends to be slower
  19. than C.  I know that C++ can make the life of programmer easier, but
  20. I just want to know if the C program will run faster than the C++ program.
  21.  
  22.     I also heard the size of C++ program is generally bigger than C.
  23. I am a C programmer trying to learn C++.  So, don't blame me if I have 
  24. created any misconception about C++.
  25.  
  26.  
  27. David Liao
  28. dliao@aludra.usc.edu
  29. University of Southern California
  30.     
  31.  
  32.  
  33.