Find Jobs
Hire Freelancers

encode and decode messages

$10-30 USD

已关闭
已发布将近 6 年前

$10-30 USD

货到付款
You will be provided with an input file that has a series of encoded messages. You will need to read in the file and decode the messages. You must check to make sure that the input file has been opened. The first 26 lines of the input file will tell you what each coded letter should equal. For example: ‘A = Z’ means that for every A in a coded message, it should be replaced with a Z. You should store this information in an array for easy decoding. This set of information will always be presented A through Z so that you may assign an array position to a letter, i.e., index 0 will always be A. The next number in the file will be the number of coded messages that will be contained in the file. This number should be used to make array of the structs (i.e., the number is the size of the array). You will need to create a struct that contains an integer type of variable that keeps track of which message number is contained in the struct, and two strings, the coded message and the decoded message. struct messages{ int messageNum; string codedMessage; string decodedMessage; }; Then, using the getline function, you should read in a whole line of the file at a time and store it in the appropriate struct location (i.e., the string member variable of the struct used to store the coded message). You will then decode the message and store it in the appropriate struct location. A function is recommended for decoding, but not required. Once all the messages are decoded, you should go over the array of struct and print each element with its corresponding message number, the coded message, and the decoded message, to the file [login to view URL] 3 - Example Input and Output You have been provided with 5 input files for each test case in Black board(BB) and a sample output file too. BB consist of 5 input files namely [login to view URL] for test case 1, [login to view URL] for test case 2, [login to view URL] for test case 3, [login to view URL] for test case 4, [login to view URL] for test case 5. You need to provide input file name in zybooks, for example : [login to view URL] Contents of [login to view URL] A = Z B = Y C = X D = W E = V F = U G = T H = S I = R J = Q K = P L = O M = N N = M O = L P = K Q = J R = I S = H T = G U = F V = E W = D X = C Y = B Z = A 2 SLD NZMB KILTIZNNVIH WLVH RG GZPV GL XSZMTV Z ORTSG YFOY? MLMV, GSZG’H Z SZIWDZIV KILYOVN OUTPUT It should generate a file named [login to view URL] Contents of [login to view URL] : Message Num: 1 Coded Message SLD NZMB KILTIZNNVIH WLVH RG GZPV GL XSZMTV Z ORTSG YFOY? Decoded Message HOW MANY PROGRAMMERS DOES IT TAKE TO CHANGE A LIGHT BULB? Message Num: 2 Coded Message MLMV, GSZG’H Z SZIWDZIV KILYOVN Decoded Message NONE, THAT’S A HARDWARE PROBLEM
项目 ID: 17219953

关于此项目

33提案
远程项目
活跃6 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
33威客以平均价$28 USD来参与此工作竞价
用户头像
Hello, I am expert with C and C++ as you can see... also, I manage c++ data structures very well. When do you need it?
$30 USD 在1天之内
5.0 (143条评论)
7.4
7.4
用户头像
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environment. I made many great projects using c++, for example, I made the tools which could convert java codes into c++ scripts, of course garbage collection included, this was very similar to a compiler, and was very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$40 USD 在1天之内
4.9 (141条评论)
7.0
7.0
用户头像
Hello, I am interested in this project and so wanted to discuss more it in details. I have a lot of experience in C++ programming. I will keep your time. And I will provide you quality work according to your instrument. Thank you.
$25 USD 在1天之内
4.9 (82条评论)
6.1
6.1
用户头像
This encoding-decoding program that you described is simple to create. I can do it in less than 24 hours, in C++ as you requested. I'm ready to start, just let me know
$20 USD 在1天之内
4.9 (59条评论)
5.9
5.9
用户头像
Dear Sir, I have read and understood your project requirements and I'm very interested to work on it. I have experience of programming. I write well formatted code with comments. Looking forward to work on your project. Awaiting your positive reply. Thank you
$22 USD 在1天之内
4.4 (19条评论)
4.4
4.4
用户头像
Hi, I am a C developer. I can make this program in few hours. Please contact me so we can discuss further :). Thanks, Constantin
$25 USD 在0天之内
5.0 (2条评论)
3.5
3.5
用户头像
I've tackled similar algorithms assignments before. Will you please specify compiler & target OS desired? I develop with C++, for engineering native solutions. How soon should this be begun?
$29 USD 在1天之内
5.0 (7条评论)
3.5
3.5
用户头像
Hi, Nice to meet you. I'm C/C++ expert. I'll finish in only a few hours. Let's discuss with chat. thanks.
$100 USD 在1天之内
4.6 (2条评论)
3.2
3.2
用户头像
Hi, I am a Senior Software Engineer in Silicon Valley. I can help you with your Encode/Decode project. We will surely be done in less than 24 hours. Guaranteed high quality! Let's start right away.
$30 USD 在1天之内
5.0 (3条评论)
1.8
1.8
用户头像
Okay, this seems like a fairly simple problem. I have encoded and decoded far harder problems than this. I will get this done within a day and my price point is low as I have just began in Freelancer and want good reviews.
$15 USD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
I have extensively worked on C++. Plus I have also used hashing techniques in during one of my security related projects. I can easily work on this.
$15 USD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
Dear Sir,Madam I'm a master degree student in telecommunications systems, my bachelor degree dissertation theme is : "testing an encryption method based on substitution and diffusion" I believe I do have a lot of experience in encryption,decryption, coding and decoding field. I can code in c++/c as well so please take in consideration my application. I look forward to hearing from you. sincerely, Sofiane Khoudour
$10 USD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
This task mainly involves file-handling and data-structures including structs. std::map can be a better option for mapping one character to another, and std::string containers can be used to decode the encoded strings. I will start working as soon as my proposal gets approved. Looking forward to working with you.
$35 USD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
I'm experience in using C++ input and output file-streams and encoding and decoding messages; there shouldn't be an issue in getting the project done in a day. Have done a similar project in the past so shouldn't be to difficult.
$17 USD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
Hey Sir, I will try my very best to decode the Codes !!
$20 USD 在3天之内
0.0 (0条评论)
0.0
0.0
用户头像
hi, I am interested. I will use java to create this program
$15 USD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
Hello sir, i am already doing encryption decryption project in c++ using AES algorithm . which is using in wireless security . so i can do this project easily. Regards Kashyap
$14 USD 在3天之内
0.0 (0条评论)
0.0
0.0
用户头像
Being an engineering at NIT I can provide a very good outcome for you in the stipulated amount of time.
$10 USD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
Hey there! I can work on your project. I have already worked on some projects like this one therefore, I'm very much confident that I can do it for you. Also, I never compromise on work quality and deliver it before due time. Let's discuss details in chat.
$13 USD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
I’ve done similar work before
$25 USD 在5天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
Houston, United States
4.4
8
会员自11月 6, 2017起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。