Home » C & C++ & C# » Page 1
1: int main()2: {3: unsigned short x;4:
unsigned short y5: ULONG z;6: z = x * y;6: return 0;7: }

Please ... i got to many error. When I want z value to write in
Textbox form window. Just like var or data from console to form
window
How var or identifier seems undeclared in form window with
namespace .

I have created a graph(map) using graphics.h in C. Just to
mentioned I have coordinate location of each and every point on the
map.
How can I zoom in to the particular area selected by the
user ?

Secondly, how can I zoom in around a particular
point(selected by the user) on the graph(map) ?

Write a C program to Remove even numbers and fill it with zeros. />Note: You can use only one loop for your logic.
Two variables
apart from the array.
Input array 1,2,3,4,5,6
Output
1,3,5,0,0,0

Using Borland C++ 3.0

Here's my code:

class="language-cpp">#include<iostream.h>#include<conio.h>int
main(){ int m,d; int i=0;clrscr(); cout<<"Enter Birthday month:
"; cin>>m; cout<<"Enter Birthday day: "; cin>>d;
cout<<""; { if(m==3 && d>=21)
cout<<"ARIES!"; else if (m==4 && d<=20)
cout<<"ARIES!"; else if(m==4 && d>=21)
cout<<"TAURUS!"; else if(m==5 && d<=21)
cout<<"TAURUS!"; else if(m==5 && d>=22)
cout<<"GEMINI!"; else if(m==6 && d<=21)

I want to write a program that asks the user to enter his date of
birth and print the zodiac sign on the screen. The program should
allow the user to enter his date of birth in the MM/DD/YYYY format.
The program should also print the user's age on the console. The age
format should be : You are 26 years, 4 months and 7 days old.
I
must use if, else and/or Switch statements ONLY.
Any help will be
highly appreciated.

Thanks in advance.

Okay so i am trying to make it so i can unzip files using c++ and
found a library called zlib i built all .sln file in the folder
contrib/vstudio they all compiled succesfully but when i try to get
this example to work

/* unzips
testfile.txt from C: emp est.zip and puts it in a string*/#define
ZLIB_WINAPI // dont know if i need this or not#include
<cstdio>#include <string>#include <iostream>#include
"unzip.h" // MiniZip library#define WRITEBUFFERSIZE (5242880) // 5Mb
bufferusing namespace std;string readZipFile(string zipFile, string
fileInZip) { int err = UNZ_OK; // error status
uInt size_buf = WRI

I am trying to inflate using zlib. The data is from a network
packet contaning only unsigned charecters in QP encoded form
eg,
1F=8B=08=00=00=00=00=00=02=FF=A5X=FBw=DA8=16=FE=BD=7F=85=AAlyL=00C=DE=03=98=9C=B6i=13f=BBm=A6=ED=9Cvg=1F=1C=D9=16=B6&=B2=E4=C82=84M=F9=DF=F7J=B2=81=90G=BB=B3=C9=01=AC=C7=95=AE=EE=FD=EE=A7{=3DLt=CAG=C3=84=92h4L=A9&(=D1:k=D3=EB=82=CD|=1CJ=A1=A9=D0m=BD=C8(Fe=CB=C7=9A=DEh=CF=08=0EP=98=10=95S=ED=FF=F6=F9m=FB=04=8F=86=9AiNG=E7R=C6=9C=0E=3D=D7=1A=E6za~=9E=B7=DB=CF=02=19-Z:j=91V=D6=EA$=B7SX=B2=3D%)=E3=8B>Q=8C=F0VND=DE=CE=A9b=D3=E5=B3jB=CE=FEC=FB{=DD=EC=C6v=85=92K=D5=DF=D9
...............etc.
After
reading the file I have stored the data in an array

I'm trying to install podofo (pdf library) for use with MingW in
Windows XP. It requires zlib.
I'm using CMAKE to generate the
makefile.
For some reason, CMAKE, no matter how many times i
redirect the ZLIB_LIBRARY to the zlib directory an error in CMAKE
occurs telling me that it can't find ZLIB_LIBRARY.

Any clues as
to why.????

I am trying to use the zlib based compression for buffer
compression. In this case, I am using compress2 function.

class="language-cpp">compression_success=compress2((Bytef*)compressed_buffer,
&compressed_size,(const Bytef*)package_data.pData,
(uLongf)orig_size, 1);

And for decompression I am using
uncompress function.

class="language-cpp">uncompress_success=uncompress((Bytef*)destination,
&UnCompSize, (const Bytef*)package_data.pData,
package_data.cbData);

The problem is that the system tend to
be very slow. I have heard that the other functionalities of the zlib
compression library like inflate and deflate can be very useful.


Pleas

i need a c programme that reads a txt that you chosse then count
the number of each word in the programme i have e.g.
"hello this
word is very funny this is not"
hello 1
this 2
word
1
is 2
very 1
funny 1
not 1
i would love if
anyone could help me with logic or real code ty guys


- Technology - Languages
+ Webmasters
+ Development
+ Development Tools
+ Internet
+ Mobile Programming
+ Linux
+ Unix
+ Apple
+ Ubuntu
+ Mobile & Tablets
+ Databases
+ Android
+ Network & Servers
+ Operating Systems
+ Coding
+ Design Software
+ Web Development
+ Game Development
+ Access
+ Excel
+ Web Design
+ Web Hosting
+ Web Site Reviews
+ Domain Name
+ Information Security
+ Software
+ Computers
+ Electronics
+ Hardware
+ Windows
+ PHP
+ ASP/ASP.Net
+ C/C++/C#
+ VB/VB.Net
+ JAVA
+ Javascript
+ Programming
Privacy Policy - Copyrights Notice - Feedback - Report Violation 2018 © BigHow