Home » C & C++ & C# » Page 1
z = x * y ; from console to form window
C & C++ & C#
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 .


Zooming in and out !
C & C++ & C#

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) ?

TAGS : Zooming

ZOHO interview question
C & C++ & C#

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


Zodiac Sign: Compare element
C & C++ & C#

Using Borland C++ 3.0

Here's my code:

#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

zodiac sign calculations
C & C++ & C#

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 h


zlib linking errors
C & C++ & C#

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&g

zlib+inavalid code length
C & C++ & C#

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=


zlib for podofo - Cannot find zlib library
C & C++ & C#

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.????


Zlib based buffer compression
C & C++ & C#

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

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.

uncompress_success=un

Zipf law
C & C++ & C#

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

TAGS : Zipf




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