Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 27th January 2005, 05:07 PM   (permalink)
Default Question for all computer Programmers....

I was given a small job and i am not sure if i can do it so i wanted to ask your opinion. There are tons of text files, the sample i have to work with is in notepad format. The thing is like an inventory with security features in it. It has junk mixed with real inventory. I need to write a program so that when i enter this text file , the output is a text file with the junk omitted. I have general ideas of how to do this. My question is, what programming language would be best suited to do this. C++? or possibly even Visual Baisc maybe?
IF you notice, the junk is basicallly non-conventional characters, so this should not be too hard. I can program this in C to do it easily but I dont know how to create the user interface portion of the program in C to make it very user friendly.
Attached Files
File Type: txt instock.txt (68.1 KB, 160 views)
cubdh23 is offline  
Old 27th January 2005, 05:23 PM   (permalink)
Default

All programmming languages should have File I/O features. Just use one in which you are comfortable with. As for a GUI, is there really a need to have one? A command-line app since fine here.
checkmate is offline  
Old 27th January 2005, 07:29 PM   (permalink)
Default

Visual basic makes it really easy to do UIs. I'm not a big fan of the language itself though. Supposedly C# has the same UI tools but with a C++ syntax - Microsoft Visual Studio.Net has the C# tools.
bmcculla is offline  
Old 27th January 2005, 08:49 PM   (permalink)
Default

Have you considered perl? :P It was invented to handle I believe, to manage large log files on remote servers. No cost ... standard on linux boxes (check activestate perl for a windows port). Lots of examples around.
spirosd is offline  
Old 28th January 2005, 05:24 AM   (permalink)
Default

A 'C' program that only copies the readable ascii should take few minutes to write ...
Exo is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 03:03 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker