Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
1 Commented Post
~69.9K People Reached
About Me

Life is about what u do, not what u have

Interests
Basketball, c++, girls
Favorite Forums
Favorite Tags
c++ x 59

21 Posted Topics

Member Avatar for Bob

deceptikon, thanks for the link ! now i know how to use rand() correctly :D

Member Avatar for JamesCherrill
3
53K
Member Avatar for Dave Sinkula

erm hello im new here and new to c++ as well. im beginner in c++ and i'd like to recommend "starting out with c++" by Tony Gaddis u can get the books for free, there are alot of them in google. this book is really helpful for beginner. ps : …

Member Avatar for shahidali6
11
10K
Member Avatar for Sendy Hipo

hi im trying to do Bjarne Stroustrup's exercise (calculator), it worked well but when im trying to add new function in the calculator (add new variable) it has bugs.. its not complete yet, because when i checked a bit, after i add string "name" inside `Token class`, it gives no …

Member Avatar for Sendy Hipo
0
174
Member Avatar for Sendy Hipo

hi guys, im learning c++ on my own and i have finished reading and studying E-book by Tony Gaddis ("starting out with c++, from control structures through objects, student value edition, 7th edition ") now im completely "lost" , i have searched google to see reference, but there are too …

Member Avatar for Sendy Hipo
0
142
Member Avatar for Sendy Hipo

hi guys, im curious about c++ gui qt , the i searched for it and download QT opensource 4.8.2 (300mb+) for windows i run the installer, then it asked me for MinGw's directory in my pc, then i use the MinGw inside my codeblock, after that it said "Found version …

Member Avatar for Sendy Hipo
0
357
Member Avatar for Sendy Hipo

hi guys :D! im trying to make specialized template for cstring, but it seems i stuck on it.. i tried to search how to make specialized template for cstring , but there wasnt any good explanation and im trying to figure this out my self here's my template header : …

Member Avatar for Sendy Hipo
0
155
Member Avatar for Sendy Hipo

hi guys, i want to do this task given by ebook : **Modify the SimpleVector class template presented in this chapter to include the member functions push_back and pop_back. These functions should emulate the STL vector class member functions of the same name. (See Table 16-5.) The push_back function should …

Member Avatar for Sendy Hipo
0
959
Member Avatar for Sendy Hipo

hi, i have problems with static member function the compiler's problems = "undefined reference" **Design a class Numbers that can be used to translate whole dollar amounts in the range 0 through 9999 into an English description of the number. For example, the number 713 would be translated into the …

Member Avatar for Sendy Hipo
0
708
Member Avatar for Sendy Hipo

erm i learn new thing, its a bad idea to use "using directive" inside a class declaration, because this can leads to ambiguous functions/statements inside the main program. using namespace std; the question is, is it okay to use "using declaration" inside a class declaration? such as : using std::cout; …

Member Avatar for Sendy Hipo
0
453
Member Avatar for Sendy Hipo

hi, i read in ebook about overleaded iostream operator for class, but im a bit confused about this one : ostream &operator << (ostream &strm, const FeetInches &obj) { strm << obj.feet << " feet, " << obj.inches << " inches"; return strm; } > Notice the function has two …

Member Avatar for Sendy Hipo
0
215
Member Avatar for vorlic

i think it would be better if u initialize j outside while, because first while (j=10;i<=j) it will initiliaze j = 10 then test if i <= j. after the first loop has been done, j will have j-- means j = 9, but then when it meets while (j=10;i<=j) …

Member Avatar for marh
0
221
Member Avatar for Sendy Hipo

i have this problem to write and read data, here's what im trying to make : Write a program that uses a structure to store the following inventory data in a file: -Item Description -Quantity on Hand -Wholesale Cost -Retail Cost -Date Added to Inventory The program should have a …

Member Avatar for Sendy Hipo
0
613
Member Avatar for Sendy Hipo

so i made this code that asks the user about corporate's data(division's name, sales, etc) #include <iostream> #include <string> #include <fstream> using namespace std; const int SIZE = 4; struct Division { string name; string quarter[SIZE]; double sales[SIZE]; }; void getData(Division []); int main() { Division corp[SIZE]; for(int count = …

Member Avatar for Sendy Hipo
0
182
Member Avatar for Sendy Hipo

hi, i have this problem about reading the file's content from the back Write a program that asks the user for the name of a file. The program should display the last 10 lines of the file on the screen (the tail of the file). If the file has fewer …

Member Avatar for Sendy Hipo
0
1K
Member Avatar for Sendy Hipo

hello, im newbie in c++ and i have some newbie questions. erm here's the problem ive been thinking : #include <iostream> #include <fstream> using namespace std; struct Info { string name; int age; }; int main() { Info person1, person2; fstream writefile("output.txt", ios::out | ios::binary); person1.name = "sendy"; person1.age = …

Member Avatar for Sendy Hipo
0
199
Member Avatar for Ouss

hello, im not really good at c++ but here's what i think is wrong int multiple(int x,int y) { z= x % y; if ( z == 0 ) {return(1); } else { return(0);} } variable "z" , u defined it inside int main's scope... i think u should define …

Member Avatar for Sendy Hipo
0
305
Member Avatar for Sendy Hipo

erm i got a bit problem with toupper(); example: char ch = 'a'; char upper; upper = toupper(ch); if i use cout to show char "upper", it shows the ascii code for uppercase.. in this case, it shows '65' in screen, i know it supposed to show 'A' instead of …

Member Avatar for Sendy Hipo
0
130
Member Avatar for Sendy Hipo

i read c++ ebook, then i make a code to open a file using fstream and use ios::in flag here's the code : #include <iostream> #include <fstream> using namespace std; bool openFileIn(fstream&, string); int main() { fstream dataFile; if(openFileIn(dataFile, "sendy.txt")) { cout<<"succes"; } else cout<<"fail"; return 0; } bool openFileIn(fstream …

Member Avatar for Sendy Hipo
0
154
Member Avatar for Sendy Hipo

Hi! i have problems with input validation, so here goes the problem : Write a program that uses a structure to store the following data about a customer account: Name Address City, State, and ZIP Telephone Number Account Balance Date of Last Payment VideoNote Solving the Weather Statistics Problem Review …

Member Avatar for Sendy Hipo
0
420
Member Avatar for aznairjordan

erm im newbie in c++, but what i do to count characters is by passing the words to string by using getline. im not sure if this is a good code, but at least it works for me. #include <iostream> #include <string> #include <fstream> #include <vector> using namespace std; int …

Member Avatar for Sky Diploma
0
212
Member Avatar for Sendy Hipo

Hello, im a bit new to c++ and learning in my own, but im stuck to a problem. Im trying to do a practice converting string/c-string to int : Sum of Digits in a String Write a program that asks the user to enter a series of single digit numbers …

Member Avatar for Sendy Hipo
0
548

The End.