Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: DonCL
  • Content: Threads
  • Order by date
  1. DonCL

    Can someone run this lexical analyzer code correctly?

    Hello, i am researching lexical analyzers and i was wondering if anyone can run this code properly. I get it to run in visual c++, but i just get the dos window with no activity. it is a long program, here is the link: http://www.cs.uh.edu/~zgchen/ also, you must add #include<ctype.h> to the...
  2. DonCL

    How to build a Compiler with C++?

    Does anyone have any resources on how to build a compiler using C++? I am researching scanners/lexical scanners and parsers with minimal luck. Thanks for any help.
  3. DonCL

    XML File Parsing

    Hello, i need to write a console app that will search a folder and subfolder for 1 or more files of a given filename. for each file that is found, the XML file must be parsed for a substring in the <url> element, and replace it w/ another substring. in other words, for each <url> tag found in...
  4. DonCL

    How do you insert multiple records into a database?

    Hello, i have a form where members can purchase products from. the format is like this: qty-----product------price----select to purchase---- 3--------shirt-------5.00-------form checkbox------- 1--------pants-------10.00-------form checkbox------ my question is: how can i make it so when a user...
  5. DonCL

    Accessing html pages using Tomcat

    Im fairly new to apache tomcat. i set up my tomcat and wrote a simple jsp page...i had my friend test my jsp page from his home by typing http://myipaddress:port/filename and it worked fine. but when he tried to test an html page that i had made in Dreamweaver, he got an error. both files are...
  6. DonCL

    How to make this static??

    When i run the following, i get this error message: FileList.java:21: non-static method searchDir(java.io.File,java.lang.String) can not be referenced from a static context matching = searchDir(curDir, search); ^ Thanks for any help. Here is the code: import java.io.File...
  7. DonCL

    Changing a simple socket program

    Hello, how can i make this program run when a user inputs a website, so that it responds with html code. right now when i run it, it just responds with html code from www.yahoo.com. Id like to make it the output like this: &quot;Please type in a web address&quot; ->(user types in address, and...
  8. DonCL

    Searching for a file in the DOS Command

    Hello, I'm trying to write a program that given the name of a file to the console, will search the file system looking for one or more files that match the provided name, and the output shows the full path to the found file. What would be the easiest way to do this? I'm rather new to Java...
  9. DonCL

    How can I make this program recursive? Please Help!

    Hi, I have a program that executes, but it is not recursive. I would appreciate any help on this. Thanks in advance. (Thanks to DavesTips for his previous help on this program). The program is supposed to implement the factorial function recursively. You can execute it to see the output. n...
  10. DonCL

    Creating string using class, dynamic mem alloc for charac values HELP!

    Hello, i have to define a string and implement it using a class mystring and dynamic memory allocation for character values. i cannot use the #include <string> definition. It must have these methods: create a string (obviously) check if the string is empty find a given substring in a string...
  11. DonCL

    Can someone please show me what is wrong with this code?? Please Help!

    Hi, what im trying to do is get this description to work (which i have on another thread): A Computer graphics image is composed of rectangular points on the screen. In a black and white picture, we can use 0 to represent white and 1 for black. The picture is a 5 x 5 square on the screen as...
  12. DonCL

    Recursive and Iterator Program. Please HELP!!

    Hello, I'm having a problem understanding what to do in this program, I would appreciate any suggestions. Thanks in advance for the responses and the help. Here it is: A Computer graphics image is composed of rectangular points on the screen. In a black and white picture, we can use 0 to...
  13. DonCL

    A card game program with a quick question!!

    Hey everyone. I have a program for the card game war. I have tested it, and it works. My question is this: how could i get the program to play a sequence of gmaes, rather than just a single game? Here is the program. its kind of long, but i would appreciate any help. I would like to ask a...
  14. DonCL

    [code][/code]

  15. DonCL

    CONVERTING PROGRAM TO TEMPLATE FUNCTION. PLEASE HELP!!

    Hello, I really need help with this program. There are three parts, which i am having a problem understanding. If anyone has any suggestions or solutions, i would really appreciate it. Thanks. Here it is: A driver generates two different arrays (integers and float numbers) and calls template...
  16. DonCL

    CONVERTING PROGRAM TO TEMPLATE FUNCTION. PLEASE HELP!!

    Hello, I really need help with this program. There are three parts, which i am having a problem understanding. If anyone has any suggestions or solutions, i would really appreciate it. Thanks. Here it is: A driver generates two different arrays (integers and float numbers) and calls template...
  17. DonCL

    Polynomial Program and Overloaded Operators...Please Help!

    Hello everybody. I have a program to write, and I am having trouble with it. Can someone take a look at it and write out a possible code for it? i would really appreciate it. Thanks, here it is: The program will develop a polynomial class. how do you represent a polynomial using an array and...

Part and Inventory Search

Back
Top