Search:

Type: Posts; User: stuart_cpp

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    15
    Views
    2,130

    You can set width to your input!! cin >>...

    You can set width to your input!!

    cin >> setw(8) >> attempt;
    And the header file for that is "iomanip"
  2. Replies
    15
    Views
    2,130

    #include #include using...

    #include <iostream>
    #include <string>
    using namespace std;

    int main()
    {
    string atmpt; // Attempt
    string pass = "password"; // Password

    cout << "Enter your password: ";
  3. Boolean value is the reult of a comparison or a...

    Boolean value is the reult of a comparison or a logical occasion using AND or OR, which can be true of false. C++ used the bool type to represent boolean values. An expression of the type bool can...
  4. Replies
    7
    Views
    1,105

    Default Compiler and using Dev-C++

    Default Compiler and using Dev-C++
  5. Replies
    7
    Views
    1,105

    cursor and co-ord

    Hi,
    How can I make a crosshair cursor that when you click on a certain co-ord, some text displays?
    Thanks,
    Stuart_cpp
  6. Replies
    6
    Views
    1,118

    What was the ouput in the book?

    What was the ouput in the book?
  7. Replies
    36
    Views
    4,839

    Thanks so much twomers!! :D :D

    Thanks so much twomers!! :D :D
  8. Replies
    36
    Views
    4,839

    Animated text

    Hi!
    I wanted to know how to have animated text, like displaying each letter at a different time.
    Please can u telll me! :D
  9. Replies
    2
    Views
    1,409

    Direct3D accelerators

    I opened up AA:SF and it said I needed to enable Direct3D accelerator. Then it said I start running dxdiag and click on the Display1/2 tab after installing DirectX 8.1b(or later) and the latest...
  10. Replies
    5
    Views
    1,179

    Thanks! What a stupid mistake I made!

    Thanks! What a stupid mistake I made!
  11. Replies
    5
    Views
    1,179

    What on earth is wrong?

    What on earth is wrong in this code?


    #include <iostream>
    #include <string>
    using namespace std;

    int main()
    {
    int money;
  12. Thread: New to C++

    by stuart_cpp
    Replies
    10
    Views
    1,045

    My output was I'm in main()! Calling Add()...

    My output was

    I'm in main()!

    Calling Add()
    In Add(), received 3

    Im running Windows and copyed and pasted the code in Dev C++. I dont know why your having a different output 2 mine :confused:
  13. Replies
    7
    Views
    1,424

    If it keeps on crashing, put .... char c;...

    If it keeps on crashing, put ....


    char c;
    cin >> c;

    At the end of the code, but before } obviously
  14. Thread: Pure Pwnage

    by stuart_cpp
    Replies
    3
    Views
    1,425

    Pure Pwnage

    Have you seen Pure Pwnage? :D Its awesome! Discuss about it in here!
  15. Replies
    13
    Views
    1,368

    Why would you want to delete Ctrl+Alt+Delete??...

    Why would you want to delete Ctrl+Alt+Delete?? :confused:
  16. Replies
    12
    Views
    3,291

    I'd go with SlyMaelstrom.....

    I'd go with SlyMaelstrom.....
  17. Replies
    3
    Views
    1,017

    Programmers dont become pro by asking other...

    Programmers dont become pro by asking other people to do there own Homework!
  18. Replies
    75
    Views
    11,340

    Thank you! :D

    Thank you! :D
  19. Replies
    53
    Views
    8,748

    How does google help translating Dollars into...

    How does google help translating Dollars into Pounds?
    Oh i see now.....but what if my connection has been screwed?
  20. Replies
    13
    Views
    1,365

    Havn't you learnt about outputs yet?!? cout...

    Havn't you learnt about outputs yet?!?


    cout << "First Name" << endl;
    cin >> firstname;
    cout << "Last Name" << endl;
    cin >> lastname;
    cout << "Degree" << endl;
    cin >> degree;
    cout << "Hired...
  21. Replies
    153
    Views
    271,464

    Sticky: The Complete Guide to Programming in C++...

    The Complete Guide to Programming in C++
    By Jones and Bartlett Computer Science
    A really cool book! Where it lets you do lil exercises that really helps!
  22. Replies
    2
    Views
    829

    cheers m8!

    cheers m8!
  23. Replies
    53
    Views
    8,748

    Well, it may not be cool, but really useful! Its...

    Well, it may not be cool, but really useful! Its called Dtp :D and it translates dollars to pounds(thats what DTP stands for). I use it when ordering something from US .
  24. Replies
    75
    Views
    11,340

    Name: Stuart Timezone: GMT AIM: N/A Yahoo:...

    Name: Stuart
    Timezone: GMT
    AIM: N/A
    Yahoo: N/A
    MSN: stuartpeter_mackenzie@hotmail.com
    ICQ: N/A
  25. Replies
    2
    Views
    829

    what is wrong?

    hey! I dont see what is wrong in this source! The error message is expected `;' before "t" . I tryed doing that but didn't work! Please correct it!


    #include <iostream>
    #include <cmath>
    using...
Results 1 to 25 of 32
Page 1 of 2 1 2