Identifying variables that are not used

Cancelled Posted 5 years ago Paid on delivery
Cancelled Paid on delivery

Write a program reading C++, or Java code and identifying all variables (simple, tables,....), which are not used.

Not so much details has been given to us unfortunately. The idea is to imitate compilers and make a system that will read a piece of code written either in Java or c++ (its your choice). And find all varibales that have been declared but not used, and give an error message "Variable var has not been used".

Variables should be a mix of simple variables like integers, and more complex ones like lists or structures.

Attention must be payed when variables share the same name but have different scope, as some of them might be used but not all!

Example:

int a = 1+2;

Public fun(){

int a;

int b = 3+$;

}

In this case variable 'a' inside function 'fun' has not been used.

A document that explains the algorithm, describes input/output, describes test cases, constraints and limitations (if exists) is required. Comments on the code is appreciated.

Deadline is one week.

Notes: (Re

1- Please be sure that you can submit the task before the deadline. Any delay may result in terminating the agreemnet and canceling the project without payment.

2- Please don't rush to take the project before others only to to attempt to do it. And when unable to, you come up with execuses like "sick relatives" and "Emergency". This will result in canceling the project, bad review and report.

3- Please don't take the project if you have problems with English language. This will make everything complicated.

4- If you take the project. It will be awarded to you. With milestones created.

5- Feel free to stay in touch and ask questions and keep comunication going. Good freelancers will be given a good review, recomendation to my freinds and colleagues, and a promise to hire for future projects!

C Programming C++ Programming Java Software Architecture

Project ID: #16959828

About the project

13 proposals Remote project Active 5 years ago

13 freelancers are bidding on average zł261 for this job

hbxfnzwpf

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 environ More

zł800 PLN in 5 days
(175 Reviews)
7.1
abrahambrons

Hi sir i have read the description of what you need and have a solid Idea on how to solve it, I can of course take care of the variables scope and the shadowing of names, I think is simpler in Java Relevant Skills and More

zł277 PLN in 7 days
(33 Reviews)
5.2
pmeher09

Hey, I am a Java developer having good experience. I can do it in java, I can identify the variables which are not used in code. Regards, Pradeep

zł80 PLN in 1 day
(30 Reviews)
4.8
redraylight

Oh ok Hello alidhan97! I solved your task I am waiting for you I am sorry before Dear sir I read your description carefully I can solve your task I can only give you source code I have full experience of c+ More

zł95 PLN in 0 days
(10 Reviews)
2.8
elrrashid

Hello . I can do this for you in just 4 days or less . I have the required experience and ideas .I can work this out easily as my study is focused around this area. If you are interested in me please hire me.

zł266 PLN in 4 days
(0 Reviews)
0.0
avijitsankar7

Having 7+ yrs experience with Oracle certifications in JAVA/ Java EE, I think it would be right for me to bid on this project. Thanks and Regards - Avijit

zł238 PLN in 7 days
(0 Reviews)
0.0
nissyviny

A proposal has not yet been provided

zł211 PLN in 10 days
(0 Reviews)
0.0