Search:

Type: Posts; User: 74466

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    16
    Views
    6,551

    i do not get an error when using and i am...

    i do not get an error when using <conio> and i am going to need it later on
  2. Replies
    16
    Views
    6,551

    so i need to use as is not...

    so i need to use <conio.h> as <conio> is not valid? Why then does my compiler (Borland 5.5) does not give an error?
  3. Replies
    16
    Views
    6,551

    ahhhh, i new i was forgetting something. i...

    ahhhh, i new i was forgetting something.
    i usually do the whole cin.ignore line. is either of the two better to use?
  4. Replies
    16
    Views
    6,551

    cin.get() twice for effect

    I am havin a prob, i need to use


    cin.get();

    twice in the following code to get the effect, if i do not it just continues without waiting to press enter...i added //ERROR HERE at the part in...
  5. Replies
    17
    Views
    3,178

    well i followed the following path... ...

    well i followed the following path...


    while(true) //To Open/make new game.
    {
    ifstream Rd("save.dat");
    if(!Rd)
    {
    GameHistory();
    MakeNewGame();
  6. Replies
    17
    Views
    3,178

    How do i do it? guess it will be something like...

    How do i do it?
    guess it will be something like :


    ofstream wrt("namenscore.dat");
    wrt>>Name>>Cash;


    and to recall
  7. Replies
    17
    Views
    3,178

    Now the next thing i am havin trouble with,...

    Now the next thing i am havin trouble with, something u gonna probably laugh about, but i always say, ask and be the fool, while learning something than keep your mouth and always wonder...

    The...
  8. Replies
    16
    Views
    3,043

    wow.... you ppl just solved one of my problems,...

    wow.... you ppl just solved one of my problems, without even nowing it exists.... now the program i been workin on will be so much simpler
  9. Replies
    17
    Views
    3,178

    Thank you

    Thank you
  10. Replies
    17
    Views
    3,178

    Even i knew that... okay, so now i moved the ...

    Even i knew that... okay, so now i moved the


    Card5=1+rand()%10;

    into the loop i want to use it in, and it works, ;)

    Now a nother question (I should probably have found this out earlier,...
  11. Replies
    17
    Views
    3,178

    Sorry, been on bout line 96 ...

    Sorry, been on bout line 96


    Card5=1+rand()%10;


    when i call it later in a loop, it gives me the same value.
    i use it here
  12. Replies
    17
    Views
    3,178

    First program (Black Jack game)

    I am busy building this black jack game, and been struggling with something...

    I know its not programmed in perfect language, but i do try to only use the functions i know.

    Now the problem i...
  13. Thread: count words

    by 74466
    Replies
    4
    Views
    4,058

    how do i o that?

    how do i o that?
  14. Thread: count words

    by 74466
    Replies
    4
    Views
    4,058

    count words

    i am currently workin through the thinking in c++ ebook 2nd edition, at the end of the 2nd chapter i get the following taski:::

    Create a program that opens a file and counts the...
  15. Thread: Example code

    by 74466
    Replies
    1
    Views
    1,120

    Example code

    As you know, i am quite new at c++, i was just wondering if someone can help me with links... where i can find example codes to work through.
  16. Replies
    4
    Views
    9,150

    okay thanks....

    okay thanks....
  17. Replies
    4
    Views
    9,150

    so wich is better or is some better in some codes...

    so wich is better or is some better in some codes and the other in other codes?
  18. Replies
    7
    Views
    971

    that question is like asking what is the better...

    that question is like asking what is the better computer, apple, amd, pentium..... Or like asking wich is the better mobile phone, sony or nokia?

    The fact remains, i dont waste my time, so in my...
  19. Replies
    4
    Views
    9,150

    getchar & cin.get

    What is the actual difference in using


    getchar();


    and using


    cin.get();
  20. Replies
    5
    Views
    1,059

    I just had to, i modified the code to the only...

    I just had to, i modified the code to the only way i know how to repeat a program,


    #include <iostream>

    using namespace std;

    int main()
    {
    int percentage, i, x;
  21. Thread: Help in project!

    by 74466
    Replies
    5
    Views
    1,107

    i am quite new at c++, just a few points, ...

    i am quite new at c++, just a few points,


    if (n = 4) {
    month = "April";
    }
    if (n = 3) {
    month = "March";
    }
  22. Replies
    2
    Views
    1,178

    better to work with

    I have both Borland 5.5 and visual c++ express and just been wondering wich is better to use?

    i am new at c++ so i dont really know, but sinse alot of ppl mention visual c++ i went and got it
  23. Thread: braces

    by 74466
    Replies
    27
    Views
    3,425

    i use the 2nd, as i find it easier to see whether...

    i use the 2nd, as i find it easier to see whether i have closed a brace or not.
  24. Replies
    2
    Views
    972

    thanks, a simple solution if adding ...

    thanks, a simple solution if adding


    cin.get();

    and i also forgot


    cin.ignore();
  25. Replies
    2
    Views
    972

    c++ problem reading input

    my code


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


    int main()
    {
Results 1 to 25 of 29
Page 1 of 2 1 2