Asssociative arrays: How to add data?

Hi, I have the following problem:
Text file "strlines.dat" contains series of the following information of straight lines:
1) coordinate of one line's point
2) angle slope
It looks like (x,y) 45 deg:

2,6 60
4,7 45
2,1 30

After adding this information to associative container verify it and find lines
1) with same coordinates
2) with same angles
Showing results separately for each 1) and 2).
How to add info from file to associative container and find it? It should be like this?:

You are close, but you are performing a string comparsion. Also, I don't think that this line

if((it=Line.find()) == Line.end()){

will compile.

If you want to have two checks (one for the coordinates, one for the slopes), then it would be easier if you create a class for the data, then write a method which will determine if the coordinates are the same, and another one which checks if the slopes are the same.

Hi. so this is actually a continuation from another question of mine[Here](https://www.daniweb.com/programming/software-development/threads/506795/dynamically-add-values-into-datagridview-cell-from-listbox-vb2010) but i was advised to start a new thread as the original question …

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...