Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~9K People Reached
Favorite Forums
Member Avatar for Cosa

I am having trouble devising a method to multiply 2 matricies that are formed by dynamic one dimensional arrays, for this case i just used matrix1 and matrix2 To access elements that are on rows 0 to n-1 in either matrix i have to use this method: ((rows - 1) …

Member Avatar for kabultanha
0
4K
Member Avatar for Cosa

Hi, I recently imported about 18,000 records from filemaker into access. I initially exported the data as a csv file, i then opened it with excel and saved it as an xls spread sheet. Once i cleaned all the data i proceeded to import it into access, however i now …

Member Avatar for MeSampath
0
59
Member Avatar for Cosa

Hi, i recieve and undefined refrence error when i try to link files, and i think it is due to the use of templates. I have a .h file which has 2 classes and there respective functions in them, however i want to place the functions into a .cpp file. …

Member Avatar for Dave Sinkula
0
116
Member Avatar for Cosa

Hi, Im new to VB. Im just trying to do a simple if statement that will open a specific form based on user input. The database requires me to scan in a barcode from a card. I then want to check if that barcode number is already in the database. …

Member Avatar for jireh
0
347
Member Avatar for Cosa

I am having trouble reading in data from a file. The data file store the information of albums and its respective track info eg 1234 //this is id number Scarlets Walk //album name Tori Amos //artist 24 //price 2 //stock Pop //genre Track A //track name 10 30 //track length …

Member Avatar for Cosa
0
118
Member Avatar for Cosa

I am writing a program which reads in a database of albums into an array of structs, the data can then be deleted, modified etc. The problem i am having is that when i try to modify a specific record using a search term and then strcmp to the album …

Member Avatar for Cosa
0
91
Member Avatar for Cosa

I have a problem where i want to compare strings, however the comparison cant be case sensitive. I have tried to use stricmp strnicmp strcmpi They do not seem to be part of the <string> or <cstring> libraries on my compiler. I am using the GNU compiler. Is there a …

Member Avatar for Cosa
0
88
Member Avatar for Cosa

The aim of the program which i am writing is to convert strings of DNA. The DNA is in a text file and represented by the letters A, T, C, and G. Reading in the file and outputting the converted DNA is easy. However i want to save the converted …

Member Avatar for Lerner
0
139
Member Avatar for Cosa

Hi, i am trying to write a program that would work much like the tail command in UNIX. The idea is to print the last 10 lines of a file. I started off by finding out how many lines were in the file, then attempted to seek to the appropriate …

Member Avatar for Cosa
0
4K
Member Avatar for Cosa

Hi, i have a function which is supposed to compare two matrices, however i does not work properly. I get this compile warning. [code] warning: control reaches end of non-void function [/code] Here is the function. [code=c++] bool matrix::isequal(const matrix& ob3) { for (int i = 0; i < rows; …

Member Avatar for Nick Evan
0
140
Member Avatar for Cosa

Hi, I am having a problem with returning a 2d array back to the main in my program. The program reads in a matrix from a file, then it has to multiply etc, however i cannot get the print function to work since the array that is made in the …

Member Avatar for Nick Evan
0
143
Member Avatar for Cosa

I am trying to now multiply matrices stored in 2d arrays. When the program runs i get segmentation fault, using DDD i found the point where it stops after 3 loops. [code] int i,j,k; float** matrixc = new float*[rows]; if (matrixc != NULL) { for (int x = 0; x …

Member Avatar for Cosa
0
106
Member Avatar for Cosa

Here is my code, the aim is to use dynamic memory and pointers. The program siccesfuly reads in data from a text file into the dynamic array(matrix). The size of the array is also in the text file, so thats how the size of the array is known. I am …

Member Avatar for Cosa
0
237
Member Avatar for Cosa

[code] void ChangeAddress() { char searchaddress; char newaddress; cout << endl; cout << "Please enter street name to be changed "; cin >> searchaddress; for (int i=0; i<numrec; i++) { if (strcmp(SubscriberID[i].Subscriber_Address.streetname, searchaddress) == 0); { cout << "Enter the new street name: "; cin >> newaddress; } } } …

Member Avatar for Cosa
0
281