i am writing a program that has the user input a file and then the file goes through two functions. I am having trouble opening the file. here is the code.
printf("Enter the file to...
Type: Posts; User: pinkpenguin
i am writing a program that has the user input a file and then the file goes through two functions. I am having trouble opening the file. here is the code.
printf("Enter the file to...
Hi,
I am writing a program that asks the user to input a file name and the program then reads what is in the file and sends that information to another function. I am a little confused on how to...
Hi,
I need to write a program that has the user input a command such as ADD (adds two numbers), SUB(subtracts two numbers), DIV( divides), MUL(multiplies) and then input the two numbers. The user is...
Hi,
I need to write a program that has the user input a command such as ADD (adds two numbers), SUB(subtracts two numbers), DIV( divides), MUL(multiplies) and then input the two numbers. The user...
#include<stdio.h>
#include<stdlib.h>
#define ARY_SIZE 500
#define RANGE 1000
#define TRUE 1
#define FALSE 0
int bldPerm (int randNos[]);
void printData(int data[], int size);
int...
I seem to get a line 19: warning: improper pointer/integer combination: arg #1, when I run this. I don't know why.
#include<stdio.h>
#include<stdlib.h>
#define ARRAY 500
int getRandA(int...
I don't see it .
The random numbers that are created are supposed to go through the selection sort that was given. For some reson I have an error on line 18 and I am unsure why?
#include<stdio.h>...
I have the random array but I can't figure out how to make the numbers range from 1 to 1000.
here is the code.
#include<stdio.h>
#include<stdlib.h>
#define ARY_SIZE 500
HI,
I need to create a random array of 500 numbers between 1 and 1000. I understand how to create an array of 500 numbers but I can't seem to make it random. Can anyone help me.
Thank You.