Search:

Type: Posts; User: Saimadhav

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    34
    Views
    33,645

    both the functions are in cmath header file. to...

    both the functions are in cmath header file.
    to find the squre root


    cout<<sqrt(variable);

    to find the square


    cout<<pow(a,2);
  2. Replies
    5
    Views
    3,564

    thanks anyway!!! a lot. it worked

    thanks anyway!!!
    a lot. it worked
  3. Replies
    5
    Views
    3,564

    ah!. they havent thouight the whole class...

    ah!. they havent thouight the whole class function and i know till classes.( i learnt it on my own!!!)
  4. Replies
    5
    Views
    3,564

    Thanks mate!...ii learn c++ in school. but they...

    Thanks mate!...ii learn c++ in school. but they havent thought function.(i know till classes).
    is it possible to have the same logic inside the main method?
    no answers please.
  5. Replies
    5
    Views
    3,564

    Finding The Hcf Of A Number

    I am writing a code to display the HCF(highest common factor) of a number. For those of you who dont know just google it.
    i have come up with this piece of code


    #include<iostream>...
  6. Replies
    3
    Views
    9,867

    correct code

    #include<iostream>
    #include<conio.h>
    #include<string>
    #include<iomanip>
    using namespace std;
    int main()
    {
    int point;
    int player1=0,player2=0;
    string name1,name2;
  7. Replies
    3
    Views
    9,867

    Table tennis scoring system

    hi guys, i wanted to write a piece of code that can be used for table tennis matches scoring.
    The rules is
    1>a person wins a match if he reaches 11 points with a difference of 2,
    2>if it is10-10...
  8. Replies
    18
    Views
    2,333

    digital artist.i dont take part in any c++ exams...

    digital artist.i dont take part in any c++ exams , i learn c++ just to be creative and not to cheat.
  9. Replies
    18
    Views
    2,333

    just take this code and turn this in ...

    just take this code
    and turn this in


    #include<iostream>
    #include<conio.h>
    #include<iomanip>
    using namespace std;
    int main()
    {
  10. Replies
    31
    Views
    14,098

    just , save the header file in the project...

    just , save the header file in the project window. then build the project.
  11. Replies
    24
    Views
    5,879

    Some help!!!!

    1.How do I use the bit wise operator?
    2. I have tried this code


    #include<iostream>
    #include<conio.h>
    using namespace std;
    main()
    {
    int a,b;
  12. Replies
    4
    Views
    1,250

    main() { int option; char array[5];...

    main()
    {
    int option;
    char array[5];
    array[2]="5+6";
    cout<<array[2];
    cin>>option;
    if(option==11)
    {
    cout<<"Good:";
  13. Thread: wages code

    by Saimadhav
    Replies
    5
    Views
    1,215

    #include #include using...

    #include<iostream>
    #include<conio.h>
    using namespace std;
    main()
    {
    int hours_worked;
    float pay_rate=5.5;//just an example ,you should change it for your needs
    float wages;

    ...
  14. Replies
    4
    Views
    1,250

    Help with Pseudo numbers

    i have written a model program . though my actual program contains another set of questions(the questions i have used here are real easy.)
    i have made use of srand and rand funtions
    here is my code...
  15. Replies
    2
    Views
    929

    Input Options.

    I hav created a menu in DOS window.
    IT looks like this

    MAIN MENU
    1.GAME
    2.HIGHEST SCORES
    3.EXIT

    the code
  16. Replies
    18
    Views
    2,333

    can anyone give a hint or somethin? please!

    can anyone give a hint or somethin?


    please!
  17. Replies
    18
    Views
    2,333

    use of "for loops"

    is it possible to get an output like
    1
    22
    333
    4444
    55555
    using for loops?
  18. Thread: saving

    by Saimadhav
    Replies
    7
    Views
    1,445

    thanks matsp for your concern. i am 15 . i am a...

    thanks matsp for your concern. i am 15 . i am a beginner.i was thinking about a program that would act as a report card . so the marks of each student gets stored in a txt file. i then move it to a...
  19. Thread: saving

    by Saimadhav
    Replies
    7
    Views
    1,445

    thanks a lot..... i ran the program it runs...

    thanks a lot.....
    i ran the program it runs great.
    but the re run it again the the old value gets erased!.
    what should i do?

    rgds
  20. Thread: saving

    by Saimadhav
    Replies
    7
    Views
    1,445

    saving

    i ask the user to input something and the result is stored.what should i do to save whatever is there on the runtime screen to the hard disk?
  21. Replies
    43
    Views
    6,827

    maybe this will work. #include...

    maybe this will work.


    #include<iostream>
    #include<conio.h>
    using namespace std;
    main()
    {
    int number,a,a1,b,b1;
    cout<<"Enter a three digit number"<<endl;
  22. Replies
    1
    Views
    1,436

    confusion on use of datatypes!

    what is the data type for taking inputs of words or sentences?

    or can i use char data type like



    char a[20];
  23. Replies
    8
    Views
    2,136

    can an novice like me understand it or what...

    can an novice like me understand it or what should i do understand it?
  24. Replies
    19
    Views
    37,342

    try this simple and short code instead ...

    try this simple and short code instead



    #include<iostream.h>
    #include<conio.h>
    main()
    {
    system("cls");
    int a,b;
  25. Replies
    8
    Views
    2,136

    storing variables permanentely

    how does one store a number or a character permanently in c++ .
    for ex

    the program asks you for a number lets say 5
    and every time you run the program it prints 5?
Results 1 to 25 of 51
Page 1 of 3 1 2 3