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...
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.
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...
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...
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...
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...
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...
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?
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:
"Please type in a web address" ->(user types in address, and...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.