Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VC SP5 PSDK FEb2003 Pin
pranavamhari9-Jan-04 16:23
pranavamhari9-Jan-04 16:23 
GeneralRe: VC SP5 PSDK FEb2003 Pin
Michael Dunn9-Jan-04 17:17
sitebuilderMichael Dunn9-Jan-04 17:17 
GeneralReading a .csv file Pin
mr20039-Jan-04 4:06
mr20039-Jan-04 4:06 
GeneralRe: Reading a .csv file Pin
David Crow9-Jan-04 5:32
David Crow9-Jan-04 5:32 
GeneralRe: Reading a .csv file Pin
mr20039-Jan-04 5:56
mr20039-Jan-04 5:56 
GeneralRe: Reading a .csv file Pin
David Crow9-Jan-04 6:06
David Crow9-Jan-04 6:06 
GeneralEncryption Pin
HackerBoy9-Jan-04 4:05
HackerBoy9-Jan-04 4:05 
GeneralRe: Encryption Pin
David Crow9-Jan-04 5:25
David Crow9-Jan-04 5:25 
HackerBoy wrote:
Can anyone tell me why this program is not working?

Define "not working."

HackerBoy wrote:
I wrote this program the other day and I keep getting error messages.

What are those error messages?

Some things that struck me as odd:

  • float atol;
  • Not sure what you are trying to accomplish here.

  • int main(int argv, char ** argc)
  • Traditionally, argc is the number of arguments, while argv is the argument vector.

  • if( XOR(argc[1],(unsigned int)atol(argc[2]) ) )
    int XOR(char * filename, unsigned long key)
  • In the call to XOR(), the second argument is being cast to an unsigned int, while the function's prototype is expecting an unsigned long.


    A rich person is not the one who has the most, but the one that needs the least.
    GeneralAlphaBlend Pin
    Anthony98879-Jan-04 3:46
    Anthony98879-Jan-04 3:46 
    GeneralRe: AlphaBlend Pin
    John R. Shaw9-Jan-04 3:56
    John R. Shaw9-Jan-04 3:56 
    QuestionHow to change from WORD to CString Pin
    mr20039-Jan-04 3:40
    mr20039-Jan-04 3:40 
    AnswerRe: How to change from WORD to CString Pin
    John R. Shaw9-Jan-04 3:53
    John R. Shaw9-Jan-04 3:53 
    AnswerRe: How to change from WORD to CString Pin
    Dominik Reichl9-Jan-04 3:55
    Dominik Reichl9-Jan-04 3:55 
    AnswerRe: How to change from WORD to CString Pin
    Ted Ferenc9-Jan-04 4:20
    Ted Ferenc9-Jan-04 4:20 
    AnswerRe: How to change from WORD to CString Pin
    John M. Drescher9-Jan-04 4:49
    John M. Drescher9-Jan-04 4:49 
    GeneralVery strange bug with VS6 SP5 Pin
    Jerome Conus9-Jan-04 2:40
    Jerome Conus9-Jan-04 2:40 
    GeneralRe: Very strange bug with VS6 SP5 Pin
    David Crow9-Jan-04 3:24
    David Crow9-Jan-04 3:24 
    GeneralRe: Very strange bug with VS6 SP5 Pin
    Jerome Conus9-Jan-04 3:29
    Jerome Conus9-Jan-04 3:29 
    GeneralRe: Very strange bug with VS6 SP5 Pin
    Ted Ferenc9-Jan-04 4:34
    Ted Ferenc9-Jan-04 4:34 
    GeneralRe: Very strange bug with VS6 SP5 Pin
    Michael Dunn9-Jan-04 17:25
    sitebuilderMichael Dunn9-Jan-04 17:25 
    GeneralMS Word and VC++ Pin
    Duncan Wells9-Jan-04 2:24
    Duncan Wells9-Jan-04 2:24 
    GeneralRe: MS Word and VC++ Pin
    Animesh Rawal9-Jan-04 2:47
    Animesh Rawal9-Jan-04 2:47 
    GeneralRe: MS Word and VC++ [edited] Pin
    Michael P Butler9-Jan-04 3:06
    Michael P Butler9-Jan-04 3:06 
    GeneralRe: MS Word and VC++ [edited] Pin
    Duncan Wells9-Jan-04 3:41
    Duncan Wells9-Jan-04 3:41 
    GeneralRe: MS Word and VC++ [edited] Pin
    Michael P Butler9-Jan-04 5:42
    Michael P Butler9-Jan-04 5:42 

    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.