Posts
 
Reputation
Joined
Last Seen
Ranked #626
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #1K
~26.1K People Reached
Interests
Muay Thai
Member Avatar for anny**

Hi here it is: [code=c]//#include <iostream> //c++ #include <stdio.h> //the same in C int main () { long number; // the number to use to calculate its factorial long factor; // the factorial of the number long term; // next term to use in the calculation // prompt and get …

Member Avatar for helo_1
0
4K
Member Avatar for Alex Edwards

[QUOTE]I guess you don't know how big a 6,000 page book is! I have a copy of "SQL, The Complete Reference", by James Groff & Paul N Weinberg, which has 998 pages and is 2 1/2 inches thick. Your book would be about 15 inches thick! I have never seen …

Member Avatar for KelvinG
0
1K
Member Avatar for starletcharmed

I have another proposition for a recursive solution: [code=c++] #include <iostream> #include <string> std::string GetName(); // String to get user's name. void reverseString(std::string str); int main() { std::string name; name=GetName(); std::cout<<"The string is: "<<name<<std::endl; std::cout<<"Now the reverseString function is going to reverse the string: "<<std::endl; reverseString(name); return 0; } std::string …

Member Avatar for d_a_y_o
2
4K
Member Avatar for shopnobhumi

Hallo here an object oriented solution for your problem. I am expecting u to play with it and test different graphs :) Dont be scared from the size. [code=c++] //this is kind of object oriented solution #include <iostream> class CHorBar { public: CHorBar (int numSymbols) { std::cout << "*";//When i …

Member Avatar for kavita_gunaji
0
808
Member Avatar for niranjan.quasar

[QUOTE=niranjan.quasar;795496]What is Broken Inheritence in OOP ? What are the reasons for it ? How can we correct such a problem ?[/QUOTE] Hi I would say that with "broken inheritance" is meant that due to some changes, a specific class cannot be any more inherited. This can happen if u …

Member Avatar for sidatra79
0
73
Member Avatar for sidatra79

Hi everybody, I am rather new to VBA programming in EXCEL and I could use some of your help. [U]I want to do the following:[/U] In my excel file there are two sheets: SourceSheet and DestSheet. In SourceSheet there are data filling columns A to I and starting from the …

0
66
Member Avatar for tarekkkkk

Hello tarekkkkk and everybody else of course :D <<---------------- [QUOTE]tarekkkkk: plz help and yes submit a direct link if u can and thx for advance plz hurry up i have assignment next week i have to finish it lol ..... OK i dont care what is ur problem with my …

Member Avatar for jbennet
0
791
Member Avatar for Lardmeister

[QUOTE=sneekula;718765]There are quite a number of states in the US where you need a driver's license to vote. One out of four black folks don't have a driver's license. They are simply too poor to own a car. Many states put their oldest voting machines into the inner cities, where …

Member Avatar for jbennet
0
3K
Member Avatar for Jason123

Hi here a solution to your problem: [code=c++] #include <iostream> using namespace std; class myExpression { public: friend ostream& operator<<(ostream&,myExpression&); friend istream& operator>>(ostream&,myExpression&); int firstNumber; int secNumber; int thirdNumber; }; ostream& operator<<(ostream& out ,myExpression& exp) { if(!cin.fail()) cout<<"{"<<exp.firstNumber<<","<<exp.secNumber<<"," <<exp.thirdNumber<<"," <<"}"<<endl; else cout<<"\nInvalid Data"<<endl; return out; } istream& operator>>(istream& i ,myExpression& …

Member Avatar for ArkM
0
174
Member Avatar for ting_ting
Member Avatar for Narue
0
135
Member Avatar for M00nDancer

[QUOTE=M00nDancer;733445]I found a quite interesting problem on the Internet, and of course, out of curiosity, I tried to solve it. Too bad nothing came to an end :(. The task was to count the alphabet's upper letters appearing in a given text and to print on the screen all the …

Member Avatar for ArkM
0
99
Member Avatar for PhoenixInsilico

Hi Ark has 100% right. have a look [code=c++] #include<iostream> using namespace std; class Point { public: Point() : m_x(0) ,m_y (1.0),m_z(1.0) {} Point(float x, float y, float z) : m_x(x) ,m_y (y),m_z(z) {} void setX(float someX) {m_x = someX;}; void setY(float someY) {m_y = someY;}; void setZ(float someZ) {m_z …

Member Avatar for sidatra79
0
89
Member Avatar for Lokolo
Member Avatar for afromong

hi [QUOTE=ddanbe;723416]Use the scanf function with a conversion specifier. [B]scanf("conversion specifier", variable);[/B] %d means integer %f means floating point munber %c means any character input Example : [B]scanf("%d",i);[/B] The variable i will contain only digits.[/QUOTE] Correct solution but for the C language.... Works for C++ too though. I would propose: …

Member Avatar for afromong
0
81
Member Avatar for jbrock31

Hi here is what I would change: [QUOTE] struct studInfo { char Name[31]; short Idnum; [B]int Tests;[/B] float avg; char grade; };[/QUOTE] P.S. A general advice: [QUOTE]int main() { .... return 0; }[/QUOTE]

Member Avatar for jbrock31
0
139
Member Avatar for sidatra79

Hi to all game programmers :icon_cool: I want to implement the following: Short description: [B]A* Star for partitioned space combined with an adaptive partitioning in 3D.[/B] Detailed description: A. Assume that in the 3D space I have an Object (myMovingObject) that I want to it to move from one initial …

Member Avatar for MattEvans
0
208
Member Avatar for cproud21

Hi since..: [QUOTE]I do not want to use an array in this program, because we have not gone over them in C++, only java... [/QUOTE] let imagine your code :) :) : [code=c++] ... int main() { ...... for ( int i = 0 ; i < 5; i++ ) …

Member Avatar for sidatra79
0
75
Member Avatar for clutchkiller

[QUOTE=vmanes;723009]Find the length of the text. Subtract that from the width of the output line (usually 80 in a console window). Output half that number blanks before outputting the text, or use setw( ).[/QUOTE] of course u should include: [QUOTE]#include <iomanip>[/QUOTE] otherwise wont work

Member Avatar for sidatra79
0
75
Member Avatar for wonder87

Hallo have a look at my post here: [url]http://www.daniweb.com/forums/thread150700.html[/url] I posted a working implementation of Hanoi Towers in c++ there. U can see both the recursion base case and the recursion step there. If u dont understand sth write what and will try to explain u.

Member Avatar for aashish.raina
0
374
Member Avatar for DemonGal711

Hi before going into your code ..whick looks rather big :D could u please explain us in few words how u defined: [LIST] [*]the recursion base case [*]the recursion step(s) [/LIST] for your task. Furthermore, did u prove that your recursion function is correct using induction? Unless these are not …

Member Avatar for DemonGal711
0
175
Member Avatar for Jason123

first of all use code tags. otherwise u wont see any help on the way...

Member Avatar for Jason123
0
184
Member Avatar for dtaylor01

[QUOTE=dtaylor01;718386]Can someone take a look at my code and see if they notice something wrong. [ICODE]int score; char grade =0; // read in total score cout << endl; cout << "Enter total score (float, must be <= 100): "; cin >> score; if (score >= 85); grade = 'A'; else …

Member Avatar for chococrack
0
238
Member Avatar for tefismp

[QUOTE=tefismp;718426]Someone out there please help me i must do a function for a bucket sort but i dont know how and the only things i must use are normal arrays and pointers no strange functions and libraries i need the code in c++ please i know what the program does …

Member Avatar for Freaky_Chris
0
161
Member Avatar for LADY187

[QUOTE]Why are you defining your own PI when cmath comes with M_PI which is alot more accurate than yours?[/QUOTE] Maybe she just heard about it first time from u :D

Member Avatar for LADY187
0
101
Member Avatar for Trekker182

Besides the previous errors due to your programming environment as it seems u have some other as well: In the base class u implemented printInfo: [code=c++] virtual void printInfo() { cout<<"The name of the ship is "<<name<<endl; endl; cout<<"The year the ship was built is "<<year<<endl; }; [/code] and then …

Member Avatar for sidatra79
0
106
Member Avatar for NinjaLink

Hi first of all in order to use strings u must: [QUOTE] #include <string>[/QUOTE]

Member Avatar for NinjaLink
0
119
Member Avatar for Avaviel

Could u write a paragraph describing what exactly this code is supposed to do.... then I could help u

Member Avatar for Avaviel
0
337
Member Avatar for Se7Olutionyg

Hi [QUOTE]1) Are you going to tell us what your instructor wanted you to do, or do you expect us to read your mind ????[/QUOTE] from what I read in his mind :D :D :D :D :D :D [QUOTE]His MIND:[/QUOTE] [code=c++]#include <math.h> #include <iostream> using namespace std; void instruction(); int …

Member Avatar for sidatra79
0
102
Member Avatar for Kanvas

Hi, [QUOTE] to solve the compilation error u have to forward the declaration of class device. That means simply add a Help with Code Tags (Toggle Plain Text) class device; class device; before you declare BST good luck[/QUOTE] mmmmm....yes it might compile now, however.... based on your description u defined …

Member Avatar for sidatra79
0
181
Member Avatar for efr100

[QUOTE]Now for some reason, every time I take a computer related course, I always get a foreign teacher who has a strong accent making it very difficult to learn anything.[/QUOTE] Apparently those teachers which have this strong accent HAVE "STRONG " ALGORITHM understanding. :D I would advise u to tell …

Member Avatar for sidatra79
0
78