Search Results

Search: Posts Made By: xiaojesus
Forum: Programming 05-29-2009
1,974
Posted By xiaojesus
how to increase number like this
hi all i got a assignment but this is part of it only..

i need the logic that all..

below is the kind of output that i want to get.

1
12
123
1234
12345
2345
345
45
5



i noe i...
Forum: Programming 05-13-2009
1,859
Posted By xiaojesus
Help needed on c++ referencing
Hi i have this code below i am encountering that my int a,b; got error because they are delcare in private. but the code turn out fine if i delcare them in public.
is there anyway i can make them...
Forum: Programming 05-12-2009
1,859
Posted By xiaojesus
getting double to be converted
got a problem.
i have to get A to + 20.70
but i keep getting A + 20 in my logic below.
anyone can guide me on where i go wrong?
i understand it is a double, but i do not noe how to parse it to...
Forum: Programming 05-12-2009
2,301
Posted By xiaojesus
Adding 2 difft int to form a number
got 1 problem..
can someone help me wit the logic?



Money Money ::operator+(const Money &rhs)const
{

Money temp;

temp.a = a+rhs.a;
temp.b = b+rhs.b;

return temp;

}//end



i...
Forum: Programming 05-12-2009
3,520
Posted By xiaojesus
istream& operator >>(istream &in,Account &ac) {...
istream& operator >>(istream &in,Account &ac)
{

string a,b,s;
char p[50];

fflush(stdin);
getline(in,s);
//cout<< s << endl;
p[] = s;
char *pTok =...
Forum: Programming 05-12-2009
3,520
Posted By xiaojesus
okie thanks all will go home and try it out thanks
okie thanks all will go home and try it out thanks
Forum: Programming 05-12-2009
3,520
Posted By xiaojesus
thanks but can help me convert to c++?
thanks but can help me convert to c++?
Forum: Programming 05-11-2009
3,520
Posted By xiaojesus
how to covert string into 2 diff int
i got a string E.g "12.67"

how do i convert it into a int so that

a= 12
b =67

any one can guide me along?
Forum: Programming 05-04-2009
10,567
Posted By xiaojesus
getting the Total Virtual Memory size occupied by...
getting the Total Virtual Memory size occupied by all processes in unix by c++

any one can help?
Forum: Programming 05-04-2009
10,567
Posted By xiaojesus
can we use ps u den we pipe into the c++
can we use ps u den we pipe into the c++
Forum: Programming 05-04-2009
10,567
Posted By xiaojesus
Getting the total virtual memory for ubuntu in c++
Hi guys , i need to get the total virtual memory in ubuntu but i need to write a C++ code for that, any idea on how to go about doing it? any references? or website that i can refer to ?
5,068
Posted By xiaojesus
trying to sort the field 4 which is date purchased
trying to sort the field 4 which is date purchased
5,068
Posted By xiaojesus
okie i shld try that tonite
okie i shld try that tonite
5,068
Posted By xiaojesus
hmm so i shld take out the count? but b4 i...
hmm so i shld take out the count?

but b4 i can print the grand total, i need to print out the daily sales. and my daily sales cant be printed out also
5,068
Posted By xiaojesus
ya that what i have been doing for the past few...
ya that what i have been doing for the past few nights and i cant seems to solve the problem..
5,068
Posted By xiaojesus
ya that part of the error message i get
ya that part of the error message i get
5,068
Posted By xiaojesus
ya all the other function is working fine except...
ya all the other function is working fine except the summary part.. any one can help me with it?
5,068
Posted By xiaojesus
Hi all , below i am suppose to key in and enter...
Hi all , below i am suppose to key in and enter the daily sales in to the system.

and i am suppose to get the daily total sales and the grand total sales when i ask for summary listing
below is...
Forum: Programming 04-22-2009
9,044
Posted By xiaojesus
How to extract a sentences of word from a text file.
Hi ,

i have a text file that contain a story

How do i extract the out all the sentences that contain the word Mon. in C++

I only want to show those sentences that contain the word mon
...
5,068
Posted By xiaojesus
how to add up a total in a summary report?
Hi all i got a script up but i cant add up the summary report.. keep having synax error . mind helping me to take a look and tell me what went wrong..

i know is a bit long but i hope someone can...
Showing results 1 to 20 of 20

 
All times are GMT -4. The time now is 12:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy