This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include GLUT/glut.h | |
#include iostream | |
#include stdlib.h | |
#include math.h | |
#include cmath | |
using namespace std; | |
class wcPt2D // class to represent a 2D point |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include GLUT/glut.h | |
#include iostream | |
#include stdlib.h | |
#include math.h | |
#include cmath | |
using namespace std; | |
class wcPt3D // class to represent a 2D point |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package project5; | |
import java.util.*; | |
import java.io.*; | |
public class Main { | |
public static void main(String[] args) throws IOException { | |
Scanner in = new Scanner(System.in); | |
System.out.println("Enter the name of the file containing the directory you would like to load:"); | |
String fileName = in.nextLine(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package project5; | |
import java.io.*; | |
public class fileParser { | |
public fileParser(String inputFile){ | |
fileName = inputFile; | |
} | |
public String[][] getArray() throws IOException{ | |
FileReader fr = new FileReader(fileName); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package project5; | |
public class MergeSorter | |
{ | |
public MergeSorter(int[] anArray) | |
{ | |
a = anArray; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package project5; | |
public class binSearch { | |
public binSearch(String[] input, String toSearch){ | |
inp = input; | |
search = toSearch; | |
} | |
public static int search() { | |
int begin = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.data | |
inputA: .word 4 #Where we temporarily put inputA | |
inputB: .word 4#Where we temporarily put inputB | |
askA : .asciiz "Please enter letter A: " #String to ask for letter A | |
askB : .asciiz "Please enter letter B: " #String to ask for letter B |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.data | |
break: .asciiz "\n" | |
ask: .asciiz "Please enter a random 4 digit number for a seed: " | |
input: .float 4 | |
list : .word 100 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package edu.hartford.cs375.geocode.web; | |
import javax.ejb.EJB; | |
import javax.jws.WebService; | |
import edu.hartford.cs375.geocode.ejb.GeoCoordinates; | |
import edu.hartford.cs375.geocode.ejb.Geocoder; | |
@WebService( | |
name="GeoCodeService", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package edu.hartford.cs375.geocode.web; | |
import javax.jws.WebParam; | |
import javax.jws.WebResult; | |
import javax.jws.WebService; | |
import edu.hartford.cs375.geocode.ejb.GeoCoordinates; | |
//import edu.hartford.cs375.geocode.ejb.Geocoder; | |
@WebService | |
public interface GeoCodeWebService { |
OlderNewer