|
|
Up |
|
|
  |
Author: joshjosh
Date: Jan 30, 2007 05:54
Hi I don't well understand if
I have
class Test
{
public:
Test(int i){ val=i;}
int double_val() { return val+val;}
int val;
};
then
Test t1(10), t2(100);
// seems static variable...............
data = &Test::val;
func = &Test::double_val;
// how can t1.*data AND t2.*data know the diferent address if data
contains
// only &Test::val ??????????
cout << "t1 data " << t1.*data << " t2 data " << t2.*data << endl;
|
| Show full article (0.57Kb) |
|
| |
2 Comments |
|
  |
Author: VivienneVivienne
Date: Jan 30, 2007 04:04
I am using vs 2005 on windows xp.
I created a project, named ssps.And when debugging, I set project
property->debugging->command argument the way I wanted,like this: -b f:
\files f:\files. Then I ran the program. Everything went all right,
and I got the exact result, and two files are successfully created at
\ssps\debug, where the executable file ssps.exe located.
when I finished debugging , I made the release version, so I got the
ssps.exe in the directory \ssps\release. when I try to test the
executable file using command line,like this: ssps.exe -b f:\files f:
\files, errors occured.It reads like, 0x78180469 command accessing
0x003b5000 memory, the memory can not be written.
I also tried to run the executable file in Debug directory, and got
the same problem.
Now I don't know what...
|
| Show full article (1.04Kb) |
|
| |
4 Comments |
|
  |
Author: jagdeepkang2000jagdeepkang2000
Date: Jan 30, 2007 01:38
how to connect turbo c++ with database(like MS
Access,MSsql2000,oracle8i)
|
| |
|
1 Comment |
|
  |
Author: brodybrody
Date: Jan 30, 2007 00:24
Hello there
Take a look, I know you'll love it as much as I do.
They give you access to some of the best groups others may not carry.
Great prices and support await you as you travel into the beautiful world of premium nntp access.
Images, video, mp3 music, the real news from around the world... it's all inside waiting for you.
Take a look at all the great features below and imagine! You'll LOVE it.
With some of the fastest connections around it's no wonder people love it and keep coming back.
They offer some of the best premium newsgroup access anywhere.
One thing I love about them, they don't keep log files of the news I read or files I download.
You can find almost anything you are looking for.
Very long retention
2,000,000 new posts each day
Keyword searchable
Streaming audio and video
That web address is http://www.newsdude.net - just go and see what I'm talking about.
Av ov offi i obredirgad! Aybu heg kij ey i ejho imporemtum i empagowlal, arsusolsim
i ijwijiwnow ew uhne ...
|
| |
|
no comments
|
|
  |
Author: AllenAllen
Date: Jan 30, 2007 00:05
I want to package an address to byte buffer. So I need to cast it to
integer value.
How to cast it?
const char * ptr = 0x0013e328;
int value = (ptr); // use reinterpret_cast?
|
| |
|
7 Comments |
|
  |
Author: for.funfor.fun
Date: Jan 29, 2007 22:36
I cut/paste the C code from the RFC 1321 ( http://tools.ietf.org/html/
rfc1321) and it works fine.
Thanks for the links.
On 21 jan, 13:34, rpbg...@ yahoo.com (Roland Pibinger) wrote:
> On 18 Jan 2007 12:13:38 -0800, for.fun wrote:
>
|
| |
|
no comments
|
|
  |
Author: YahoooooooooYahooooooooo
Date: Jan 29, 2007 21:55
Just practicing BOOST regular expressions....giving errors...
-- wanted to replace SPACE with NULL.
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
boost::regex rex1;
extern const char* pre_expression= " ";
extern const char* pre_format="";
|
| Show full article (3.68Kb) |
|
no comments
|
|
  |
Author: mantaintaimantaintai
Date: Jan 29, 2007 21:10
Proof of visual consciousness
>From image formation by a plane mirror to the generation of (human)
visual consciousness
image formation by a plane mirror , visual consciousness, transform,
virtual image , overlap(superpose), dual identities, seeing an object
How could an object become visible when observed by the eyes of the
human beings, i.e., how could the electrochemical changes of the
visual cortex and cerebral cortex be transformed into an object?
Apparently, this transformation would never occur if we take the word
"transformation" by the common sense. However, given the fact we could
indeed see an object, the changes in the visual and cerebral cortex
MUST have already been transformed into an object. Therefore,
"transformation" here should have other implications more profound
than commonly understood , and we ought to find out the mechanism and
pathway involved in this process.
|
| Show full article (5.32Kb) |
|
no comments
|
|
  |
Author: rawebadvertrawebadvert
Date: Jan 29, 2007 21:10
This Website is designed for you to learn how to write a resume on
your own. Hiring someone to do a resume is not enough learn how to do
it on your own. If you do hire someone to help you write a resume this
will help you guide the resume writer to put in the correct
information for you to increase your chances on getting a job. This is
a free site no fees. People do need resume templates and resume
samples as a base to get started on their resumes, but this
information that I have on my site will help you fill in the resume
templates or resume samples with the best information to present the
best possible resume to your potential employer. No matter what type
of resume you are writing either a technical resume, sales resume,
marketing resume, teaching resume, nursing resume, or...
|
| Show full article (1.37Kb) |
|
no comments
|
|
  |
|
|
  |
Author: vijlakvijlak
Date: Jan 29, 2007 19:58
Hi All,
I would like to know how to accomplish the following:
First, I would give an example of MFC.
Let's take the CreateButton styles. So, if some one wants to create a
Button they can do a bitwise 'OR' of different styles like
BS_BOTTOM | BS_DEFPUSHBUTTON | BS_LEFT etc.
Let's say each of the button styles is assigned a long value like so:
enum
{
BS_BOTTOM 0x00000001L
BS_DEFPUSHBUTTON 0x00000002L
BS_LEFT 0x00000004L
.
.
.
.
}ButtonStyles;
|
| Show full article (1.22Kb) |
|
2 Comments |
|
|
|
|
|
|