137 Topics

Member Avatar for
Member Avatar for alex.ashton.58

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 …

Member Avatar for alex.ashton.58
0
196
Member Avatar for trektrak

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 …

Member Avatar for pritaeas
0
1K
Member Avatar for akashsinha123

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 …

Member Avatar for pritaeas
0
102
Member Avatar for karthik_ppts

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.

Member Avatar for msgrasser
0
5K
Member Avatar for GlenRogers

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 …

Member Avatar for GlenRogers
0
327
Member Avatar for hwoarang69

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}, …

Member Avatar for hwoarang69
0
205
Member Avatar for hwoarang69

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) { …

0
109
Member Avatar for s7mo

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 …

Member Avatar for diafol
0
2K
Member Avatar for arathy nair

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, …

Member Avatar for JamesCherrill
0
217
Member Avatar for SCass2010

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 …

Member Avatar for ravenous
0
1K
Member Avatar for bgx90

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 …

Member Avatar for bgx90
0
3K
Member Avatar for MastrLuigi

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 …

Member Avatar for MastrLuigi
0
263
Member Avatar for dmotah

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 …

Member Avatar for dmotah
0
153
Member Avatar for freedomflyer

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 …

Member Avatar for ~s.o.s~
0
1K
Member Avatar for freedomflyer

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: …

Member Avatar for freedomflyer
0
435
Member Avatar for stephen_UK

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 …

Member Avatar for stephen_UK
0
214
Member Avatar for javausers

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 …

Member Avatar for NormR1
0
220
Member Avatar for Catalyst.X

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 …

Member Avatar for Unhnd_Exception
0
274
Member Avatar for megatron21

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 …

Member Avatar for megatron21
0
247
Member Avatar for toneranger

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 …

Member Avatar for toneranger
0
849
Member Avatar for SCass2010

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 …

Member Avatar for vijayan121
0
1K
Member Avatar for caierhui

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.

Member Avatar for peter_budo
0
133
Member Avatar for imcgrath1

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 …

Member Avatar for mike_2000_17
0
3K
Member Avatar for sam230

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

Member Avatar for sam230
0
136
Member Avatar for emmas4impact

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 …

Member Avatar for emmas4impact
0
941
Member Avatar for sam230

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 …

Member Avatar for jkon
0
142
Member Avatar for choboja621

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 …

Member Avatar for Airshow
0
132
Member Avatar for sam230

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 …

Member Avatar for karthik_ppts
0
130
Member Avatar for Nicco

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 …

Member Avatar for Nicco
0
2K
Member Avatar for ricksvoid

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 …

0
123

The End.