TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Frank Adam
from: Paul Edwards
date: 1996-08-25 18:03:52
subject: Passing a var.

FA> I'm in the process of making up a library, that may have more than one 
FA> copies running at any time. If i do it in C i'll have to have a number of 
FA> instances of the struct and pass it to the functions.
FA> If i find that it slows execution too much i may have to opt for C++ and 
FA> classes, 

Show me the C++ code you think would be slower if written in C. Or better
still, write both the C and C++ versions, and have a look at the assembler
generated for each, and look at the relative code.  They should be the same
(speedwise).  BFN.  Paul. 
@EOT:

---
* Origin: X (3:711/934.9)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.