i hope u will be fine.
Explain that How can i make my own Header File?
i am waiting for Ur response.
Thankx for Advance.
i hope u will be fine.
Explain that How can i make my own Header File?
i am waiting for Ur response.
Thankx for Advance.
w.sallam
Allah ka shuakr hai tm suneo kai haal hian .........
yaar main c++ main bata sakta hoo aap ko
U can either do dat saving text file with .h extention
or going to project and adding new header file to your
project, but it isnt of much use unless u completly
understand how to use em in ur project....
Write a class in notepad and save it with extention .h
Janab es k liye to aab ko language kee full khaal khaenchnee paray gee!
header files may to full definations hotee hain funtions k baaray may!
Han!
Agar aap hacked tareekay say header file bnana chatay hain to
Kisi b header file ko notepad may open kr k Us ko .h ke extention say save kr lain!
eg.yourname.h
Aur es ko program may use karain!
Magar
Es header file ko us he folder may rakhain jis may baakee tamam header files rakhay huay hain!
Great
your thread is very nice, thanks 4 sharing with us!
nice
hello bhai
muje koi ni ati c++ plz ap meri help kre
teacher ne dye hain par mje thori si b ni ati ye languge
Write a C++ program that generates a random number between 1 to 100 that must be guessed by a user. The program will indicate the new range of the number after each guess. The game ends when the user has guessed the number.
When the program is executed it will produce the following output:
**The Guessing Game**
Enter a Guess (1 to 100): 50
After the user makes a guess the program will output one of these statements:
The number falls between 1 to 50. Next Try!
Enter a Guess (1 to 50): 20
The number falls between 20 to 50. Next Try!
Enter a Guess (20 to 50): 30
Bingo! The number is 30!
Hint: use <stdlib.h> and <time.h> to generate the random number:
#include <time.h> // For time() #include <stdlib.h> // For srand() and rand() . . . srand(time(0)); // Initialize random number generator. . . . int r = (rand() % 100) + 1; // Generate a random number between 1-100
ok
Bookmarks