CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: stunner08

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    9,643

    Re: output to be displayed in 9x 9 matrix

    Do i to do transposing of matrix?
  2. Replies
    8
    Views
    9,643

    Re: output to be displayed in 9x 9 matrix

    Now I have totally changed the for loop as shown below:-





    for (int S1=0;S1<=4;S1++){

    for (int R=0;R<=8;R = R++){
    myarr[5][9] = (float) rand()/(float) RAND_MAX;
  3. Replies
    8
    Views
    9,643

    Re: output to be displayed in 9x 9 matrix

    There was an error at the for loop too:-




    for (int S1=0;S1<=8;S1 = S1 + 1){

    for (int R=0;R<=8;R = R+1)
    myarr[S1][R] = (double) rand()/(double) RAND_MAX;
    z = myarr[S1][R];
  4. Replies
    8
    Views
    9,643

    Re: output to be displayed in 9x 9 matrix

    Now i have arranged the RandomFunction code to be within the main function as shown as below:-




    int main()
    {

    srand( (unsigned)time( NULL ) );
    int i, j;
  5. Replies
    8
    Views
    9,643

    Re: output to be displayed in 9x 9 matrix

    Hi D_Drmmr

    Ur saying that the srand function can be called only in the main and not inside other functions?

    Then how will i get the random numbers if the srand function is outside the...
  6. Replies
    8
    Views
    9,643

    output to be displayed in 9x 9 matrix

    Hi community,

    I having trouble in displaying on of my result in 9 X 9 matrix which suppose to do so.

    I have commented on that line which suppose to produce the result.
  7. Replies
    2
    Views
    709

    Change into 4 points floating number

    Hi,

    I need help in acquiring 4 points floating value which I can seem to get. All i'm getting is 0.00000.

    Here's the code :-

    #include "mbed.h"
    #include <stdio.h>
    #include <stdlib.h>...
  8. Replies
    5
    Views
    3,078

    Converting MATLAB function to C++

    Hi,

    I need to convert the following MATLAB function into C++. I ad have some info on using the Matlab engine but I still can understand what it is doing....

    function [Is] = ver_eq(I)
    l =...
  9. Replies
    6
    Views
    8,632

    Re: Matlab functions need conversion

    Hi,

    I'm developing an API which that will be embedded to a ARM micro controller. I was have the simulation version which is in .m or Matlab file. But it seems that I have to convert it into C++...
  10. Replies
    6
    Views
    8,632

    Matlab functions need conversion

    Hi,

    I need help in converting a few functions from matlab to VC++. Here's the code that I have done partially in C++ and some are still in MATLAB.



    #include "mbed.h"
    #include <stddef.h>...
Results 1 to 10 of 10





Click Here to Expand Forum to Full Width

Featured