137 Topics
|
|
As a project after learning about classes, I'm trying to create a type of board game where the program tells you where all of it's pieces are, and then you tell it where you've moved your pieces, and then the AI moves its pieces accordingly. However I'm having a bit … |
|
I have this code as shown below. I've modified a bit to update the markers dynamically according to xml file extracting from php mysql database. There's nothing wrong with the script. The only thing I would love to do is to move the marker smoothly instead of the markers flickering … |
|
I have a hashmap with key as unique word in string and value as count of duplicates word in string. I want to arrange the output by value. ex: String is "my name is my name and is my my". Output as: my 4 name 2 is 2 and 1 … |
|
Hi Frendz, I have a set of polygon points on google map. I need to find whether the given input point is lying inside of the polygon or not? If anybody found articles related this please guide me. And also i need the same with poly line. |
|
Hey all I need a bit of help if someone can! im writing(trying to!) a small application for a friend who owns a computer repair shop. Its a 'booking in' application. Someone brings a computer/device in and whover is on the front desk takes some details. Name, Street, Town, Postcode … |
|
i have a array 10X13. where it say 1 i want to print image called wall. ok so the array part is easy. iam pretty sure its fine. less continue. const int ROWS = 10; const int COLS = 13; int level[ROWS][COLS] = { {1,1,1,1,1,1,1,1,1,1,1,1,1}, {1,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,0,0,0,0,0,0,0,1}, … |
|
for some reason iam not getting the right map. i think the problem is x += 130; y += 130; #include "DarkGDK.h" const int ROWS = 10; const int COLS = 13; int level[ROWS][COLS] = { {1,1,1,1,1,1,1,1,1,1,1,1,1}, {1,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,1,1,0,0,0,0,0,1}, {1,0,0,0,0,1,1,0,0,0,0,0,1}, {1,1,1,1,1,1,1,1,1,1,1,1,1} }; void DarkGDK(void) { … |
|
Hello all I am attempting to use PHP programming to execute a scripts to this link... http://ws.geonames.org/postalCodeSearch?postalcode=VARIABLE_ZIP&country=US. The VARIABLE_ZIP is the actual zip code entered into the form that will submit the information in the link above. The output of that link creates an XML page that i do not … |
|
Hi all, I actually need to use a sorted map.So i tried using Tree Map.But the problem is that This works well with sort key having values upto 9. With more than 10 items I see abrupt results with sort key arranged in the order = 1, 10, 11,12,--------17, 2, … |
|
Hi everyone, Was wondering if anyone could help... I know the std::map automatically sorts it values - I have a map a Date object pointer, and a bool for whether it is to be used or not. But I need the dates to be in order from earliest to latest … |
|
This is my first time to try using STL maps. The code looks correct as far as I can tell, but when I try to compile a test file that does nothing but include the header for the class and declare a variable of that class, I am getting compiler … |
|
Hey guys. I'm new to this site. I just wanted someone to look over the code I have so far for a hash table that operates on linear probing. I don't have anyone to really check these things for me as my professor is always busy. Can anyone tell me … |
|
Dear friends, i am a university student competting for my bsc(hons) in IT! i suggested to have my final year project based on android, n for your info, i have never codded in android. im am supposed to give a suggestion by tomorow! and i would be completing my project … |
|
Hello y'all. I am in the midst of an exciting project, and I've hit a little bump. I'm trying to do a 'deep copy' of a TreeMap<String, State> [B]so that I can work with one (delete, insert, etc...) and preserve the other for later.[/B] Instead of having to code up … |
|
I am trying to implement within a class I call State some sort of mapping from a String to a set of States. So far, I have something like this as the initialization of this concept: [CODE]Map<String, HashSet<State>> mapping = new HashMap<String, HashSet<State>>();[/CODE] However, when I perform something like this: … |
|
|
Hi, I am very much a js novice, and trying to follow a tutorial that plots markers on top of Ordnance Survey map. The code used works in part by loading the map, but the markers it loads from a locations_complete.xml file do not show, and no error message is … |
Hi all, [CODE]import java.io.*; import java.util.*; class MapDemo{ public static void main(String args[]){ Map<Integer, Object[]> tMap = new TreeMap<Integer, Object[]>(); Object[] values = new String[] {"Tree", "Map"}; tMap.put(1, values); System.out.println("Keys of tree map: " + tMap.keySet()); System.out.println("Values of tree map: " + Arrays.deepToString(tMap.values().toArray())); } }[/CODE] The above code works good … |
|
I wrote a program that does rudimentary tile mapping based on reading in information from a "map file" and drawing the map on screen. I need it to be drawn in a scrollable window so it doesnt matter how big the grid is defined in the map file. I have … |
|
I am having hard time understanding what the problem is with my code here. Basically I have a map that contains Key objects as the key, and Block* as the value. The point of this for loop is to print out the values that the key contains on to the … |
|
I have some stock market price data organized as follows in a structure: struct PriceInfo { string Date; unsigned int Time; double Open; double High; double Low; double Close; unsigned int Volume; }; This struct organizes price data per interval of date and interval of time, where time is measured … |
|
Hi everyone again :) Bit of a weird problem, but is there any way of counting how many keys are stored within a multimap? Say for example I have the keys A, B, C and D. Each of these keys have say 100 values for each, so there should be … |
|
hi guys... my MD5 fingerprint is not working.... i used the following $ keytool -list -keystore ~/.android/debug.keystore -storepass android -keypass android and i entered it in the google map api md5 certificate but it says it is invalid. |
|
Hi I come from Python background and learning C++. In one of my programs, I need to have one key with multiple values and both being strings. for e.g. [CODE] "str1" ---> "value of str1" "str2" ---> "value of str2" "str1" ---> "value of str1 1" "str1" ---> "value of … |
|
i m using google map version 3. i want to customized the map type control show top-right corner.. i want to show all the type (map,statellite,terrain,earth) in one horizontal line (like its shown in V2). kindly guide me little.. thanks |
|
Dear all! I have a final year project on Google maps. The aim of the project create a map for a farm land in a city and to read the data to be displayed on the maps from a database. But the thing is I need someone who has done … |
|
I am making a project where when you select a city, you will get all the hotels on google map as markers.. now i got two options whether make an external xml file for all the hotels and read that file.. or get result for database.. so friends what you … |
|
Here`s my code. I think its right. I had checked every single detail. But then, it still don`t work. It doesn`t link to the html i had created. Hope you can help me. I`m new to this stuffs. [CODE]<html> <head><title>Using Image Maps</title></head> <body> <center><img src="bearface.jpg" width="600" height="776" alt="bearface" usemap="#bearface"></center> <map … |
|
Currently i m working on Google map V3.. i got a task to show multiple markers n n their corresponding info windows at the same time.. i m able to show the multiple markers but unable to show multiple info windows at the same time.. plz help me.. is this … |
|
Hi there, I'm working on a map for a class assignment and running into trouble. I've tried looking around the web but couldn't find anything that helped. I know how insertion works on a basic level when returning a node pointer but think i'm missing some key ideas when using … |
|
Hi, Im using Microsoft's Bing Map control in order to display Push Pins based on a series of latitudes and longitudes that i have strored in the database. Once I figure out how to display multiple hard coded push pins, I can figure out how to pass the values from … |
The End.