Search:

Type: Posts; User: Madshan

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,198

    Thanks guys I will look into it.

    Thanks guys I will look into it.
  2. Replies
    4
    Views
    1,198

    Word occurrence logic

    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...
  3. passing arguments using "Command Line Arguments"

    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:...
  4. how to search for something in the matrix which is( 2-D array)

    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...
  5. how to search for something in the matrix which is( 2-D array)

    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...
  6. Replies
    6
    Views
    885

    File I/O difficulty

    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...
  7. Hi thanks

    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.
  8. MergeSort function not working with randomn number

    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...
  9. Replies
    5
    Views
    905

    thanks you guys, just curious are most you...

    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...
  10. Replies
    5
    Views
    905

    Thank you very much JaWiB. It ran perfectly...

    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.
  11. Replies
    5
    Views
    905

    structure code help

    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. ...
  12. Replies
    4
    Views
    800

    how is this any better? #include ...

    how is this any better?


    #include <iostream>
    #include <stdlib.h>

    using namespace std;
    void reverse(int numpts, int array[])
    {
    int temp;
  13. Replies
    4
    Views
    800

    thanks, i think im still stuck though im still...

    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...
  14. Replies
    4
    Views
    800

    One more program help?

    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...
  15. Replies
    15
    Views
    1,386

    oh sorry salem my fault man, i apologize, i think...

    oh sorry salem my fault man, i apologize, i think i actually mean meant both, but got mixed. sorry for confusion and thanks guys.
  16. Replies
    15
    Views
    1,386

    Thank You :D you made a code that I thought to...

    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...
  17. Replies
    15
    Views
    1,386

    oh sorry if i cause confusion, you are right, but...

    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...
  18. Replies
    15
    Views
    1,386

    I was going to store the number between 3 and say...

    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,...
  19. Replies
    15
    Views
    1,386

    how does the code look now. the teacher has not...

    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...
  20. Replies
    15
    Views
    1,386

    thanks salem, but the programs requires the use...

    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.
  21. Replies
    15
    Views
    1,386

    findAvecode assistance

    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...
Results 1 to 21 of 23