473,541 Members | 12,795 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
2,355
thread by: Danny Deen | last post Jul 19 '05 by: Danny Deen
Hello everyone, --------------- I'm looking to buy any or all of the following MS-DOS compilers: ================================== ------------------------------------------ (I) Microsoft Development Tools for MS-DOS ------------------------------------------
0
1,138
thread by: John A. Parker | last post Jul 19 '05 by: John A. Parker
Good afternoon. We're in a bind due to our Actuate product upgrade requiring an obsolete version (v5.0.2.x) of "VisualAge C++ Professional for AIX". (The only alternative we have would be for us to spend days reprogramming our bolt-ons using JSP. (After we learned the language of course!)) We are working with IBM to get the requisite...
0
1,180
thread by: cpp_weenie | last post Jul 19 '05 by: cpp_weenie
Hello all, Can anybody provide a pointer to a good, self-contained test program for Loki? I'd like to find something that uses a number of the features in Loki and just try to build and run it on my platform... Thanks, Dave
0
1,770
thread by: raj | last post Jul 19 '05 by: raj
Hey all I have a base class that manages (Manager_class) different shapes. It has different arrays of Circle_class, Square_class and etc etc. All the shapes have a common base class Shape_class What I want do is a for_each for every Shape_class in Manager_class using std::for_each.
0
1,935
thread by: sasha.mal | last post Jul 19 '05 by: sasha.mal
Hello everybody! Could anyone help with a practical graph isomorphism algorithm, coded in C++ (C would also do), to work with genus bounded graphs of a bounded degree. Currently, any algorithm to work with planar graphs with degree bounded by 4 (on a quadratic grid) would also help.
0
1,214
thread by: Ristar | last post Jul 19 '05 by: Ristar
#include <stdio.h> #include <conio.h> #include <string.h> #include <stdlib.h> #include <windows.h>
0
2,954
thread by: slide_o_mix | last post Jul 19 '05 by: slide_o_mix
I have a class that has an array of function pointers as a member variable. I pass in function pointers in the constructor (these function pointers are to C functions). Later when I try and call the function, it says there is an error and my program crashes (assuming a memory problem). Here is a small example of what I am trying to do.
0
977
thread by: Alex | last post Jul 19 '05 by: Alex
I have a class that has an array of function pointers as a member variable. I pass in function pointers in the constructor (these function pointers are to C functions). Later when I try and call the function, it says there is an error and my program crashes (assuming a memory problem). Here is a small example of what I am trying to do. ...
0
2,059
thread by: Ryan M. Keith | last post Jul 19 '05 by: Ryan M. Keith
I am having a problem with the ostream operator in templated classes that I wrote (I'm using the Borland compiler), and I'm certain that the templates are the problem because when I remove the templating completely everything works perfectly. Here is the error message: Error: Unresolved external 'operator <<(std::basic_ostream<char,...
0
435
thread by: Ryan M. Keith | last post Jul 19 '05 by: Ryan M. Keith
In my previous post I forgot to include the main method: void main() { BinomialTree<int> myTree; cout << myTree; } Please see my previous post for the rest of the relevant code. Any help is greatly appreciated.
0
426
thread by: Arnaud.renouf | last post Jul 19 '05 by: Arnaud.renouf
c un test
0
1,387
thread by: Vincent Belliard | last post Jul 19 '05 by: Vincent Belliard
I introduce here a new Object Oriented Language: WO (Wholly Object). The specifications are finished. It's now in development. Several subset of this language have been tested successfully. You can find all the staff at www.openwo.org -- Vincent Belliard
0
4,520
thread by: mark lawler | last post Jul 19 '05 by: mark lawler
Ok, for my assignment all my classes are working now *hooray* and all I need to do is set up the reading from the command line so the user can input commands. Im using getline and a stringstream to achieve this, however I am not really achieving much at the moment. Basically it works once, but not the next time, as as you can see on the code...
0
1,062
thread by: Aman | last post Jul 19 '05 by: Aman
Hi, please consider the following prog (SunOS 5.8,g++ compiler) when I ran it through the debugger , I found that the program doesn't output till either the "\n" or the exit . (debugger ..Single stepping until exit from function _start ...) what does reaching exit or \n have to do with cout or ostream_iterator ? int main() {...
0
1,512
thread by: Prune Tracy | last post Jul 19 '05 by: Prune Tracy
Hello. As practice in programming using templates, and for interest's sake, I wrote some code to see how floating point numbers are stored on my system. I hoped to be able to use it like: std::cout << internal_rep(1.0F) << std::endl; std::cout << internal_rep(1.0) << std::endl; and it would give me a hexadecimal output of the bytes...
0
1,508
thread by: Joshua Hale | last post Jul 19 '05 by: Joshua Hale
MACHINISTA FESTIVAL - artificial intelligence in art - The Machinista festival celebrates artificial intelligence in the arts, presenting an international selection of works where the machine plays an essential role in the creative process. The first Machinista in 2003 featured - over 120 artists/filmmaker/programmers on the festival...
0
2,192
thread by: Sebastian Faust | last post Jul 19 '05 by: Sebastian Faust
Hi, I am thinking now for a while about a design decision. I would be glad if you can give me some advices which is maybe the better way for solving my problem. I wanna do something like described in the Bridge-Pattern. Therefore I have the following classes: Instrument InstrumentImpl InstrumentData
0
1,105
thread by: Yaron Bental | last post Jul 19 '05 by: Yaron Bental
could someone point me to the link/url of the "Pattern-Oriented Software Architecture: Patterns for Concurrent and Networked Objects" by Douglas C. Schmidt online? I bought it but don't want to wait till i get it... thanks very much, Yaron
0
1,425
thread by: manunam | last post Jul 19 '05 by: manunam
hi all, I am creating an ISAPI filter in VC++. this filter has to check the http client requests, and do some checks. First of all, when a client requests a file, the filter checks if the user exists in the db. This is done via the redefinition of the method OnPreprocHeaders of the MFC class CHttpFilter. In this method i check if the...
0
1,806
thread by: Oplec | last post Jul 19 '05 by: Oplec
Hello, I am learning the C++ programming language as a hobby. I have found some useful links such as the C++ FAQ Lite, Flipcode, Gamedev, and Gamasutra that are good for information/help. However, what I seek most are quality programming sites; some which are devoted to C++, and others that are online sources of information in regards to...
0
1,137
thread by: Bootstrap Bill | last post Jul 19 '05 by: Bootstrap Bill
Are there any freeware or open source C++ compilers for the 6809 that will run under Windows NT/XP and produce position independent code that will assemble under OS9 Level II?
0
1,274
thread by: Simon Elliott | last post Jul 19 '05 by: Simon Elliott
I have a class which uses a singleton to output progress messages for logging or display. It's typically used deep within a hierarchy of aggregations, inheritances and containers. The singleton keeps things nice and simple: the classes further up the hierarchy don't need to know about the mechanism used for handling progress messages. I now...
0
1,113
thread by: Jean Honorio C. | last post Jul 19 '05 by: Jean Honorio C.
Hi: My name is Jean Honorio, Magister in Business Administration candidate of the Universidad del Pacifico, Lima, Peru. As a part of my research thesis to get my grade of magister, I am studying the consumer behavior of the software component market. I would like to invite you to participate in a telephone interview about the things you...
0
1,606
thread by: AnuSree | last post Jul 19 '05 by: AnuSree
Hi I am getting error with push_back, some one please help me ASAP in this aspect here am sending the needful info. _______________ Class VarbindList:
0
2,985
thread by: Boris | last post Jul 19 '05 by: Boris
Hi, I saved a notepad textfile with "unicode" coding and tried this code: std::wifstream in( "test.txt" ); assert( in ); in.unsetf( std::wios::skipws ); std::wstring w = std::wstring( std::istream_iterator< wchar_t, wchar_t >( in ),

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.