Search:

Type: Posts; User: ddavidson

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,299

    I think that there may be a bit mask function...

    I think that there may be a bit mask function that you can use.

    Not quite sure you may want to look into this.
  2. Replies
    4
    Views
    1,411

    Try and post some more code Perhaps check the...

    Try and post some more code

    Perhaps check the design of your table in the db for compatibilty with your SQL statement.

    If you are inserting you may want to use"insert into" after opening with...
  3. Replies
    10
    Views
    2,316

    Show some code All characters are represented...

    Show some code

    All characters are represented in memory by a numeric assignment.
    For example "F" is represented by 38 in the ASCII character set,
    "f" is represented by 102.

    You may have to...
  4. some code

    some code
  5. Thread: confused

    by ddavidson
    Replies
    10
    Views
    1,832

    Ooops My Bad!! Here is a hint for you ...

    Ooops

    My Bad!!

    Here is a hint for you

    S3.insert(3, s4, 0, string::npos); will insert "s4" at location 3 in the string s3.


    In other words You insert in your case "er" before s3's third...
  6. Thread: confused

    by ddavidson
    Replies
    10
    Views
    1,832

    What does Your Variable Temp[i] hold? If...

    What does Your Variable Temp[i] hold?


    If length of the word >7 then
    word=word+er

    to make word=word+7 you can use the strcpy, strcat functions
  7. Replies
    12
    Views
    1,432

    Age has nothing to do with anything If you...

    Age has nothing to do with anything

    If you have a aptitude and a love of doing it, you will find the time to do it.
    If you love doing it, it will become easy for you, and your skills will...
  8. Replies
    5
    Views
    1,650

    Do you have any pseudocode that we may look at?

    Do you have any pseudocode that we may look at?
  9. Replies
    10
    Views
    1,840

    Try cleaning up some space on your drive. The...

    Try cleaning up some space on your drive.
    The problem may be there is not enough room for the linkage.

    Since you say that all the files were compiled without errors and the errors are external to...
  10. Replies
    13
    Views
    1,658

    #using namespace std with your cin lines:...

    #using namespace std


    with your cin lines:
    "firstroom"
    "glint"
    "plant"
    These are declared as strings
  11. Replies
    2
    Views
    1,153

    App was compiled and run without errors!

    App was compiled and run without errors!
  12. Replies
    2
    Views
    1,297

    Class building is the base class All other...

    Class building is the base class
    All other classes are derived from Building

    All I'm trying to to is to and print the derived classes with the values assigned in main thru overloaded...
  13. Replies
    2
    Views
    1,297

    Create objects

    //base class building definition.

    #ifndef BUILDING_H
    #define BUILDING_H

    #include <iostream.h>

    class building
    {
  14. Try '\r' This should prevent advancement to...

    Try '\r'
    This should prevent advancement to the next line
  15. Replies
    1
    Views
    1,391

    Private member functions in PlaneList?

    Private member functions in PlaneList?
  16. Replies
    2
    Views
    1,239

    One solution you may want to try is to nest the...

    One solution you may want to try is to nest the loops and print one line.
    Another is to read the data into an array then print each line of the array using your format
  17. Replies
    2
    Views
    1,370

    constructors/destructors in exception

    Hey there

    Can someone explain how constructors/destructors work in exception handling?

    Thks.
  18. Replies
    9
    Views
    1,316

    Wow Is that repetitve or what? Perhaps you...

    Wow

    Is that repetitve or what?

    Perhaps you may want to look at using switch and increment or decrement your bits...

    Based on the octet value
  19. Replies
    23
    Views
    3,147

    Try removing or replacing double qoutes to single...

    Try removing or replacing double qoutes to single or seperating the variables with just commas " , ". and jdinger may be right.
    You need [9][4].

    You are inputting as strings and may need the null...
  20. Replies
    2
    Views
    1,994

    Just curious? Was the problem in casting your...

    Just curious?
    Was the problem in casting your variables?
  21. Replies
    2
    Views
    1,022

    Initializing constants

    Someone holler back at me!!

    Constants cannot or should not be modified, right?

    Let's suppose you have

    class Increment {
    public :
    Increment(int c=0, int 1=1); // non-const...
  22. Thread: Inheritance

    by ddavidson
    Replies
    10
    Views
    1,554

    This brings up another question Is the only...

    This brings up another question

    Is the only way to redefine by using derived classes to call virtual functions?

    Am I right in assuming that this could be the concept of polymorphism?

    In the...
  23. Thread: Inheritance

    by ddavidson
    Replies
    10
    Views
    1,554

    THANKS FOR THAT EXAMPLE by the way the text is...

    THANKS FOR THAT EXAMPLE

    by the way the text is Deitel & Deitel "C++:How to program"
    I had to re-read it a couple of times and my picture is becoming unfogged..
  24. Thread: Inheritance

    by ddavidson
    Replies
    10
    Views
    1,554

    Inheritance

    My text is useless in this area

    I need clearer picture of Inheritance with pointers.

    Can someone give me a brief synopsis or example
  25. Thread: File write

    by ddavidson
    Replies
    10
    Views
    1,463

    file write

    if((FilePtr = fopen("Output.dat","w+b")) == NULL) //open output file//
    {
    printf("Error : File could not be opened.");
    exit(1);
    }

    for (count=5; count>=0; count--)
    {...
Results 1 to 25 of 34
Page 1 of 2 1 2