Home » C & C++ & C# » Page 3
zellers problem
C & C++ & C#

my output keeps putting out monday for everything need help with this, kinda confused on what im dooing

#include <iostream>#include <iomanip>using namespace std; void displayTitle();int getMonth(int month);int getDay(int day);int getYear(int year);int CalcDayofWeek(int month, int day, int year);void displayDay(int G);int main(){ //declare variables int

Zeller's Algorithm - Leap Year issues
C & C++ & C#

I'm new to C/C++ and I'm having difficulty with calculating leap years in my Zeller's Algorithm program (based off of the Gregorian Calendar). I've lost sleep over this code for the last week and this is my final breaking point.
I continually get "This day is Friday." for input 1 16 2012 ... which should be Monday instead.. etc, etc.

If anyone could help or give me hints, that would

Ze DOS command way to change console colors
C & C++ & C#

Quick and dirty way to change your console program colors using DOS command "Color BackgroundForeground" where Background is hex 0 = black to F = white, dito for Foreground.

Ze CD-ROM door opener/closer
C & C++ & C#

A real useful piece of code, hence I put it under Z. It does nothing but open and close the door of the CD-ROM player, and pushes the tray in and out. Should your coffee be too hot, you can put it on the moving tray and cool it off! Get the old computer out of the attic, we found a use for it! Seriously, just a quick look at the many things the mciSendString() function can do.

Z-Buffer (depth Buffer) implementation
C & C++ & C#

Hi All,

I am trying to use z-buffer (also known as a depth buffer). I have researched this online and in books but all I have found so far is a brief description and then they throw an equation at you. The last line is usually, "it is very easy to implement". But I am having very hard time with this. From what I understand OpenGL makes this kind of stuff really easy. But I am trying

YouTube Video Downloader Help
C & C++ & C#

Hi, guys
I never done this before but I want to make a program like a YouTube Downloader.
I just don't now how to start. I found at that a HTTP Request requests a FLV file called videoplayback (without an extension).
If I goto to the request's link, it downloads the videoplayback file and if I change the extension to .flv then I can play it as a video. How can I use this in a pro

Your weight times the planets weight in classes. C++
C & C++ & C#

Let me try again my name is Leonard Norwood Jr.

I'm doing my homework where I have to write a program that outputs the users's weight on different planets.
Should sound familiar

With classes, I need to have one default constuctor that will create an object representing earth. The class as an observer operator that takes a weight on EArth as argument and returns the weight of

Your Valuable Opinion Needed - Thank You
C & C++ & C#

Hi everyone

First of all I am glad that i found this forum...I would like to humbly request all the knowledgeable people here to express their views on this........

I am an accountant by profession and completely novice to the world of computers.All i know is how to check emails, surf websites and the like.....

However, I suffered a major medical setback 2 years ago and hav

Your opinion(Windows Programming)
C & C++ & C#

So is it worth learning win32 API instead of just shooting straight to Microsoft Foundation Classes? One of my classes covered win32 for a little and I was able to do a couple fun things with it, but then we jumped into MFC. It makes you ask the question, is Win32 even viable anymore? What do you guys think?

YOur opinion -!!!
C & C++ & C#


I just wanted your input on this program(can it be more efficent?...and so on ). It's a simple program. It reads 5 integers and checks if its an palindrom or not. As you can see I am a beginner.

here is my code:

#include<iostream>//#include<string>//#include<ctime>//#include<cstdlib>//#include<using namespace std;int

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .