User Profile
Collapse
-
calculate the inverse of a matrix
how to you write program that calculate the inverse of a matrix -
Matricies in C++
i am new to c++ i need a help to start with this small exercise
C++ class that declares a matrix and incorporates all matrix operations. Constructors must be created to declare an empty matrix, an identity matrix -
help with c#
write a c# program taht can do the following
• Read in a number of records of your friends’ names and birthdays (string with format <mmdd>). Save it on a binary file. Each record (struct) must also have a record number (sequential and starting at 1) that is generated automatically by the program and stored in the first field of the struct -
I HAVE MADE SOME EFFORT TO GET STARTED BUT STILL IT SEEMS AS IF I AM NOT GOIN ANYWAY HERE IS WHAT I HAVE DONE SO FAR
...Code:#include<stdio.h> #include<stdlib.h> #define MAX 25 #define ORGANISMS x #define NO_ORGANISMS ' ' int birth(int life[][MAX],int x,int ' '); int survival(int life[][MAX],int x,int ' '); int death(int life[][MAX],int x,int ' ');
Leave a comment:
-
Multidimension Using Arrays
I Have Been Going On With This Problem I Just Cannot Do It:
U Have To A Program Of The Genetis Law For Survival,birth, death.
The Game Will Be Played On A Board That Consists Of 25 Squares In The Horizontal And
Vertical.each Square Can Be Empty Or Contain X(presence Of Organisms).each Square Has
Eight Neighbours.
Birth=>an Organism Will Be Born In Each Empty Location That Has Three Neighbours... -
i have done again but it cant compile well:
...Code:#include <stdio.h> #include <stdlib.h> #define MIN_SIZE1 20 #define MIN_SIZE2 20 #define MAX_SIZE 40 int populate_an_array(int array[], int array_size); void remove_duplicates(int array[], int array_size); void sort_array(int array[],int array_size); int merge_the_contents(int array[],int array_size,int arr2[],int array_size2,int
Leave a comment:
-
-
now i get a syntax error for :
int search_value(in t array[],int array_size,int number);...Leave a comment:
-
thanks man but there is one error:
Call to function 'search_value' with no prototype in function main.I JUST CANT FIGURE OUT WHAT TO DO...Leave a comment:
-
problem with arrays
could u pls guys help me with this problem
...Code:#include <stdio.h> #include <stdlib.h> #define MIN_SIZE1 20 #define MIN_SIZE2 20 #define MAX_SIZE 40 int populate_an_array(int array[], int array_size); void remove_duplicates(int array[], int array_size); void sort_array(int array[],int array_size); int merge_the_contents(int array[],int array_size,int arr2,int array_size2,int
-
-
it does work but i need to populate an array with random integers btw 0 and 99...Leave a comment:
-
i am tying to write a function that can populate an array for integers btw 0 & 99
and i get a syntax declaration error...Leave a comment:
-
i am not sure if this is how u populate
but there is a syntax error.could u correct me...Code:#include <stdio.h> #include <stdlib.h> #include <math.h> rand() int array(*array size) main () { int i,j; { for (i =0,i >array size,++i) array[i] = rand()%100 return *array} }Leave a comment:
-
-
-
i just can understand the whole thing so if u dont mind can u pls write the program for me...Leave a comment:
-
No activity results to display
Show More
Leave a comment: