Home » C & C++ & C# » Page 2
zip code program !! $ !!
C & C++ & C#

I am testing a program that I am trying to run and having some difficulties with it. If you run this program I am able to compille it fine but will not return anything and stalls on me...Here are the instructions.....

There are 25 digits split into five groups of five digits each...

10100 10100 01010 11000 01001

Next, consi

ZIP code + 4 validation using graphs
C & C++ & C#


I have to create a graph based program that will validate a zip code given an expression to match eg. ddddd - dddd, where d is a digit 0 - 9. I am new to graphs and don't know how to accomplish this. I'm trying to make graph class, and this is what I have so far using my textbook as a guide. Any help would be appreciated: Thank you.

class graph{publi

zip and rar files
C & C++ & C#

hello how do i open zip and rar files with c ? which lib do u recommend ? is there any one lib that does both zip n rar ?

im basically trying to open zip and rar files which contain pics and retrieve a string array of all the names of the pics ignoring any folder names

some example source code would be greatly appreciated too thanks in advance

Ze WAVE sound file player
C & C++ & C#

Short little sound files of chicken, horses, dogs, cars, trains and other annoying things is the realm of the wave file (.wav). These are easy to play and guaranteed to confuse grandpapa. Again, we are using Windows' sound workhorse winmm.lib file. Ze function this time is PlaySound(). Here is ze C++ console code.

Ze SDL way to do multimedia programming
C & C++ & C#

The Simple DirectMedia Layer (SDL) library allows for manageable multimedia programming in console mode. Now you can mix graphics, animated or otherwise, with sound and make your game project more interesting. I am showing an example for Dev-C++ using math generated graphics, purloined from the NET, and give some instructions where to get SDL and how to install it properly.

C & C++ & C#

Hello friends,
Is there any problem with "Zero-Length-String" in C/C++.
Pls mention if there is any type of problem in standard string library-functions like strcpy, strcat, memcpy, etc.


zeroing out an array
C & C++ & C#

when I try to assign using the expression:

my compiler throws the following error: "invalid conversion from ‘const char*’ to ‘char’.

Any idea on what's wrong? Any idea on how to solve the problem?

Zeroing bits
C & C++ & C#

Is this the proper way to zero the first 12 bits of an address?

void *ans = (void*)((unsigned long)addr & ((0UL - 1) ^ 0xfff));

Where addr is any user process memory address..

Note this method works...I just want to know if there is a better way

zenos series
C & C++ & C#

i need help on a program that uses zenos series
which calculates the sum of the first N terms of Zenos series, where N is what the user inputs. it should be a number 1 and 15 (inclusive).
program should print n terms of the series seperated by + and followed = sign < followed by value of the sum

Print num between 1-15: 1
im kinda stuck on this prog

Ze MIDI music file player
C & C++ & C#

Many of you know how I like to use sound to make the old computer box more interesting. The midi file packs a lot of neat instrumental music. It is very simple to play, even in a console application, using the winmm.lib file that comes with just about any Windows based compiler. Here is the code. Turn up the speakers and blast the dust off the rafters!

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