Search:

Type: Posts; User: P3st

Search: Search took 0.01 seconds.

  1. Thread: editor

    by P3st
    Replies
    1
    Views
    1,021

    editor

    I recently have been doing some win32 and I want to be able to allow the user to type in the white area when i create a simple window(Something like NOTEPAD).Can anyone point me to the right way (and...
  2. Thread: quest..

    by P3st
    Replies
    4
    Views
    1,040

    I see what y'all saying but how would I divide a...

    I see what y'all saying but how would I divide a huge integer like 1234564231 / 124578??
    Another thing i didn't mention is that the hugeint i kept in an array...
    Thanx
  3. Thread: quest..

    by P3st
    Replies
    4
    Views
    1,040

    quest..

    I'm writing this class call hugeint, and part of writing this class is having function like add, subtract, multiply... So far i cover +,-,*,<,>,==,!= but when it comes to division i dont think i'm...
  4. Thread: Quest...?

    by P3st
    Replies
    5
    Views
    1,140

    The thing is that the number has to be between 1...

    The thing is that the number has to be between 1 and 13 and the letter between a and f , and both integer and character should be input together(NO SPACE).And what i'm looking for is a method that if...
  5. Thread: Quest...?

    by P3st
    Replies
    5
    Views
    1,140

    Quest...?

    I'm working on this program and this is part of the code:


    cout << "Enter seat (11f): ";
    cin >> p.row >> p.column;
    cin.ignore(INT_MAX,'\n');

    while(cin.fail())
    {
    cin.clear();
  6. Thread: Ques..??

    by P3st
    Replies
    1
    Views
    898

    Ques..??

    Let's say I have an array with ten values inside of it, and i delete the one in the middle. How can i get the one after middle to go in the middle and get rid of the space in between the 2 half......
  7. Thread: Darn files!! lol

    by P3st
    Replies
    7
    Views
    1,050

    Yeah, I try that before and again after...

    Yeah, I try that before and again after mentioning file.open("data.txt",ios::in| ios::out); and that didn't work either.Is there any other way??
    Thanx :(
  8. Thread: Darn files!! lol

    by P3st
    Replies
    7
    Views
    1,050

    When i use the "ios::out" it erase the value...

    When i use the "ios::out" it erase the value within the file and nothing else. When i use the "ios::app" the number remain the same and no other value was added into the file. Any other ideas....
    <...
  9. Thread: Darn files!! lol

    by P3st
    Replies
    7
    Views
    1,050

    Darn files!! lol

    I'm using Visual C++ 6.0 and I got this program but it won't work.

    Program:


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

    int main()
  10. Thread: expl...

    by P3st
    Replies
    3
    Views
    1,317

    Thankz alot.. Now i have a better understandig...

    Thankz alot..
    Now i have a better understandig of the matter. :D
  11. Thread: expl...

    by P3st
    Replies
    3
    Views
    1,317

    expl...

    Can anyone please explain to me why this program doesn't work ->


    #include <iostream>
    using namespace std;

    double functone(int x, int y);
    double functtwo(int a, int b);

    int main()
  12. Thread: Help....

    by P3st
    Replies
    3
    Views
    2,208

    I gave some thought to what was mention and this...

    I gave some thought to what was mention and this is what i came up with ->



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

    const double INT = 0.10;
  13. Thread: cont. Help...

    by P3st
    Replies
    0
    Views
    775

    cont. Help...

    I gave some thought to what was mention and this is what i came up with ->


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

    const double INT = 0.10;

    int main()
  14. Thread: Help....

    by P3st
    Replies
    3
    Views
    2,208

    Help....

    I have this problem that has been troubling me. The problem is as follow:

    If interest is compounded annually, it grows as follows. Suppose P0 is the initial amount and INT is the rate per year....
  15. Replies
    2
    Views
    892

    newbie_here!!help??

    Hey, I learning to program in c just started like two or three weeks ago. I was writing this program from one exercise I came in contact with and the code does what it is suppose to do, but i get...
  16. Thread: newbie!! help!

    by P3st
    Replies
    4
    Views
    1,031

    newbie!! help!

    I'm trying to write this simple two dice game to get better at programming but a keep getting 'segmentation fault'
    this is the code:
    #include <stdio.h>

    main ()
    {
    srand (time());
    ...
Results 1 to 16 of 16