I use C-Style for small projects, but about half the time I regret it afterwards. Of course, for small projects I normally use Perl ;)
Type: Posts; User: geophyzzer
I use C-Style for small projects, but about half the time I regret it afterwards. Of course, for small projects I normally use Perl ;)
Hmmm...maybe the book is referring to the 23 as the constant...I don't have my copy of C++ in 21 days with me, but myAge certainly is not a constant as it is defined.
Enumerations basically...
Gray-green with orange flecks around the pupils sometimes.
Yeah, that seems a little odd to me, too. Sigh.
Mmmm...strain ellipsoids...
Waitaminute...I didn't like structural geology...probably why I got into seismology.
And MATLAB rocks, for those who don't know it...if nothing else, it got me a job...
Just curious here, what language do you use the most in your work? This is not a discussion of which language is best, just which one do you use the most. For the record, I vote Perl.
In no particular order:
LOTR: The Two Towers
LOTR: The Fellowship of the Ring
The Sixth Sense
The Matrix
Elizabeth
Aliens
White Christmas
X-Men
Find the error(s) in each of the following and explain how to correct it (them).
a) Assume the following prototype is declared in class Time:
void ~Time( int )
b) The following is a partial...
Oops, I mean thanks quzah.
Heh. Shows me to take my own advice. Thanks for the reality check ammar.
Is there a package that allows Tk widgets to be created from a C++ program? It is the best way I know of to create quick-and-dirty GUIs in Perl, and I was hoping I could do the same in C++.
It would probably help if you posted the code for the Get() function as well.
I can wait a week for information like that!
Oh, and I like Perl for database interfacing, but I've only used it with Oracle, not Access.
Hi adrea-
I don't see the problem you are describing. The logic appears to be okay, except that as soon as you enter a zero the loop stops and the average is computed; you aren't giving it the...
Some good sources:
http://www.tcfb.com/freetechbooks/
http://www.maththinking.com/boat/computerbooks.html
A linked list can be thought of as a train; you have a series of cars that all link together the same way, while in a linked list you have a series of "nodes", which can be thought of as a box with...
Princess100: Here is a good reference/place to start:
http://www.brpreiss.com/books/opus4/html/book.html
You can skip all the stuff at the beginning about computing time and go right to the...
Some great resources:
www.maththinking.com/boat/computerbooks.html
www.tcfb.com/freetechbooks
www.ipl.org/div/books
onlinebooks.library.upenn/edu/subjects.html
How the hell do you get banned...
Honestly, I have found that using vectors is much simpler than it sounds, you really only need to know a couple of things (although fully efficient use requires a bit more knowledge). For a stopgap...
Well, the easy way is to use a vector instead of an array. You can predeclare it to a variable size at runtime, or you can just keep putting stuff into it and it'll resize itself. Existing code...
Hell if I know. It won't even compile on my system. How do you know that its a function? Wherever you got that information should tell you how its used. You ask how they use it...who's "they"?...
I'm partial to
www.textpad.com
Why? Here's some pretty good reasons (in no particular order):
1. A VERY active user community with lots and lots of freely available modules to suit just about any problem you may be having.
2. ...
I personally would recommend proficiency in at least one scripting language and one object-oriented programming language, that gives you the best of all worlds. I personally lean toward C++ as my OO...
Well, there's a couple of ways, depending on how advanced (and C++ish) you want the code to look
1) Have dynamically allocated matrices, which allows you to input the dimensions at run-time. ...