Connecting Tech Pros Worldwide Forums | Help | Site Map

Encrypt and Decrypt, Arrays/Pointers

Newbie
 
Join Date: Oct 2008
Posts: 2
#1: Oct 1 '08
Hi guys, I need help. I'd appreciate any pointers on how to go about with this problem. Thanks a lot.


Using arrays and/or pointers, make a prog that will ask for a string. 2 user-defined functions (encrypt() and decrypt()). encrypt the inputted string and display. e.g. HELLO->KHOOR.............orig: a-z,,,,code: d-z,a-c

Expert
 
Join Date: Aug 2007
Posts: 674
#2: Oct 1 '08

re: Encrypt and Decrypt, Arrays/Pointers


Some tips:

- You may find the information at http://c-faq.com/ useful. Arrays and pointers are a confusing topic, so make sure you understand the difference between the two.
- If you can't figure out an algorithm in plain english, don't bother making it work in code. It needs to make sense in English first.
- Work piecemeal by piecemeal.
Newbie
 
Join Date: Oct 2008
Posts: 2
#3: Oct 1 '08

re: Encrypt and Decrypt, Arrays/Pointers


Thanks a lot. I appreciate the help.
Reply