Click here to Skip to main content
15,900,498 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: send email in VC Pin
Jitendra gangwar26-Apr-04 21:52
Jitendra gangwar26-Apr-04 21:52 
GeneralRe: send email in VC Pin
Rory Solley26-Apr-04 21:53
Rory Solley26-Apr-04 21:53 
GeneralRe: send email in VC Pin
jmkhael27-Apr-04 0:15
jmkhael27-Apr-04 0:15 
GeneralCBitmapButton in modeless dialog Pin
bryce26-Apr-04 14:56
bryce26-Apr-04 14:56 
GeneralRe: CBitmapButton in modeless dialog Pin
bryce26-Apr-04 15:11
bryce26-Apr-04 15:11 
GeneralRe: CBitmapButton in modeless dialog Pin
Mike Dimmick26-Apr-04 23:00
Mike Dimmick26-Apr-04 23:00 
GeneralPrinting an MS Datagrid Pin
monrobot1326-Apr-04 14:22
monrobot1326-Apr-04 14:22 
QuestionText in a math equation? Pin
vwgolf3speed26-Apr-04 13:18
vwgolf3speed26-Apr-04 13:18 
So one day about a week ago i decided that i wanted to write simple encryption program. Being that im new to writing C++ code, and also a newb to VS 6 i decided that i would pick up a number theory book and use my C++ books as a reference to help me along the way to cyrptographic blissfulness, but this is not the case. I have and equations ( E = M^s (mod r) ) where M is the message, s and r are two coprime numbers and E is the encrypted output for the whole equation. Using numbers it works great, but (again beening a newb) I have run into the problem of how do i convert the input of text into and int that the computer can use in the equation? I also ran into the problem of really large numbers that are over 64-bits in length, but i solved that problem with a large number class ( CLargeNumbers ). So here I am stuck with text that i cant convert to an int. I also will need to convert the int back into text after i run the inverse equation to decrypt it. Please can anyone help me?


AnswerRe: Text in a math equation? Pin
jmkhael27-Apr-04 0:37
jmkhael27-Apr-04 0:37 
GeneralRe: Text in a math equation? Pin
Alexander M.,27-Apr-04 5:34
Alexander M.,27-Apr-04 5:34 
GeneralRe: Text in a math equation? Pin
toxcct27-Apr-04 8:24
toxcct27-Apr-04 8:24 
AnswerRe: Text in a math equation? Pin
Paul Ranson27-Apr-04 1:30
Paul Ranson27-Apr-04 1:30 
GeneralRe: Text in a math equation? Pin
toxcct27-Apr-04 2:01
toxcct27-Apr-04 2:01 
GeneralSkinMagic newbie seeking help Pin
Krugger40426-Apr-04 12:41
Krugger40426-Apr-04 12:41 
GeneralRe: SkinMagic newbie seeking help Pin
Prakash Nadar26-Apr-04 22:12
Prakash Nadar26-Apr-04 22:12 
GeneralDynamically Updateable EXE Pin
scrib26-Apr-04 6:56
scrib26-Apr-04 6:56 
GeneralRe: Dynamically Updateable EXE Pin
David Crow26-Apr-04 7:05
David Crow26-Apr-04 7:05 
GeneralRe: Dynamically Updateable EXE Pin
Rick York26-Apr-04 7:34
mveRick York26-Apr-04 7:34 
GeneralVC++ Memory debug window Pin
Wheatbread26-Apr-04 6:46
Wheatbread26-Apr-04 6:46 
GeneralRe: VC++ Memory debug window Pin
Rick York26-Apr-04 7:28
mveRick York26-Apr-04 7:28 
GeneralRe: VC++ Memory debug window Pin
Prakash Nadar26-Apr-04 7:48
Prakash Nadar26-Apr-04 7:48 
GeneralRe: VC++ Memory debug window Pin
Rick York26-Apr-04 10:48
mveRick York26-Apr-04 10:48 
GeneralRe: VC++ Memory debug window Pin
Wheatbread26-Apr-04 8:12
Wheatbread26-Apr-04 8:12 
GeneralRe: VC++ Memory debug window Pin
Paul Ranson26-Apr-04 8:29
Paul Ranson26-Apr-04 8:29 
GeneralRe: VC++ Memory debug window Pin
Rick York26-Apr-04 11:21
mveRick York26-Apr-04 11:21 

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.