Summary: im at a bit of a loss here. I never had to work with strings, so forgive me if it is trivial: i want to have an array of strings in C++, for example:...
Summary: Well. The first thing you must have understood is the way that C implements the arrays. Basically in C a pointer and an array is the same thing. A poi...
Summary: Hello, I am currently trying to teach myself a bit of C++ through programming some simple apps and now I am stuck on two multi-dimensional arrays. Thi...
Summary: You can't assign arrays a value using = outside of the declaration in C, so use strcpy(namelist[index], name); You also haven't told the compiler how ...
Summary: Hi Guys, Can someone give me a simple example of how to read a file of userids and passwords such as a file called passwords containing: a001mm passwo...
Summary: What you're talking about is using pointers and allocating memory. You need to be careful here because this is how memory leaks occur: #include "stdl...
Summary: Please, can anyboby help me with the problem in this simple C program ? After running, I can answer just the first question. The second question comes...
Summary: Hi, Is there another way of reindexing array content? I want to shift the array content up several index, deleting the old contents. Say, array[0][1...
Summary: Hi, This is a simple problem. Please refer Schaum series C programming by Byron S. Gottfried. After reading Pointers from this book, I think you wil...
Summary: Hi, Have a problem in this question, (a) Average sales revenue for the year (b) Month with the maximum sales revenue (c) Month with the minimum sales...
Summary: C++ WinXP VIDE compiler/Visual 6 c++ Hi, I need help writing a function that reads in a integer n from the user and displays the nth term in the array...
Summary: I don't think this is ment for this forum, but I need some expert help so I can finish my project for class. I have a txt file with a paragraph inside...
Summary: I'm very new to c++ I'm trying to write a program with an array using a random number generator from 1 to 1000. alist have to find te largest, smalles...
Summary: I am having some problem comparing two arrays in C++. I would like to be able to compare the two to see if they have any elements that match. Example...
Summary: I cannot figure out how to do this C++ homework assignment where I am supposed to import a file and sort it into an array which will output the larges...
Summary: hello, how do i distribute data from an array into a single variable? one possibility is: int num1 = myArray[3]; int num2 = myArray[2]; int num3 = myA...
Summary: Mr.Khash, thanks for your solution, but you see, I am allowed to use only , , and also for this assignment. My syllabus covers so far : 1. Variable...
Summary: ok, rather simple question in VB. suppose I have a string which I want to evaluate as a command, for example: Dim str As String str = "Command1.Enabl...
Summary: work our on for loops clearly.These are the basic stepping stones to learn c. a simple answer is decreament by 1 each time a loop goes. for(i=5;i<...
Summary: Do any body know some sample matrix multiplication problems writing in C applied in PVM (Paralel Virtual machine? I have downloaded some samples, but ...
Summary: I've been working on this program a little while and I come up with the same errors. If some one could help I would be very thank full. My program...
Summary: Have you considered using STL (the standard template library). I think that you ought to be able use the 'vector' template class (in many ways it beha...