Computers & Internet Logo

Related Topics:

Posted on Apr 13, 2009
Answered by a Fixya Expert

Trustworthy Expert Solutions

At Fixya.com, our trusted experts are meticulously vetted and possess extensive experience in their respective fields. Backed by a community of knowledgeable professionals, our platform ensures that the solutions provided are thoroughly researched and validated.

View Our Top Experts

How to write a record with pointer variables in a file in c++

We got problem while reading & writing a record of a class which contained several character pointers in a text file using c++.
We are using turboc3 compiler
I want to know how to write & read such a record

1 Answer

Rob Hill

Level 3:

An expert who has achieved level 3 by getting 1000 points

Superstar:

An expert that got 20 achievements.

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

  • Master 1,483 Answers
  • Posted on Jun 16, 2009
Rob Hill
Master
Level 3:

An expert who has achieved level 3 by getting 1000 points

Superstar:

An expert that got 20 achievements.

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

Joined: Jun 13, 2009
Answers
1483
Questions
0
Helped
531899
Points
3843

If understand your question correctly , you don not work the pointer value but the contents the pointer is referring to.

Hope that makes sense

char* pointer = "some message";

pointer = 0x04556 *pointer = "s";

Regards
GeWiz

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

115 views

Ask a Question

Usually answered in minutes!

Top Intel Computers & Internet Experts

Sudeep Chatterjee
Sudeep Chatterjee

Level 3 Expert

3269 Answers

Brad Brown

Level 3 Expert

19190 Answers

Grand Canyon Tech
Grand Canyon Tech

Level 3 Expert

3869 Answers

Are you an Intel Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...