Search:

Type: Posts; User: Ivan!

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: All Togather

    by Ivan!
    Replies
    5
    Views
    1,102

    Or use this cout

    Or use this


    cout<<"So thats your favorite number eh: "<<num<<"\n";
  2. Replies
    8
    Views
    2,332

    ifstream infile("A:filelab.txt", ios::nocreate); ...

    ifstream infile("A:filelab.txt", ios::nocreate);

    you are creating an instance of the CLASS ifstream :D
  3. Thread: <iostream>

    by Ivan!
    Replies
    10
    Views
    1,454

    >Try a bit harder next time when looking. Try...

    >Try a bit harder next time when looking. Try google. Try the *search button on the board.*

    Whoops sorry, I think your right,
    ignore this thread
  4. Thread: <iostream>

    by Ivan!
    Replies
    10
    Views
    1,454

    View Post

    What is the differnece between <iostream.h> and <iostream>,
    just want to know..
  5. Replies
    8
    Views
    10,389

    As I dont know where cout.flush() is good for, I...

    As I dont know where cout.flush() is good for, I dont know why it works, but who cares: it works
    Thanks!
  6. Replies
    8
    Views
    10,389

    void t1 ( void ) { ...

    void t1 ( void )
    { CONSOLE_SCREEN_BUFFER_INFO csbi;
    HANDLE h = GetStdHandle(STD_OUTPUT_HANDLE);

    COORD pos = { 10, 12 };
    SetConsoleCursorPosition( h, pos );
    ...
  7. Replies
    8
    Views
    10,389

    :( no I couldnt find t in my compiler.........

    :( no I couldnt find t in my compiler......
    somebody else has an solution?
  8. Replies
    8
    Views
    10,389

    Well i came this far but it returns only crap,...

    Well i came this far but it returns only crap, because I dont know how to use GetConsoleScreenBufferInfo properly I just guessed somewhat





    CONSOLE_SCREEN_BUFFER_INFO csbi;...
  9. Replies
    8
    Views
    10,389

    Console Cursor Position

    I am using the gotoxy function and I have a question:
    Is it possible to get the current x and y coordinates of your program f.e first gotoxy to lets say 5,6 and then return to the spot the cursor...
  10. Thread: gotoxy

    by Ivan!
    Replies
    10
    Views
    1,803

    oh..:) well, thank you anyway

    oh..:) well, thank you anyway
  11. Thread: gotoxy

    by Ivan!
    Replies
    10
    Views
    1,803

    Hey you're right gotoxy(20,20);...

    Hey you're right



    gotoxy(20,20);
    cout<<"Hi"<<endl;

    int ch;
    while ((ch = cin.get()) != '\n' && ch != EOF);
  12. Replies
    15
    Views
    1,677

    AARGG... again a stupid thread title? I think I...

    AARGG... again a stupid thread title? I think I am going insane now...
  13. Thread: gotoxy

    by Ivan!
    Replies
    10
    Views
    1,803

    The one from the faq, it does work but not if I...

    The one from the faq, it does work but not if I want to use it a second time beacause then he will use only the second and skips the first
  14. Thread: gotoxy

    by Ivan!
    Replies
    10
    Views
    1,803

    And how do I go back to de default? ...

    And how do I go back to de default?



    gotoxy(20,10); //only 8ox25
    cout<<"hi";

    gotoxy(0,0);
    cout<<" how are you?";
  15. Hmmmmm is it popular to use names like 'help me' ...

    Hmmmmm is it popular to use names like 'help me' or 'cannot run my program' ?
  16. Replies
    3
    Views
    1,785

    What's the error message?

    What's the error message?
  17. Thread: gotoxy

    by Ivan!
    Replies
    10
    Views
    1,803

    gotoxy

    A simple question: in the FAQ is a gotoxy function;
    how do I use it?

    This doesnt work:


    gotoxy(100,20);
    cout<<"Being on loacation 100,20";
  18. Thread: Limited output

    by Ivan!
    Replies
    7
    Views
    1,106

    I want to use it in a function in a class, that...

    I want to use it in a function in a class, that makes any difference?
  19. Thread: Limited output

    by Ivan!
    Replies
    7
    Views
    1,106

    I got: "fixed; undeclared identifier":confused:

    I got: "fixed; undeclared identifier":confused:
  20. Thread: Limited output

    by Ivan!
    Replies
    7
    Views
    1,106

    And how to make it output a 7 as 7.0?

    And how to make it output a 7 as 7.0?
  21. Thread: Limited output

    by Ivan!
    Replies
    7
    Views
    1,106

    Limited output

    Say I have a double wich has a value of 4.567
    How can let the output, using cout, be 4.57 or 4.6 ?
  22. Replies
    7
    Views
    1,123

    hmm, still getting the error messagges.. is it...

    hmm, still getting the error messagges.. is it because I use static integers in my class? (I have initialized them though)
  23. Replies
    7
    Views
    1,123

    :confused: :confused: :confused: :confused: ...

    :confused: :confused: :confused: :confused:
    uuuh... and then?
  24. Replies
    7
    Views
    1,123

    load a class problem

    well im am trying to load a class, it does compile,but doesnt work :(
    here's my code:



    //prototype
    void loadS(Student(*)[10]);

    class Student
    {
  25. Thread: store a class

    by Ivan!
    Replies
    11
    Views
    1,303

    Thanx I needed that!

    Thanx I needed that!
Results 1 to 25 of 45
Page 1 of 2 1 2