En cours

Parse simple ASCII input file and generate output files

Hi,

I need a simple command line application (developed in C or C++ in Visual Studio). The expected syntax is the following:

[url removed, login to view] /input "path/compilationcore.g" /output_h "path/compilationcore.h" /output_inc "path/[url removed, login to view]" /touch "word_to_search" "root_path" [*.asm, *.inc] /touch "word_to_search" "another_root_path" [*.asm, *.cpp] /touch "..."

Description:

1) This is an example of a file passed for the "/input" parameter

// This is a comment. I'm ignored

ENABLE_TRIAL_OPTION = TRUE

ENABLE_USER_FEATURE1 = FALSE

2) This is the generated file for the "/output_h" argument:

#define ENABLE_TRIAL_OPTION TRUE

#define ENABLE_USER_FEATURE1 FALSE

3) This is the generated file for the "/output_inc" argument:

ENABLE_TRIAL_OPTION = TRUE

ENABLE_USER_FEATURE1 = FALSE

4) The "/touch word_to_search root_path [*.extension, *.extension, ... ]" parameter works as following

4.1) I can pass several "/touch word_to_search root_path [*.extension, *.extension, ... ]" through the command line

4.2) You will get the "root_path" and scan all its files in each subfolders

4.3) For each file that matches the wilcard (like *.asm, *.cpp) you will open the file and if the "word_to_search" appears inside the file (they are ASCII files) you will change the file date time to current time. That is, you open and close the file so the file modified timestamp is updated to current date/time.

4.4) If you open the file and the "word_to_search" is not found, you close the file and make sure that the file timestamp has not changed

If you have any questions, let me know please.

Thanks!

Compétences : Programmation C, Programmation C++

Voir plus : java simple file input, java file input output assignment, excel macro generate output file, gui front end user input output vbs file, generate output file macro excel, want gui file input output, input file gui output text file, excel macro file input output, file input output macro excel, mips file input output, excel file input output, visual basic input output text file, file input output programs visual basic, web form output xml file, simple xml parse vbnet

Concernant l'employeur :
( 62 commentaires ) Jerez de la Frontera, Spain

N° du projet : #12731351

Décerné à :

vano101

Hello. Perhaps, I have done something similar in the past.

30 $ USD en 1 jour
(1244 Commentaires)
7.4

8 freelance ont fait une offre moyenne de 118 $ pour ce travail

zhangbaksan

hello,how are you. i read your bid carefully. i am c/c++ expert and have full experience for 10 years. c++ language is my top skill. i can provide most quality and high speed. if you want to success, please contact Plus

155 $ USD en 3 jours
(22 Commentaires)
5.3
wangbeizou

Hello. Employer. I have read and understood the project. I'm an Expert in Data Structures and Algorithms. And I know well ; Java ,C/C++, Python ,PHP. I'm interested this project. So, firstly I want to discuss Plus

60 $ USD en 2 jours
(53 Commentaires)
5.2
DemonDeveloper

We are team of excellent developers. We have 2 year experience related to your project field. We can do your project and solve your all problems according to your requirements. We have read your description for project Plus

45 $ USD en 0 jours
(22 Commentaires)
4.2
BeautiCG

Hi,dear. Thank you for your interest. I've just checked your project report,I'm able to perform this task with my developer team.I look forward to your proposal...

155 $ USD en 1 jour
(9 Commentaires)
3.8
songblue

Dear, I have already read your job post in carefully and understood it well. I have good and full experiences on mathematics and algorithm, computation, numerical analysis, digital image processing using C/C++, Mat Plus

150 $ USD en 3 jours
(4 Commentaires)
2.7
ymams

How are you, Sir. I'm very exciting for your job. I have an full experience with that and have many sources,too. If I work with you, your task will be better. Thank you. PS: I can make this in 1~2 days definitely.

250 $ USD en 3 jours
(3 Commentaires)
2.7
billcolclinton

Hello, Happy new year... First, I hope you and your family will be happy new year!. I have read your project description in details. I have enough experiences. I can finish your project on time. If you and me are Plus

277 $ USD en 3 jours
(4 Commentaires)
2.6
FugaUSA

Hello, Before you select a part time developer from here, visit us for 5 minutes ([url removed, login to view]) And if you like what you see, contact us. That's all! "Why hire part time college students? when you can hire profe Plus

155 $ USD en 3 jours
(0 Commentaires)
0.0
FCEngineers

Hello, Before you select a part time developer from here, visit us for 5 minutes ([url removed, login to view]) And if you like what you see, contact us. That's all! "Why hire part time college students? when you can hire profe Plus

155 $ USD en 3 jours
(0 Commentaires)
0.0
100 $ USD en 5 jours
(0 Commentaires)
0.0
155 $ USD en 3 jours
(0 Commentaires)
0.0