A speaker recently gave a talk at the university I attend on a language he had created called Frink. It's great when dealing with measurement conversions, which it could do on the fly. It was also...
For anyone who may have come across this via a Google search, or just perusing the forum, there was a pretty good answer given to the same question when I asked it on StackOverflow.
I've written some image analysis software that can determine the basic shape, color, and dimensions (in cm) of what it considers to be the most dominant object in the image.
I've been tasked with writing a concise bit of code for a microchip and have been using the MPLAB IDE. I have a little experience with Assembly, but it was with MASM. I've got the pseudo code and my...
When it reads in the file, if the beginning of the line starts with ! or does not contain a single quote, then it doesn't even bother appending it to...
I have one more question. I need to be able to print all string literals that appear in a file. The problem is that a line can contain multiple string literals.
...
I want to be able to read in a text file and then print it out. That in itself is fairly straight forward. But I also need to be able to eliminate a line of text if it starts with a certain...
I know when using C++ you can do the following to read in a list of commands from a text file, run them against the program, and output the results to a text file: