Search:

Type: Posts; User: n3cr0_l0rd

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    1,172

    okay i get it then! thx guys

    okay i get it then! thx guys
  2. Replies
    8
    Views
    1,172

    umm... as i read in accelerated cpp, i should be...

    umm... as i read in accelerated cpp, i should be doing
    using std::cout;
    using std::cin;
    .........
    Do you mean that ?
  3. Replies
    8
    Views
    1,172

    @brafil, u mean i shouldn't do using namespace...

    @brafil, u mean i shouldn't do using namespace std; ???

    and thx to all
  4. Replies
    8
    Views
    1,172

    some help needed here

    // To convert meter to feet and inch
    #include <iostream>
    using namespace std;
    const float M = 3.25;
    class distance
    {
    private:
    int feet;
    float inch, meter;
    public:
  5. Replies
    7
    Views
    1,545

    huh... after a short 2 days vacation i finally...

    huh... after a short 2 days vacation i finally figured it out.. i will use getch() to input keys (for now wsad, will go for arrow keys shortly) and create a function gotoxy using windows.h faq lvl 2...
  6. Replies
    7
    Views
    1,545

    i had expected it to be an easy job... isnt there...

    i had expected it to be an easy job... isnt there any other way?
  7. Replies
    7
    Views
    1,545

    some basic things

    i just wanted to make a program that can move a '-' according to directional key input.. but i dont know how to take input of the direction keys...


    key = getch ();
    if (key == ????).....

    ...
  8. Replies
    12
    Views
    1,679

    i had a look at the MS MSDN page,.. but how to i...

    i had a look at the MS MSDN page,.. but how to i link to the kernel32.lib and kernel32.dll
  9. Replies
    12
    Views
    1,679

    i didnt hear anything..

    i didnt hear anything..
  10. Replies
    12
    Views
    1,679

    one more question, i would like to produce a beep...

    one more question, i would like to produce a beep sound if the input is not 0 or 1. I searched for it in the net and found '\a' but that didnt help me. So, how can i produce a beep sound?

    Edit:...
  11. Replies
    12
    Views
    1,679

    Thx, that helped..

    Thx, that helped..
  12. Replies
    12
    Views
    1,679

    void readtemp () { do ...

    void readtemp ()
    {
    do
    {
    system ("cls");
    cout << "1. Celsius to Fahreinheit" << endl << "2. Fahreinheit to Celsius" << endl;
    ...
  13. Replies
    12
    Views
    1,679

    lol, yeah I didn't put cout inside the loop so i...

    lol, yeah
    I didn't put cout inside the loop so i was confused.. thx
  14. Replies
    12
    Views
    1,679

    and one more question, if i use double instead of...

    and one more question, if i use double instead of float, still i can display only 6 digits in total... any help?
  15. Replies
    12
    Views
    1,679

    bound checking problem

    #include <iostream>
    //#include <string>
    using namespace std;
    class temp
    {
    private:
    float t,r;
    char choice;
    public:
    void readtemp ()
  16. Replies
    2
    Views
    1,663

    The loop will continue if the input is 0. But...

    The loop will continue if the input is 0. But that would be useless because if the input is 0, you will just keep on looping without doing anything. If you meant to loop every time the input is not...
  17. Replies
    25
    Views
    2,776

    @Elysia Thx, i get it... You are really too great...

    @Elysia Thx, i get it... You are really too great :D
  18. Replies
    25
    Views
    2,776

    When i looked back into the codes in that book,...

    When i looked back into the codes in that book, it had included <string> header file too... But why? I couldnt get it why? The original code in the book:


    // ask for a person's name, and generate...
  19. Replies
    25
    Views
    2,776

    // Input your full name and put it in a frame...

    // Input your full name and put it in a frame
    #include <iostream>
    using namespace std;

    int main()
    {
    cout<<"Enter your full name : ";
    string name;
    getline(cin,name);
    const string greet =...
  20. Replies
    25
    Views
    2,776

    yeah... great book for me.. m reading it atm......

    yeah... great book for me.. m reading it atm... thx for that
  21. Replies
    25
    Views
    2,776

    hope the above question was not stupid attempt of...

    hope the above question was not stupid attempt of me trying to act as not stupid at all :P:D
  22. Replies
    25
    Views
    2,776

    one final question.. that means using ...

    one final question.. that means using
    std::getline() and
    getline() means the same or different... ?
  23. Replies
    25
    Views
    2,776

    blame me for being dependent on teacher as he...

    blame me for being dependent on teacher as he never said what :: and >>/<< acutually mean... any source i can learn all the basics of c++? Now i feel too much desperate for knowing nothing...
  24. Replies
    25
    Views
    2,776

    Sorry but i didnt get how i referred getline as...

    Sorry but i didnt get how i referred getline as object ? My teachers suck at teaching... so could you plz explain it... seriously, you plz suggest me a FREE e-book so i can learn everything from...
  25. Replies
    25
    Views
    2,776

    error: no match for 'operator>>' in 'std::getline...

    error: no match for 'operator>>' in 'std::getline >> m1[i].movies::name'

    i replaced cin with std::getline and got that errror.. could you plz elaborate it... sry but never done c++ before this......
Results 1 to 25 of 62
Page 1 of 3 1 2 3