Forum: Tech Help
2004-12-04, 01:16 PM
|
Replies: 0
Views: 2,500
Quicksort
I need to write a program that will be printed to the screen and to a text file. I need to test the function in a radom array of positive integers less than 100 of dimenstion 50.
#include...
|
Forum: Tech Help
2004-12-04, 01:14 PM
|
Replies: 0
Views: 2,220
Binary Search
I am writing a binary search that the user can input data that should be on a text file. Then I need to test the function using the sorted arrays by testing on these following numbers
12 30 33 81 99...
|
Forum: Tech Help
2004-12-04, 12:43 PM
|
Replies: 1
Views: 2,617
binary to decimal
I need some help I need to write a program that a user inputs a string of 32 0's and 1's representing a binary number. then I need to convert the binary integer to its base 10 representation and then...
|
Forum: Tech Help
2004-12-01, 01:07 PM
|
Replies: 0
Views: 2,125
Whats next
Right now I am completely stuck on this the program works fine but I do not know how to input data that should be on a text file. And also test the function using the sorted arrays like quicksort,...
|
Forum: Tech Help
2004-11-27, 12:18 PM
|
Replies: 2
Views: 2,333
Trace program
I need some help I only now what its going to output but the only problem which I do not know how is trace the execution.
#include <stdio.h>
main()
struct aa{
int x;
char z; } *p, *q;...
|
Forum: Tech Help
2004-11-13, 11:36 AM
|
Replies: 2
Views: 2,316
Word processor
I am trying to create a program that a common error that users often make is that they forget the caps locks on an print text like this: "tHIS IS A SAMPLE of an error", this usually happens at the...
|
Forum: Tech Help
2004-11-09, 01:41 PM
|
Replies: 1
Views: 2,218
Palindrome
Can someone help me edit my program I do not know how to change to code from C++ to C.
#include <iostream.h>
#include <conio.h>
#include <string.h>
using namespace std;
...
|
Forum: Tech Help
2004-11-08, 12:35 PM
|
Replies: 6
Views: 3,321
Translation
I am to post to use rand() (seeded with either srand(time(0)) or with randomize(), to generate a small arrays of dimsion 20, such that the entries are random positive integers less than 100. Then I...
|
Forum: Tech Help
2004-11-08, 12:29 PM
|
Replies: 6
Views: 3,321
|
Forum: Tech Help
2004-11-07, 08:38 PM
|
Replies: 6
Views: 3,321
I am to post to use rand() (seeded with either...
I am to post to use rand() (seeded with either srand(time(0)) or with randomize(), to generate a small arrays of dimsion 20, such that the entries are random positive integers less than 100. Then I...
|
Forum: Tech Help
2004-11-07, 01:14 PM
|
Replies: 6
Views: 3,321
Rand() function seeded srand(time(0)
I know how to make a bubble sort and the exchange sort but I do not know how to generate a small arrays of dimension 20, such that the entries are random positive integers less than 100. I am also...
|
Forum: Tech Help
2004-11-04, 04:58 PM
|
Replies: 2
Views: 2,491
Oops
So all I need is to add that library in there #include <stdlib.h> and take the pointer out right?
|
Forum: Tech Help
2004-11-02, 09:42 PM
|
Replies: 3
Views: 2,920
|
Forum: Tech Help
2004-11-02, 04:25 PM
|
Replies: 2
Views: 2,491
Quicksort
I almost got this program to work but I just got two errors on them I labeled the error where it is causing it on turbo C++.
#include <stdio.h>
#define MAXNUMS 2000
void quicksort (int *a,...
|
Forum: Tech Help
2004-11-02, 03:55 PM
|
Replies: 3
Views: 2,920
C programming word processor
I need some help I am trying to figure out a common error that users often make is that they forget the caps locks on and print text like this:"tHIS IS A SAMPLE of an error". This program works. It...
|
Forum: Tech Help
2004-10-20, 04:13 PM
|
Replies: 7
Views: 3,751
|
Forum: Tech Help
2004-10-19, 05:37 PM
|
Replies: 7
Views: 3,751
|
Forum: Tech Help
2004-10-19, 01:40 PM
|
Replies: 7
Views: 3,751
|
Forum: Tech Help
2004-10-19, 12:09 PM
|
Replies: 7
Views: 3,751
C programming Pay Rate
I need some help I am not sure how to program this. I am to post to be a employer that is interested in determining the pay an individual is to recieve. The number of hours and pay rate should be...
|
Forum: Tech Help
2004-10-18, 12:55 PM
|
Replies: 3
Views: 5,026
Array
When the program is running I don't want to user to input any age group instead I want to program that has already have the ages ready. Like the ages showing right now on the previous message.
|
Forum: Tech Help
2004-10-17, 03:52 PM
|
Replies: 3
Views: 5,026
Counting age group
I need some help I wrote a program to count th number of people in each of the following groups: 0-16 infant, 16-29 young, 29-55 middle age, 55-75 old, 75- and older, really old. I have the program...
|
Forum: Tech Help
2004-10-15, 09:35 PM
|
Replies: 3
Views: 2,993
|