First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11
WideStudio text file read & setProperty prob
Hello all, This may be dumb, but I'm stuck! The code below is called when a button on the main window is activated. It is supposed to read a text file to the first '\n' and set the labelString of a label box on the same main window. It reads the file ok, but the string set in the label box is the decimal... 6 Jan 2010 08:21
Outlandish Particle Periodic Table update IX
Big Bertha Thing outlandish OUTLANDISH PARTICLE PERIODIC TABLE By Tony Lance Dip.Math(Open) 19th December 2009 Update IX from http://www.tonylance.talktalk.net/structur.html .510998902 1.0D-09 1 1 80305 1 3224486665 1.0 SLC For full table see link:- http://www.tonylance.talktalk.net/aspire.html ... 26 Dec 2009 09:59
How do I write what the friend template function in templateclass?
maigre_dragon wrote: I write a template class. Please don't multi-post. Answered elsewhere. -- Ian Collins ... 23 Dec 2009 13:35
New Commission Generated‏
New Commission Generated‏ Everyone would like this statement sent to their email minute by minute (Even hourly would be good for most people) This is the message I share: I found the following Awesome Tax System and would like to share it with you. http://www.mybusinesstaxadvantage.com/mytaxrefund I... 19 Dec 2009 20:20
oops! oddly result! help me? (about MemoryMap class)?
#include <iostream> using namespace std; class Byte { public: Byte(const unsigned char c):ch_(c) {}; protected: friend std::ostream& operator << (std::ostream& out,const Byte& b); private: unsigned char ch_; }; std::ostream& operator << (std::ostream& out,const Byte& b) {... 21 Dec 2009 09:04
How to read and write a float to file
Would anyone please be able to tell me how to read and write a float or double to a text file. I am stuck on reading a line from the file into a string variable but cannot use the atof or strtod functions because it isn't a char[] array variable and a char array variable can't read a line from a file(?). What d... 15 Dec 2009 18:55
C++ How to Program, 7/E Deitel & Deitel instructors solution manual ch 1-27 is available at affordable prices. Email at allsolutionmanuals11[at]gmail.com if you need to buy this. All emails will be answered ASAP.
C++ How to Program, 7/E Deitel & Deitel instructors solution manual ch 1-27 is available at affordable prices. Email at allsolutionmanuals11[at]gmail.com if you need to buy this. All emails will be answered ASAP. ... 11 Dec 2009 14:41
operator[] in a std::vector like class
For teaching purposes, I have a std::vector like class: template <class T> class Array{ public: ... T& operator[](unsigned int i) const; ... private: unsigned int sz_, cap_; T* dat_; }; In the middle of a (teaching) class I began to wonder, aloud :(, why Array<int> a(10); a[5... 9 Dec 2009 13:15
Using friend functions to overload operators
Today I was reviewing some information about operator overloading (http://www.learncpp.com/cpp-tutorial/92-overloading-the-arithmetic-operators/) and the author make the comment that friend functions (as opposed to member functions) were the best way to overload an operator when the operands were not modified. ... 10 Dec 2009 22:17
Multiplying a complex number by a constant?
I'm using the complex<double> template to define some complex variables. If I multiply a complex variable by a constant (5) like this: complex z2 = 5*z1; I get an error (no match for 'operator*' in '5*z1'). But if I add a decimal point, complex z2 = 5.*z1; it compiles fine. Why is that? ... 3 Dec 2009 18:13
First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11