473,840 Members | 1,558 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C / C++ Forum

C / C++ programming language - Get answers to questions about compilers, visual C++, templates, namespaces, classes, data structures, OOP (object-oriented programming), inheritance, data types, exceptions, Standard Template Library (STL) and the C Standard Library.
2
7,000
thread by: foo | last post Jul 19 '05 by: foo
I'm creating a debug class called debug_mem_allocation for the purpose of finding memory leaks. I used macro's to replace the new and delete operators. My problem is with trying to replace the delete operator with a macro. I can't replace the delete operator by using void* as the first parameter, because then my code will not be able to...
0
2,989
thread by: Thaddeus L Olczyk | last post Jul 19 '05 by: Thaddeus L Olczyk
http://www.dtek.chalmers.se/groups/icfpcontest/ The ICFP cvompetition has been gaining momentum over the last few years and is now probably considered the ultimate test of a groups programming ability. It's about time C++ won! -------------------------------------------------- Thaddeus L. Olczyk, PhD Think twice, code once.
3
2,547
thread by: Craig Joyce | last post Jul 19 '05 by: John Harrison
Hi!, I want to make a class that may do the following: class T { ...... } int main()
1
2,797
thread by: Evan | last post Jul 19 '05 by: Howard Hinnant
Chandra Shekhar Kumar <chandra.kumar@oracle.com> wrote in message news:<3EF64860.3FCC6E7F@oracle.com>... > donot use dude pointers ...use smart pointer instead There's a problem with this approach. You have three options for using smart pointers: 1) Use the standard library's auto_ptr, 2) Use one from another library, or 3) Write your...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.