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
  • Order by date
  1. DonCL

    Can someone run this lexical analyzer code correctly?

    Sorry about that, here is the link: http://www.cs.uh.edu/~zgchen/project/ccc/cmp.txt
  2. 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...
  3. 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.
  4. DonCL

    XML File Parsing

    I have the searching part done, can anyone help with changing the url in the XML file? Code would be helpful. Here is the searching code from ms.com. using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using...
  5. DonCL

    XML File Parsing

    i need to use the system.xml and system.io reference libraries that can be linked to the c# console.
  6. 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...
  7. DonCL

    How do you insert multiple records into a database?

    thanks for the link, but i should have mentioned that i need it in jsp. is there any way to do this?
  8. 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...
  9. 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...
  10. DonCL

    How to make this static??

    Thanks, I will try these methods.
  11. 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...
  12. DonCL

    Changing a simple socket program

    Sorry about that, I didn't look at the code carefully. I got it now (I had to type in &quot;quit&quot; to close the connection) Thanks again.
  13. DonCL

    Changing a simple socket program

    Thanks a lot. I tried it and it worked. Only problem is now, that my socket will not close after i get the html code from the url. It asks me again to enter a web address. How can I make it close after I receive the html code?
  14. 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...
  15. DonCL

    Searching for a file in the DOS Command

    sedj, thanks for your help. i think it keeps getting italicized because it is reading the [i] as an tgml tag. what you are saying is that it should read: import java.io.File; public class FileList { public static void main(String args[]) { File baseDir = new...
  16. 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...
  17. 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...
  18. DonCL

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

    Thanks for the responses... I will try them out.
  19. DonCL

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

    lets say i would like to use the string &quot;Hello, my name is DonCL&quot; ...

Part and Inventory Search

Back
Top