Search:

Type: Posts; User: SVXX

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    3,402

    Indeed now..lol. Thanks for the encouragement in...

    Indeed now..lol. Thanks for the encouragement in the interview part :P
    Start() is used to initialize the data members. Let's see, I'll try to apply your concept and let you know.
  2. Replies
    7
    Views
    3,402

    Could you elaborate what you meant by this? The...

    Could you elaborate what you meant by this? The modeling of an account and the list of accounts..
    And even if I did persuade the administration to do so, it wouldn't help. They say the "level" of...
  3. Replies
    7
    Views
    3,402

    Well I did try what you asked but the problem is,...

    Well I did try what you asked but the problem is, I'm storing an array of users and their bank account details. If I put Name instead of Name[i], then in the Display function it only shows a random...
  4. Replies
    7
    Views
    3,402

    Invalid conversion from char to char*

    Hi there. I was making a program which emulates a bank account of sorts using classes.

    void Account :: Start()
    {
    Account Temp;
    int i;
    for(i = 0; i < 3; i++)
    {
    ...
  5. Replies
    0
    Views
    2,333

    Logical Error in Clock program

    Hi there.
    I've made a C++ program which reads the time (input by the user) and adds two times entered using the concept of classes. However the answer always comes 11 hours 10 minutes regardless of...
  6. Thread: Help in strings

    by SVXX
    Replies
    7
    Views
    1,315

    Alright..I've been berated too much for gets()....

    Alright..I've been berated too much for gets(). Let it never haunt thy mind again! xD.
    For the alternative, I used something a little simpler. Please do tell me if this method is safe from buffer...
  7. Thread: Help in strings

    by SVXX
    Replies
    7
    Views
    1,315

    Hmm..I checked that. Then I suppose this is how I...

    Hmm..I checked that. Then I suppose this is how I would go about it -:

    cout << "\nEnter 2 strings - ";
    int ch;
    char buf[BUFSIZ];
    while((ch = cin.get()) != '\n && ch != EOF);
    {
    ...
  8. Thread: Help in strings

    by SVXX
    Replies
    7
    Views
    1,315

    Help in strings

    Hello all. Getting to the point, I need some help in string functions. I was making a program to implement my own string functions, without using string.h
    The program turns out proper and correct,...
  9. Replies
    8
    Views
    2,706

    Prime number program

    Been a long time since I posted a problem aye! Still remember ol Prelude helping me with that termination prevention thingy.
    So, to the point. I'm making a prime numbers program and in two cases I...
  10. Replies
    21
    Views
    2,354

    I see...so I guess thats a redundant idea as...

    I see...so I guess thats a redundant idea as well. Why don't I just add a Notes section and write that,lol
  11. Replies
    21
    Views
    2,354

    Lol I need the code to do that, because half the...

    Lol I need the code to do that, because half the noobs I call friends don't know Alt+Enter maximizes the DOS screen.
  12. Replies
    21
    Views
    2,354

    Very well,I have a different query now. I...

    Very well,I have a different query now. I scrapped the loading screen, if it is so "pretentious". My question is if I were to automatically maximize the DOS window on loading the program,how would I...
  13. Replies
    21
    Views
    2,354

    And then again, you're not one of my classmates,...

    And then again, you're not one of my classmates, neither do you know me.
    I'll get advanced as I progress, and probably feel the same about that crap.
    True, it may be pointless rubbish, but I don't...
  14. Replies
    6
    Views
    1,471

    I guess it should be if(a[0] == b[0]) { ...

    I guess it should be


    if(a[0] == b[0])
    {
    .....
    .....
    }
    cin.get();
    return 0;
  15. Replies
    21
    Views
    2,354

    Well,as the guy who suggested it says, it "gives...

    Well,as the guy who suggested it says, it "gives a pro look to the program". Lmao.
    Yer really too serious about this Mat...I just added it for fun,it gives a more interactive look to the program and...
  16. Replies
    21
    Views
    2,354

    Uhh you could go on loggerheads about M_PI...

    Uhh you could go on loggerheads about M_PI later...some help with my problem please? >.>
  17. Replies
    21
    Views
    2,354

    lol Salem...I have another problem now. I made a...

    lol Salem...I have another problem now. I made a loading screen for the program with the following code

    for(int i = 0; i < 100; i ++)
    {
    gotoxy(35,12);
    ...
  18. Replies
    21
    Views
    2,354

    I'm using M_PI,which is a pi constant declared in...

    I'm using M_PI,which is a pi constant declared in cmath. K thanks its working now.
  19. Replies
    21
    Views
    2,354

    Volume always coming 0

    In a nutshell,this is the code of the area,lateral area and volume of a cone from a class structure -:

    else if(g[0] == 'N' || g[0] == 'n')
    {
    ...
  20. Replies
    19
    Views
    3,590

    lol. And yes mat,toupper indeed does do that..I...

    lol.
    And yes mat,toupper indeed does do that..I looked it up in my reference. Goddamn,I've forgotten all my basics...
  21. Thread: do while loop

    by SVXX
    Replies
    21
    Views
    3,043

    I find class structures best for these type of...

    I find class structures best for these type of programs..well,you need to only compute one function,so its not required
  22. Replies
    19
    Views
    3,590

    Edit owns. MUHUHAHAHAHAHA.

    Edit owns. MUHUHAHAHAHAHA.
  23. Replies
    19
    Views
    3,590

    while...

    while ((quit!='n')&&(quit!='N')&&(quit!='y')&&(quit!='Y'));
    cout << "Enter Y to continue, N to quit>";
    cin >> quit;

    Uhh. Set a char size for quit[1], and I think you want this
    ...
  24. Replies
    19
    Views
    3,590

    The dude has a point!

    The dude has a point!
  25. Replies
    35
    Views
    23,930

    In my original post, I ADDED the break statement...

    In my original post, I ADDED the break statement thinking why it wasn't there..if only I had the brains to look in my original code :P
Results 1 to 25 of 52
Page 1 of 3 1 2 3