Search:

Type: Posts; User: MarlonDean

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    5,442

    Free Graphics Libraries -...

    Free Graphics Libraries - freeprogrammingresources.com seems to have a bunch of 2d graphic libraries for c++. I've never done graphics, so that is about as much help as I can offer. Good luck
  2. Replies
    2
    Views
    2,076

    Eof causes loop

    Hi People,

    Its been awhile since I worked on C++, but I am back on the horse again.

    My problem seems to be that EOF causes a loop.

    Example :

    I have a file with 3 lines of data, 50...
  3. Replies
    0
    Views
    1,212

    filtering a database

    Hi
    I have a paradox 7 table, CustomerDetails and I have a form with 2 radio buttons, FirstName & Surname, an Edit box and a dbgrid.

    Now i want the user to select what to search for ( Firstname or...
  4. Replies
    0
    Views
    885

    Which Data Access Technologies to use?

    Hi everyone,

    Its been a while since I have been on the forum, but I have returned once again. These days I am using CodeGear C++ 2009 builder as my IDE of choice, but now I need your advice. I am...
  5. Replies
    2
    Views
    1,632

    Brilliant Cyberfish!!! Seems I have been high on...

    Brilliant Cyberfish!!! Seems I have been high on something for the last two days... all my loops were nuts.. Thnks again
  6. Thread: Help in c++

    by MarlonDean
    Replies
    5
    Views
    1,301

    www.warebizprogramming.com/text/cpp/section6/part2...

    www.warebizprogramming.com/text/cpp/section6/part2.htm
  7. Replies
    2
    Views
    1,632

    Runtime error

    Hello everybody,

    I think i am having a problem with my compiler(or with my logic) since yesterday whenever I use a loop (for, while, do...while) the program gives the error:

    This application...
  8. Replies
    5
    Views
    1,686

    Ok so i have to put cin.ignore() in before the...

    Ok so i have to put cin.ignore() in before the while to test the input of pool... It works now, but im dont quiet understand why... why is cin.ignore() so important?
  9. Replies
    5
    Views
    1,686

    Thanks for the reply MacGyver, but that did not...

    Thanks for the reply MacGyver, but that did not solve the problem... any other idea?
  10. Replies
    5
    Views
    1,686

    Problems with getline

    I have a problem using getline in a loop. The first time that I have to enter a Address, it works. but from there on it just skips the cin for the rest of the gardens..



    void...
  11. Replies
    2
    Views
    2,077

    Expected primary expression

    void compare(WeatherReport Report);
    .
    .
    .
    for(i=0;i<DAYS;i++)
    {
    WeatherReport.compare(MonthlyReport[i]);
    }
    .
    .
  12. Ok sorry but i'm slow today - I need to pass an...

    Ok sorry but i'm slow today - I need to pass an array to the << operator, not just a single element... how will i do that?


    istream& operator>> (ifstream& ins, WeatherReport& report[i])



    or...
  13. friend istream& operator>> (ifstream& ins,...

    friend istream& operator>> (ifstream& ins, WeatherReport& report);
    .
    .
    istream& operator>> (ifstream& ins, WeatherReport& report)
    {

    ins.open("InputFile.dat");

    for(int i=0;i<DAYS;i++)
    ...
  14. because im a total idiot

    because im a total idiot
  15. Ok forget my last post: I figured it out- its...

    Ok forget my last post: I figured it out- its just like using a normal array (when you overload the << and >> operators



    for(i=0;i<DAYS;i++)
    {
    in_stream1>>MonthlyReport[i];
    }
    ...
  16. File handling with Array filled with a class

    OK - I have a any array of size 30. Each array element is a class that consists of 5 objects.

    i have declared it as follow


    WeatherReport MonthlyReport[DAYS];


    Now I want to read input...
  17. Replies
    6
    Views
    1,913

    ok- lets say I want to write the following friend...

    ok- lets say I want to write the following friend statement as a member function instead



    friend Pairs operator *(const Pairs& f, const Pairs& s);


    will it be something like
  18. Replies
    3
    Views
    1,170

    Ok so I use a constructor to ensure that there...

    Ok so I use a constructor to ensure that there isnt junk values stored in a variable. rather use the constructor to initialize a variable to zero than a random value like 43535
  19. Replies
    6
    Views
    1,913

    ok... I think I follow. what is the difference...

    ok... I think I follow. what is the difference between the declaration statements of a friend and of a member...
  20. Replies
    6
    Views
    1,913

    Friends and Members

    Ok, so I googled to see if I can see what the difference is between friends and members of a class, but all sites seem a little hazy....

    I think a friend has all the power of a member, so why ...
  21. Replies
    3
    Views
    1,170

    Constructors

    What is the proper decent way to use constructors (default as well). what purpose do they serve?

    I can use constructors on classes, but I am only retyping code not really sure what it means
    ...
  22. Replies
    3
    Views
    1,339

    Operator Overload

    Can someone please direct me to a nice, easy tutorial regarding the overloading of operators. My textbook isnt very clear and the sites i looked at seemed a bit too complex.

    Thanks!
  23. Replies
    2
    Views
    1,167

    Class linker error

    I get these errors when trying to compile this class


    class CDAccount
    {
    public:
    CDAccount(float Balance,float MatureBalance,float intrest,int term);//Constructor
    CDAccount(); //default...
  24. Replies
    4
    Views
    1,275

    Ok - so without using global varibales, this is...

    Ok - so without using global varibales, this is the only way? what if I dont want to pass sum to the function, but only the 2 ints? is that possible?
  25. Replies
    4
    Views
    1,275

    Logic problem

    Ok, i am busy learning recursion. I want a function that receives two int and add everyting from int a to int b. then it must return the sum


    double Function(int Start, int End)
    {

    int sum=0;...
Results 1 to 25 of 57
Page 1 of 3 1 2 3