Search:

Type: Posts; User: tabl3six

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. "That's especially true if community colleges are...

    "That's especially true if community colleges are as cheap and good in Illinois as they are here in California. "
    >>>They are reasonable, and decent. The one I linked I've taken AutoCAD courses...
  2. Certificate program local community college...

    ...would this be worthwhile or should I stick to independent study. I have a degree in Engineering, but it's not in Computer Sciences. I'm thinking this could be of help if I consider to make a...
  3. Replies
    12
    Views
    1,888

    Thanks for the pep talk guys; needed that. I'm...

    Thanks for the pep talk guys; needed that. I'm probably a bit overwhelmed and overreacting.

    I'll take it slow and eventually I hope all will be revealed.
  4. Replies
    7
    Views
    1,003

    Thanks guys makes total sense now

    Thanks guys makes total sense now
  5. Replies
    1
    Views
    1,037

    naming conventions for project files

    Not sure if this is the right palce for this question, but here goes.

    When you create a new project in C::B it makes a default .cpp file called main.cpp. I usually rename it to whatever I named...
  6. Replies
    7
    Views
    1,003

    Simple problem...seems like it should work

    I think I may be confussing the difference between strings and string literals.

    I know this works:


    const string hello = "Hello";
    const string greeting = hello + ", world" + "!";


    but if...
  7. Replies
    12
    Views
    1,888

    This is harder than I thought...

    I finished my first C++ book and while I have gotten most of the examples and exercises to work. I'm having doubts I can do this. I'm not really getting the OOP stuff.

    I guess what I'll do is go...
  8. Replies
    6
    Views
    1,694

    1. This is where I'm confused. You're right there...

    1. This is where I'm confused. You're right there is no file Fract.h. Is this something we have to create? Is this something "code wise" we have to add to main.cpp and fract.cpp?

    2.They do and I...
  9. Replies
    6
    Views
    1,694

    Trying to get a subclass example to work...

    I'm using code::blocks.
    the code below notes:
    Fract.cpp must be compiled and linked into
    the project, or else Fraction frunction defs must be
    copied into this file.

    Does anyone know how to...
  10. I think I understand thanks for the help.

    I think I understand thanks for the help.
  11. so the final statement should be: Point...

    so the final statement should be:


    Point operator+(const Point &pt) const {return const add(pt);}
  12. I thought it was Point operator+(const Point...

    I thought it was

    Point operator+(const Point &pt) {return add(pt);}
  13. Let me see if I'm understanding correctly. ...

    Let me see if I'm understanding correctly.


    Point point4 = point1 + point2 + point3;

    This has two function calls to:


    Point operator+(const Point &pt) {return add(pt);}
  14. Operator function: I'm not following the flow.

    I'm a little confused on how the program reads the math operations for this line:



    Point point4 = point1 + point2 + point3


    It seems to me that the way the code is set up it can only add...
  15. Are inline functions important for working with...

    Are inline functions important for working with classes? Since I'm new to C++ I find it hard to follow the flow of the code.
  16. Replies
    21
    Views
    2,468

    p.329-330 from C++ without fear, Brain Overland ...

    p.329-330 from C++ without fear, Brain Overland


    Wouldn’t it be nice to initialize a Fraction object from a string? For example:
    Fraction a = "1/2", b = "1/3";
    This is possible if we write a...
  17. Replies
    21
    Views
    2,468

    Yes I have read it over multiple times. I'm just...

    Yes I have read it over multiple times. I'm just slow.
    I realize that there are alternate solutions for this problem, but I'm just trying to get the solution the author suggested to work.

    I tried...
  18. Replies
    21
    Views
    2,468

    I'm sorry to be bringing this problem up again....

    I'm sorry to be bringing this problem up again. Still can't get it to work. I've tried to simplify it so it prints out the converted strings, but the code compiles then crashes. I really don't know...
  19. Replies
    14
    Views
    2,048

    Thanks for the advice. Guess I'll take it slow...

    Thanks for the advice. Guess I'll take it slow and stick with the console apps for now.
  20. Replies
    21
    Views
    2,468

    I guess what I'm not understanding is where...

    I guess what I'm not understanding is where arr_of_fract[4] should go. I'm thinking it repaces objects f1, f2 in main(). Then how to call the function that converts the substrings to integers.

    I...
  21. Replies
    21
    Views
    2,468

    A Constructor from String to Fract

    The code below is a book example that adds two fractions and prints out a message when the copy constructor is executed.



    #include <iostream>
    #include <cstdlib>
    using namespace std;

    class...
  22. Replies
    14
    Views
    2,048

    When you started learning programming...

    ...when did you go from doing simple console applications to learning about GUI stuff?

    I'm really interested in learning this, just need some smart people to guide me in the right direction.
    ...
  23. Replies
    19
    Views
    3,055

    Elysia: I did read through the chapter. Thing is...

    Elysia:
    I did read through the chapter. Thing is I need to run the examples and do the exercises to learn this stuff. I'm going to install Visual Studio 2010 when I get home and maybe some of the...
  24. Replies
    19
    Views
    3,055

    yes, did that. I'm just not sure how to upgrade...

    yes, did that. I'm just not sure how to upgrade to 4.6. Maybe I shouldn't.

    I have GCC 4.5.2
  25. Replies
    19
    Views
    3,055

    I've searched for the 4.6 compiler. Doesn't seem...

    I've searched for the 4.6 compiler. Doesn't seem to exist. I went to the GCC website and saw a link for it there, but the information is so overwhelming, not sure what to do.

    I would think the...
Results 1 to 25 of 46
Page 1 of 2 1 2