Forum: C++ Feb 4th, 2009 |
| Replies: 1 Views: 293 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 would make the constructor private, and... |
Forum: Visual Basic 4 / 5 / 6 Feb 4th, 2009 |
| Replies: 0 Views: 842 Hi everybody,
I am rather new to VBA programming in EXCEL and I could use some of your help.
I want to do the following:
In my excel file there are two sheets: SourceSheet and DestSheet.
In... |
Forum: C++ Nov 11th, 2008 |
| Replies: 2 Views: 312 Hi
Ark has 100% right.
have a look
#include<iostream>
using namespace std;
class Point |
Forum: C++ Nov 11th, 2008 |
| Replies: 6 Views: 489 Hi u might consider using the
which checks if character is lowercase letter within your loop.
P.s. u need <cctype> header for this to work |
Forum: C++ Nov 11th, 2008 |
| Replies: 14 Views: 952 Hi
here a solution to your problem:
#include <iostream>
using namespace std;
class myExpression
{
public: |
Forum: C Nov 7th, 2008 |
| Replies: 4 Views: 463 Hi its sth simple:
int main()
{
....
return 0;
} |
Forum: C++ Nov 7th, 2008 |
| Replies: 5 Views: 422 Hi again,
have a look on this it might help u:
#include <string>
#include <iostream>
using namespace std;
const int MAX_NO_OF_CUSTOMERS = 3; |
Forum: C++ Nov 7th, 2008 |
| Replies: 5 Views: 422 Hi
could u please post the Customer.h too? |
Forum: C++ Oct 29th, 2008 |
| Replies: 4 Views: 359 Maybe u should post at 2 am too, to see how correct your solution would be..... :D |
Forum: C++ Oct 28th, 2008 |
| Replies: 2 Views: 580 of course u should include:
otherwise wont work |
Forum: C++ Oct 28th, 2008 |
| Replies: 4 Views: 359 Hi since..:
let imagine your code :) :) :
...
int main()
{
......
for ( int i = 0 ; i < 5; i++ ) |
Forum: C++ Oct 28th, 2008 |
| Replies: 5 Views: 398 hi
Correct solution but for the C language.... Works for C++ too though.
I would propose:
cin.ignore(numeric_limits<int>::max(), '\n'); |
Forum: C++ Oct 28th, 2008 |
| Replies: 7 Views: 696 Hi
here is what I would change:
P.S. A general advice: |
Forum: Game Development Oct 27th, 2008 |
| Replies: 7 Views: 1,048 Hallo MattEvans and THANKS A LOT FOR YOUR POST!!!!
No I am using it for Robot motion planing.
No the 3D space is bounded. |
Forum: C++ Oct 24th, 2008 |
| Replies: 57 Views: 12,863 In this page:
we can read:
The way I see it (my personal opinion) is that they included these C libraries in the C++ only to make the TRANSITION for all those C programmers easier,... |
Forum: C++ Oct 24th, 2008 |
| Replies: 57 Views: 12,863 Hello tarekkkkk and everybody else of course :D
<<----------------
Other people can help u fast, ONLY when they are provided with a clear description from your side. I think that u should... |
Forum: Game Development Oct 22nd, 2008 |
| Replies: 7 Views: 1,048 I did not register today in the forum... so I guess I know the rules :D :D
Do u have anything to say what could be helpful to the things I asked???
If u dont please let others that might have to... |
Forum: Game Development Oct 22nd, 2008 |
| Replies: 7 Views: 1,048 If u dont know how to be polite, at least try not being rude :D
I did not ask anybody to do my homework.
And besides dude its not a homework.
I asked for opinions
if u have read my thread u... |
Forum: C++ Oct 22nd, 2008 |
| Replies: 20 Views: 1,216 Which one of the following do u want that the user decides:
Both the number of lists and employees per list
Only the number of lists and employees per list will be always 7
Only the number of... |
Forum: C++ Oct 22nd, 2008 |
| Replies: 20 Views: 1,216 The above would normally work but u should make changes in main as well, due to the fact that the add function is called within a loop there. That means that if u make the aforementioned changes in... |
Forum: Geeks' Lounge Oct 22nd, 2008 |
| Replies: 487 Views: 34,940 no wonder why the ...bush manage not to get "burned" twice.... |
Forum: C++ Oct 22nd, 2008 |
| Replies: 4 Views: 430 Start using C++....when posting in the C++ section :D :D |
Forum: Game Development Oct 22nd, 2008 |
| Replies: 7 Views: 1,048 Hi to all game programmers :icon_cool:
I want to implement the following:
Short description:
A* Star for partitioned space combined with an adaptive partitioning in 3D.
Detailed... |
Forum: C++ Oct 22nd, 2008 |
| Replies: 6 Views: 638 Hi before going into your code ..whick looks rather big :D
could u please explain us in few words how u defined:
the recursion base case
the recursion step(s)
for your task.
Furthermore,... |
Forum: C++ Oct 22nd, 2008 |
| Replies: 20 Views: 1,216 Here is the code without pointers:
#include <iostream>
const int LEN = 20;
const int MAX_EMPL = 100;
class Employee
{ |
Forum: C++ Oct 22nd, 2008 |
| Replies: 4 Views: 724 First of all do u know what a bucket sort is? :D |
Forum: C++ Oct 22nd, 2008 |
| Replies: 20 Views: 1,216 hi again,
please dont PM me questions, because if I answer them,then here nobody else will know what the question was, and if answer u with PM then nobody else will be able to see to the... |
Forum: C++ Oct 21st, 2008 |
| Replies: 5 Views: 821 Could u explain what exactly is that u want to succed, because I didnt got it.... |
Forum: C++ Oct 21st, 2008 |
| Replies: 6 Views: 419 Maybe she just heard about it first time from u :D |
Forum: C++ Oct 21st, 2008 |
| Replies: 6 Views: 420 u can do simply like this:
void toyType::sale(int s)
{
stockcount -=s;
}
The statement: |
Forum: C++ Oct 21st, 2008 |
| Replies: 20 Views: 1,216 Hi
this a an error- and warning- free solution to your task:
#include <iostream>
const int LEN = 20;
class Employee
{
public: |
Forum: C++ Oct 21st, 2008 |
| Replies: 6 Views: 420 And finally :D
u declared the modifyALL method within the class body having 3.... arguments
while later u define it taking no arguments...
In addition in main u misstyped the |
Forum: C++ Oct 21st, 2008 |
| Replies: 6 Views: 420 Secondly in your header file u mistyped i hope :D :D :D :
which should be: |
Forum: C++ Oct 21st, 2008 |
| Replies: 6 Views: 420 Hi
first of all in order to use strings u must: |
Forum: C++ Oct 21st, 2008 |
| Replies: 20 Views: 1,216 first of all use code tags. otherwise u wont see any help on the way... |
Forum: C++ Oct 21st, 2008 |
| Replies: 5 Views: 821 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:
virtual void printInfo()
{
cout<<"The... |
Forum: C++ Oct 21st, 2008 |
| Replies: 2 Views: 700 Hi
from what I read in his mind :D :D :D :D :D :D
#include <math.h>
#include <iostream>
using namespace std; |
Forum: C++ Oct 21st, 2008 |
| Replies: 4 Views: 553 Hi,
mmmmm....yes it might compile now, however....
based on your description u defined the relationships between the classes the following way:
An mp3player is-a device ->Inheritance I... |
Forum: Computer Science Oct 20th, 2008 |
| Replies: 2 Views: 1,041 Apparently those teachers which have this strong accent HAVE "STRONG " ALGORITHM understanding. :D
I would advise u to tell them directly that u have difficulties following what they say in class... |
Forum: C++ Oct 19th, 2008 |
| Replies: 3 Views: 401 Moreover I would like to note that in your second example the embedded object used is equivalent like I said in the previous post to "Composition (Has-a relationship)".
However there is one more... |