Click here to Skip to main content
16,007,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralI'm writing a wordpad with API, please help me... Pin
coolhair29-Jul-03 17:31
coolhair29-Jul-03 17:31 
GeneralRe: I'm writing a wordpad with API, please help me... Pin
Toni7829-Jul-03 18:43
Toni7829-Jul-03 18:43 
GeneralRe: I'm writing a wordpad with API, please help me... Pin
David Crow30-Jul-03 4:10
David Crow30-Jul-03 4:10 
GeneralRe: I'm writing a wordpad with API, please help me... Pin
Ryan Binns30-Jul-03 5:28
Ryan Binns30-Jul-03 5:28 
QuestionWhy Link Error? Pin
EastDragon29-Jul-03 17:19
EastDragon29-Jul-03 17:19 
AnswerRe: Why Link Error? Pin
Toni7829-Jul-03 18:31
Toni7829-Jul-03 18:31 
GeneralRe: Why Link Error? Pin
EastDragon29-Jul-03 19:10
EastDragon29-Jul-03 19:10 
GeneralRe: Why Link Error? Pin
Toni7829-Jul-03 19:32
Toni7829-Jul-03 19:32 
Eastdragon wrote:
In C++ "=" operator cannot be override

No offense, but where did you hear that?

Eastdragon wrote:
LargeInt<60> myi=120 should call
LargeInt< i_size >::LargeInt(int number)


Sorry, you are right about that (but only in you case). You must provide copy constructors for more complicated classes.

Your code compiles just fine and I don't have any errors. Actually, this line negative=true?number=-number:; gives errors. But then again, you say that you have no errors. Since I don't have a problem compiling your code I don't know what your problem could be. Try to put everything in one file (remove the include directives that are not needed) and see if it works. If it does work then there something wrong with your header declarations.

// Afterall, I realized that even my comment lines have bugs

When one cannot invent, one must at least improve (in bed).-My latest fortune cookie
GeneralRe: Why Link Error? Pin
EastDragon29-Jul-03 21:27
EastDragon29-Jul-03 21:27 
GeneralRe: Why Link Error? Pin
Bob Stanneveld30-Jul-03 3:15
Bob Stanneveld30-Jul-03 3:15 
GeneralRe: Why Link Error? Pin
Toni7830-Jul-03 14:51
Toni7830-Jul-03 14:51 
GeneralRe: Why Link Error? Pin
EastDragon30-Jul-03 15:06
EastDragon30-Jul-03 15:06 
AnswerRe: Why Link Error? Pin
Michael Dunn29-Jul-03 20:25
sitebuilderMichael Dunn29-Jul-03 20:25 
GeneralRe: Why Link Error? Pin
EastDragon29-Jul-03 21:32
EastDragon29-Jul-03 21:32 
GeneralRe: Why Link Error? Pin
Michael Dunn30-Jul-03 7:41
sitebuilderMichael Dunn30-Jul-03 7:41 
GeneralRe: Why Link Error? Pin
EastDragon30-Jul-03 14:47
EastDragon30-Jul-03 14:47 
GeneralRe: Why Link Error? Pin
John M. Drescher30-Jul-03 14:58
John M. Drescher30-Jul-03 14:58 
Generaladd text on a jpeg file Pin
johnsmith29-Jul-03 16:04
johnsmith29-Jul-03 16:04 
GeneralRe: add text on a jpeg file Pin
johnsmith30-Jul-03 19:36
johnsmith30-Jul-03 19:36 
Questionswitch cpp and h in vc7 ide? Pin
novachen29-Jul-03 14:18
novachen29-Jul-03 14:18 
GeneralIP address - getting programmatically Pin
john john mackey29-Jul-03 12:41
john john mackey29-Jul-03 12:41 
GeneralRe: IP address - getting programmatically Pin
Mike Dimmick29-Jul-03 13:16
Mike Dimmick29-Jul-03 13:16 
GeneralRe: IP address - getting programmatically Pin
Anonymous24-Aug-03 19:22
Anonymous24-Aug-03 19:22 
GeneralRe: IP address - getting programmatically Pin
Mike Dimmick25-Aug-03 22:24
Mike Dimmick25-Aug-03 22:24 
GeneralCustom Tab Control Woes... Pin
adonisv29-Jul-03 12:30
adonisv29-Jul-03 12:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.