473,544 Members | 550 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.
0
1,685
thread by: Carl Manson | last post Jul 22 '05 by: Carl Manson
Hi All, I am writing a complex print job solution that requires the printing of many HTML documents in an exactly defined order. Our application uses the IE WebBrowser control to render the documents, then fire them off to the printer. It is all fully automated, so no user interaction is required. However, some documents are larger...
0
2,852
thread by: Jonan | last post Jul 22 '05 by: Jonan
Hello, For several reasons I want to replace the built-in memory management with some custom built. The mem management itlsef is not subject to my question - it's ok to the point that I have nice and working allocation deallocation routines. However, I don't want to loose the nice extras of new operator, like - constructor calling,...
0
1,194
thread by: Steven T. Hatton | last post Jul 22 '05 by: Steven T. Hatton
If you are into 3d programming, you may be interested in this book: _Essential Mathematics for Games and Interactive Applications_ http://tinyurl.com/4wrl6 I just bought it on a lark. After looking it over, I have to say it looks to be well written. The reason I'm mentioning it here is because it comes with what looks to be a pretty nice...
0
951
thread by: Ab Slenny | last post Jul 22 '05 by: Ab Slenny
http://www.geocities.com/abslenny/
0
1,085
thread by: ScOe | last post Jul 22 '05 by: ScOe
I've made a container class over std::allocator. Also implement create, clear, push_back but i need some assistance on removing item from container. do i need to create empty container and than use push_back on all items except item i want to delete or is there any smoother way to do that ? would this do the job ? template <typename T>...
0
4,678
thread by: c++ | last post Jul 22 '05 by: c++
I wrote this code that should tell to the user who are the best processes to release a unit of a resource using the banker's algorithm #include<iostream> #include<conio> #include<stdio> #include<stdlib> void main()
0
1,243
thread by: christopher diggins | last post Jul 22 '05 by: christopher diggins
Greetings All, I have commenced work on the Object Oriented Template Library (OOTL) which is an open-source library which seeks to provide a more object-oriented alternative to the STL and Boost. The design emphasizes ease of use over efficiency. The hope is that eventually this library can make C++ better suited for agile software...
0
1,227
thread by: Stephan Keil | last post Jul 22 '05 by: Stephan Keil
Hi all, consider a class class X { static X& OneX() { static X sgl1; return sgl1; } static X& TheX() { static X sgl2(OneX()); return sgl2; } }; and two source files with global variables
0
976
thread by: ECS Automation Administrator | last post Jul 22 '05 by: ECS Automation Administrator
Subject: ECS: Elements of C++ Style Automation Testing C & C++ programmers We have written an expert system for ALL operating systems, and ALL C & C++ comilers to automatically verify that C and/or C++ code meets the requirements in the new book "Elements of C++ Style", by MBG If you would like to test this software please send some...
0
1,174
thread by: Web Science | last post Jul 22 '05 by: Web Science
Site and Features: http://www.eigensearch.com Search engine, eigenMethod, eigenvector, mathematical, manifolds, science, technical, search tools, eigenmath, Jacobian, quantum, mechanics, manifolds, science, physics, chemistry, law, legal, government, home, office, business, domain lookup, medical, travel, food, university students, searching,...
0
334
thread by: Jonathan Bartlett | last post Jul 22 '05 by: Jonathan Bartlett
I just finished an article on memory management you all might be interested in. It's based on C, not C++, but I think the information contained would be useful to you all, too. http://www.ibm.com/developerworks/linux/library/l-memory/ Jon ---- Learn to program using Linux assembly language...
0
897
thread by: Shuo | last post Jul 22 '05 by: Shuo
hi all! i want to monitor my network like the taskmanager. how can i do this from my c++ application?! thanks! best regards yang
0
963
thread by: Gonçalo Rodrigues | last post Jul 22 '05 by: Gonçalo Rodrigues
Hi all, I'm working around with smart pointers mostly as a learning exercise: I have a single-rooted hierarchy with the root class Object. Every Object has a member field count, the number of references to the Object, and a few methods for dealing with reference counts: getCount, incCount, decCount with the obvious meanings. To handle...
0
291
thread by: Generic Usenet Account | last post Jul 22 '05 by: Generic Usenet Account
I am "plugging in" a class type into an STL map definition and I am getting linker errors unless all my class definitions are defined in the header file, as opposed to a separate source file. This is happening on the following C++ compiler: gcc version 3.3.1 My question is whether this is standard behavior, or just a quirk of the compiler...
0
1,342
thread by: reynArd | last post Jul 22 '05 by: reynArd
"I can teach anyone how to get what they want out of life. The problem is I can't find anybody who can tell me what they want." -- Mark Twain "Today people in America can become whatever they want. Trouble is most don't know what they want." -- Earl Nightingale What do you want? Are you sick of the rat race? Are you tired of having someone else...
0
989
thread by: Yariv | last post Jul 22 '05 by: Yariv
Hi I need to create a class that represent IPv4 and IPv6. I thought about two options: 1. define an abstract base class, and derive two class, one implementing IPv4 and the other IPv6. 2. define a class with a union that contain an int32 (for ipv4) and 16 bytes array (for ipv6). The problem with the first option is that i need to use the...
0
1,211
thread by: I found this great little site | last post Jul 22 '05 by: I found this great little site
I found this great little site. I signed up two weeks ago and got 2 Disney tickets and this week they are sending me 2 Universal Studios tickets. Here's the link http://66.219.102.40/ and by the way I am a real person, this is my real email address. I'm not a spammer and didn't appreciate the nasty email I got last time I tried to post this link....
0
861
thread by: Gernot Frisch | last post Jul 22 '05 by: Gernot Frisch
template <class T> void SetAry(CComSafeArray< T >*& pSar, int num, T* pData) {} CComSafeArray<REAL> *pSs; REAL* Ss; SetAry(pSs, 6, Ss); Gives error:
0
959
thread by: Wes | last post Jul 22 '05 by: Wes
What are some good websites with example code and maybe some lessons for Visual C++ 6.0 ? I have looked around and found some ok sites, but I know there are some better ones out there. When I say better, I mean good examples of code and plenty of it. klimdab
0
1,115
thread by: Uzytkownik | last post Jul 22 '05 by: Uzytkownik
I don't know where and why the error is. Klasa.h: class Klasa1 { protected: int A, D, M, T; public: Klasa1(int a = -1, int d = -1, int m = -1, int t = -1); Klasa1(Klasa1&);
0
1,993
thread by: Hans Kiehn | last post Jul 22 '05 by: Hans Kiehn
Hi *, I'm debugging a crash in a very big and complex server application. This server run's fine for days and hours and suddenly crashes. I've spent 2 weeks of time now, but cannot find the problem. I believe that there is a method call with an already deleted objects causing the crash, something like
0
908
thread by: Jonathan Wolfson | last post Jul 22 '05 by: Jonathan Wolfson
Bjarne, your C++ language is really cool, but I have an idea: C# (C Sharp). If you're not cool with it, I can run it by Microsoft- they have this dot Net project which seems pretty cool. Thanks! By the way, hear about this new show called Seinfeld? It's really funny.
0
939
thread by: someone else | last post Jul 22 '05 by: someone else
hello I am currently working on a project that will be attractive to any company that has a database. it is somewhat similar to Microsoft Navision (http://www.microsoft.com/BusinessSolutions/Navision/default.aspx). however it is 2 tired. all the analysis is done in c++, while the GUI is done in VB.NET. the project includes a MySQL...
0
1,021
thread by: christopher diggins | last post Jul 22 '05 by: christopher diggins
The OOTL (Object Oriented Template Library) has just released its first public version, 0.1 through Sourceforge.net. The OOTL is an open-source library, released under the same license as Boost, which provides lightweight object-oriented alternatives to the C++ primitives and STL collections. The OOTL has its home page at http://www.ootl.org...
0
1,846
thread by: r_obert | last post Jul 22 '05 by: r_obert
Hello, I'm trying to create a worker thread for my VC++ program, and was wondering whether I should be linking with the Multithread /MT or Multithread DLL /MD option? I'm not quite sure, in layman's terms, what the difference is. When I build with Multithread DLL, the linker complains about not being able to find a bunch of "unresolved...

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.