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...
Type: Posts; User: P3st
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...
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
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...
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...
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();
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......
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 :(
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....
<...
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()
Thankz alot..
Now i have a better understandig of the matter. :D
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()
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;
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()
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....
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...
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());
...