Hi guys, can I use C syntaxt in C++? I mean for example can I use char* , strlen , etc as in C?
I'm asking if C++ supports what C provides!
thanks alot
Hi guys, can I use C syntaxt in C++? I mean for example can I use char* , strlen , etc as in C?
I'm asking if C++ supports what C provides!
thanks alot
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
I will read it ! but a lil question I wasn't specified in my question and sorry for that.
what I'm facing is hastable in my question and I'M programming it in C, so because there's need for hashtable, I will use C++ configuration for using hashtable library, and just for using hashtable ! nothing else.
I don't want to use C++ inheritance bla bla .. just for hashtable that's already found ! (btw I know there's open source in C for using hashtable as explained ..but more easy to use already submitted library as found in C)
It can be done, but is a bad idea unless you are proficient in both C and C++, and unfortunately in my estimation you are proficient in neither, sorry. It would be better for you to just use a C library for your hash table. If you really want to use a C++ component, learn and use C++ properly.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
Why aren't you allowed to use open source projects?
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)