"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...
Type: Posts; User: tabl3six
"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...
...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...
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.
Thanks guys makes total sense now
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...
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...
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...
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...
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...
I think I understand thanks for the help.
so the final statement should be:
Point operator+(const Point &pt) const {return const add(pt);}
I thought it was
Point operator+(const Point &pt) {return add(pt);}
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);}
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...
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.
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...
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...
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...
Thanks for the advice. Guess I'll take it slow and stick with the console apps for now.
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...
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...
...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.
...
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...
yes, did that. I'm just not sure how to upgrade to 4.6. Maybe I shouldn't.
I have GCC 4.5.2
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...