Forum: C++ Nov 29th, 2004 |
| Replies: 2 Views: 3,542 // Prototypes
bool leapCheck (int year);
void prettyPrint (int numberOfDates, string textArray[], DaysFrom1800 numbers[], int month[], int day[], int year[]);
Needed to be... |
Forum: C++ Nov 29th, 2004 |
| Replies: 2 Views: 3,542 I fixed one error in the switch statement, it should be 0-6, wen. is the first day (1,1,1800). But my problem still isn't fixed, the output is a repeated day, "Sunday". The program should execute the... |
Forum: C++ Nov 28th, 2004 |
| Replies: 2 Views: 3,542 This program displays the information of an input file containing dates and strings, the output is in the following form On day, January 1, 1800 The first day begins. [number of days since 1/1/1800;... |
Forum: *nix Software Nov 22nd, 2004 |
| Replies: 2 Views: 2,512 Thanks for the info. Yeah I tried everything you mentioned. I really don't know what else to do, maybe I'll rebuild my kernel again. |
Forum: *nix Software Nov 22nd, 2004 |
| Replies: 2 Views: 2,512 I tried using my usb pendrive, but it won't mount. I been doing a little bit of research on it, the problem might be that I either don't have scis emulation, and I need to rebuild my kernel again, or... |
Forum: Kernels and Modules Nov 22nd, 2004 |
| Replies: 1 Views: 5,547 I tried using my usb pendrive, but it won't mount. I been doing a little bit of research on it, the problem might be that I either don't have scis emulation, and I need to rebuild my kernel again, or... |
Forum: C++ Nov 22nd, 2004 |
| Replies: 1 Views: 2,607 Days since 1/1/1800,that day was Wednesday. Need to convert a date in the form mo/dy/year into this single number. Need a function to print out the day of the week, and a function to print out... |
Forum: *nix Software Nov 19th, 2004 |
| Replies: 18 Views: 40,822 This website might solve your problem: http://www.geocities.com/epark/linux/grub-w2k-HOWTO.html |
Forum: Window and Desktop Managers Nov 13th, 2004 |
| Replies: 2 Views: 78,205 Try this link http://www.fedorafaq.org/#nvidia |
Forum: C++ Nov 13th, 2004 |
| Replies: 3 Views: 2,107 Thanks for the advice Narue, I'm sure it will help me in writing future programs. |
Forum: C++ Nov 13th, 2004 |
| Replies: 3 Views: 2,107 I would really like to learn how to debug my programs. The book I'm using does not have much info on debugging and my instructor hasn't said much on the topic either. I ended up re-writing my source... |
Forum: Shell Scripting Nov 13th, 2004 |
| Replies: 1 Views: 4,099 I need the shell script for the Gnome 2.6 Print Manager. |
Forum: *nix Software Nov 13th, 2004 |
| Replies: 2 Views: 2,437 Did you try startx or X under root, your init runlevel might be set to 3. If startx or X does not load you need to configure X using the command xf86config. If startx works then you need to edit... |
Forum: *nix Software Nov 13th, 2004 |
| Replies: 0 Views: 3,451 I can't get my printer to be set, under a regular user, as default. I checked my cups server and its up and running and I checked port 631. Port 631 has my usb printer but when I go to print anyting... |
Forum: *nix Software Nov 11th, 2004 |
| Replies: 12 Views: 33,136 |
Forum: Windows NT / 2000 / XP Nov 11th, 2004 |
| Replies: 43 Views: 263,993 Sorry about the earlier post. Disregard the comment I made earlier. But make sure you backup your data before using any partitioning tool. |
Forum: *nix Software Nov 11th, 2004 |
| Replies: 18 Views: 40,822 Login under root type this command "fdisk -l" then post your results, then maybe i can help you. I don't think that your root linux partition is on (hd1,1) it's probably (hd0,1) or [(hd0,x) 0<x<1000]... |
Forum: *nix Software Nov 11th, 2004 |
| Replies: 3 Views: 3,307 This link should fix your problem: http://forums.devshed.com/archive/t-157222 If that doen't solve your problem try editing your WinXp boot config at the grub menu, select Winxp or other press 'e' to... |
Forum: C++ Nov 11th, 2004 |
| Replies: 2 Views: 2,032 The program is supposed to pen and read a file with student’s scores for a semester. Display a chart with the average and median scores for each section and each lab.
Example: CS 111 this... |
Forum: *nix Software Nov 10th, 2004 |
| Replies: 4 Views: 4,316 What distro do you want to use?
If your a linux newbie you should prob. start out using FC2 or Mandrake 10.0. If you want to know how a linux OS works I recommend you use gentoo, stage 1 or 2,... |
Forum: Windows NT / 2000 / XP Nov 10th, 2004 |
| Replies: 43 Views: 263,993 Use a partitioning tool like powerquest server magic,
Moderator edit: Instructions for obtaining software illegally are not permitted here at DaniWeb
- Catweazle |
Forum: C++ Oct 16th, 2004 |
| Replies: 4 Views: 3,282 |
Forum: C++ Oct 16th, 2004 |
| Replies: 4 Views: 3,282 sorry, with code tags now:
int gcd(int a, int b){
assert(b != 0);
int rem = a % b;
while(rem !=0 ){
a = b;
b = rem;
rem = a % b;
} |
Forum: C++ Oct 16th, 2004 |
| Replies: 6 Views: 3,708 int gcd(int a, int b){
assert(b != 0);
int rem = a % b;
while(rem !=0 ){
a = b;
b = rem;
rem = a % b;
}
return b;
} |
Forum: C++ Oct 16th, 2004 |
| Replies: 4 Views: 3,282 By the way i figured out how to reduce the fractions using the following but I have to use the gcd algo. and i have to use it to reduce the frac. :
void reduce()
{
if(res_up >... |
Forum: C++ Oct 16th, 2004 |
| Replies: 4 Views: 3,282 I need help using the GCD Algo. in my program, I can't figure out to use the algo in my program. The algo:
int gcd(int a, int b){
assert(b != 0);
int rem = a % b;
while(rem !=0 ){
... |
Forum: C++ Oct 14th, 2004 |
| Replies: 6 Views: 3,708 I omitted the gcd algorithum, if someone could explain to me how i can call the functions to the switch statement I would appreciate it. Thanks
#include <iostream>
using namespace std;
... |
Forum: C++ Oct 14th, 2004 |
| Replies: 6 Views: 3,708 a program that will allow the user to input two fractions and one of the four operations of +, - , *, and / . Once this information has been entered, the program should compute the operation on the... |
Forum: C++ Oct 3rd, 2004 |
| Replies: 6 Views: 11,560 I tried your solution already but when the user types 'n' the program runs once more and outputs goodbye before terminating. |
Forum: C++ Oct 3rd, 2004 |
| Replies: 6 Views: 11,560 Thanks for the help earlier, I fixed the problem i had earlier in nested loops, but now i need help creating a Do/While Loop that is a loop above all the steps above that ask the user to continue y... |
Forum: C++ Oct 3rd, 2004 |
| Replies: 4 Views: 7,247 |
Forum: C++ Oct 3rd, 2004 |
| Replies: 4 Views: 7,247 I'm having trouble with this program the objective is to Prompt the for a int. from 0-999, then split the int into three digits, then output the three digits from 000 through number entered using 3... |