Thanks guys I will look into it.
Type: Posts; User: Madshan
Thanks guys I will look into it.
I am trying to count the occurences of a words in a sentence. For example in the sentence To be, or not to be: The occurence of "to" would be 2, "be" would be 2, "or" would be 1. I just need a point...
I want to call my image using command line arguments. But my images are stored somewhere in different folder at "command prompt".
The location of the image may look like this:...
I want to know using either C/MATLAB , how to scan the image. I want to find out if there is any number of ones (1s) exist in the matrix.
For example:
Say, A matrix called M is 3x3. Now if M is a...
I want to know using either C/MATLAB , how to scan the image. I want to find out if there is any number of ones (1s) exist in the matrix.
For example:
Say, A matrix called M is 3x3. Now if M is a...
Hi,
I am trying to open a file called new with say any variable numbers of integers say 3 9 4 1 4 or 2 5 1 4, I am able to read in the data, but since my size is fixed to 11 by the #define size...
I am still a bit confused, how do I assign values to first,last, and middle? Since I first generated some randomn numbers. Thank you sir.
Hi,
I am still a programmer in the process of learning, I am trying to implement this program with generates 20 randomn numbers and uses the merge sort to organize them. My Function call doesn't...
thanks you guys, just curious are most you software programmers and engineers and you guys seem to have a great knowledge. I am currently a comp. engineering student starting my second semester of...
Thank you very much JaWiB. It ran perfectly after this, i just have quick question for you though, why is number passed? thanks once again I appreciate it.
Hi I am new to structures and am practicing this code to add numbers from a command line argument to numbers given using structures and functions. If anyone can help I would appreciate it thanks. ...
how is this any better?
#include <iostream>
#include <stdlib.h>
using namespace std;
void reverse(int numpts, int array[])
{
int temp;
thanks, i think im still stuck though im still fresh in programming?
is this any better? thanks.
#include <iostream>
#include <stdlib.h>
using namespace std;
int reverse(int numpts, int...
Hello if anyone could help me with this code, I would appreiciate. It asks for us to use CMDline arguments and swap the elements of an array in reverse order. for example (2 3 4 5 6) is (6 5 4 3...
oh sorry salem my fault man, i apologize, i think i actually mean meant both, but got mixed. sorry for confusion and thanks guys.
Thank You :D you made a code that I thought to be trick very simple and easy. i appreciate you helping out and this board is great resource. The code worked perfectly, but say I wanted to...
oh sorry if i cause confusion, you are right, but the for this program i have to enter ANY lower limit and upper limit. 3 and 6 was just an example. the lower limit could be 9 and upper limit a...
I was going to store the number between 3 and say 6 in there for some reason, which probably now doesn't make sense even to me. this my first C++ class and i am learning everything in this format,...
how does the code look now. the teacher has not properly taught us how to return in main. so i have to return within the function. but it still won't run.
#include <iostream>
#include...
thanks salem, but the programs requires the use of cin statements to enter the starting lower value and ending upper value. thanks for any help you could give.
Hello,
I am a C++ student and am practicing for C++ test. I have been stuck on a program. If anyone could guide me a bit I would really appreciate it as this is my first programming class. We...