Forum: C++ Apr 21st, 2009 |
| Replies: 5 Views: 300 1>c:\documents and settings\marko\my documents\visual studio 2008\projects\testna\testna\testna.cpp(12) : warning C4101: 'znak' : unreferenced local variable
1>c:\documents and settings\marko\my... |
Forum: C++ Apr 21st, 2009 |
| Replies: 5 Views: 300 It debugs, but it says: The variable "ulazniznak" is being used without being initialized. |
Forum: C++ Apr 21st, 2009 |
| Replies: 5 Views: 300 I made this small C++ program, and it won't compile. Please if someone can help me to fix these 2 errors:
error C2059: syntax error : ';'
error C2059: syntax error : '}'
The text is not in... |
Forum: C++ Apr 21st, 2009 |
| Replies: 7 Views: 939 Ok. Thank you. I'll see what can I do with this home assignement. |
Forum: C++ Apr 20th, 2009 |
| Replies: 7 Views: 939 The above code is what I begin to do. I did it with switch / case, but I don' to really know how to implement this waiting (2 sec for yellow light and the other one). And I reall y don't know am I on... |
Forum: C++ Apr 20th, 2009 |
| Replies: 7 Views: 939 I'm really a beginner in C++ programming, and the above problem is just a part of c++ excercise. Can somebody give me a tip how to implement this in C++?
The biggest problem for me is to implement... |
Forum: C++ Apr 2nd, 2009 |
| Replies: 2 Views: 1,199 Thank you on your answer. I will mark it as solved. |
Forum: C++ Apr 2nd, 2009 |
| Replies: 2 Views: 1,199 I've got these 3 questions, I didn't work so far in C++, and this is preparation for my C++ class, These questions are a little tricky and unknown to me, I tried to find the answers in Wikipedia,... |
Forum: C++ Apr 2nd, 2009 |
| Replies: 5 Views: 427 What is needed for a C++ member function of a class to behave polymorphic?
Please can anyone answer me to this, and if you can give me some example. Thanks. |
Forum: C++ Feb 27th, 2009 |
| Replies: 0 Views: 225 Can anybody give me some tip or help me with some part of this problem, thank you.
Write a program which creates N new threads (N is the command line argument). Every thread in the single of M... |
Forum: C++ Feb 18th, 2009 |
| Replies: 2 Views: 286 Let Wallet be a class that represents the amount of coins and bills in a purse. The class has
got a data element amount of type long. The binary operator += shall be overloaded as an
inline method.... |
Forum: C++ Feb 18th, 2009 |
| Replies: 3 Views: 334 |
Forum: C++ Feb 18th, 2009 |
| Replies: 3 Views: 334 Let
class Customer
{
private:
long id;
string name;
public:
...
};
be part of a class definition. |
Forum: C++ Feb 18th, 2009 |
| Replies: 2 Views: 616 Does anyone now answer to this:
Suppose class X includes a data elements common declared as public. How can it be
accessed by all functions in the same name space ? |
Forum: C++ Feb 17th, 2009 |
| Replies: 3 Views: 640 I understand what are you saying to me, but I cannot make so much effort to solve this by tomorrow, and to completely understand it and to present it, that's why I need someon's help. |
Forum: C++ Feb 17th, 2009 |
| Replies: 3 Views: 640 I've never programed in C++, and I have just started to learn C++, but I already get a little bit to complicated homeassignement. Is there anyone willing to help me - let's say solve me this... |
Forum: C++ Feb 17th, 2009 |
| Replies: 7 Views: 500 OK. I'll try to solve this. If anyone else can help me it would be great. But, can you explains me this under 6. 6. Suppose class X includes a data elements common declared as public. How can it be... |
Forum: C++ Feb 17th, 2009 |
| Replies: 7 Views: 500 I would appreciate if you or anyone else would have a good will and explain me several more questions. We actually don't need to write programs just to explain some things in c++ (classes)
this... |
Forum: C++ Feb 17th, 2009 |
| Replies: 7 Views: 500 I'm not a C++ programmer. I'm a student and I got this question for home assignement and we just started to learn C++ and I couldn't find the answer anywhere. Thanks. |
Forum: C++ Feb 17th, 2009 |
| Replies: 7 Views: 500 Please can anyone tell me in few words What is wrong with the following class definition? whait's missing, etc.
Class Numeric
{
private:
long x;
public
...
void set (long n) const { x = n; }... |