Forum: C Oct 13th, 2008 |
| Replies: 5 Views: 596 Hi
Could anybody help me to clear that out. Just go step by step and try to explain it to me. I would appreciate it
Thanks
7727
The answer for that one:
At the end: c1 -- 40 (hex) and c2 --... |
Forum: C Sep 24th, 2008 |
| Replies: 3 Views: 428 Hi guys
I have a small problem. It could be not enough information to obtain the right answer but I will try. So I have a problem regarding liked lists. It works perfectly fine when is compliled... |
Forum: C++ Sep 17th, 2008 |
| Replies: 2 Views: 306 Hi
I wrote that peace of code but it is not doing what is suppose to do. It should saved my numbers into linked lists in incresing order. It doesn't. What am I missing.
Thanks
#include<stdio.h>... |
Forum: C++ Sep 17th, 2008 |
| Replies: 2 Views: 286 I got that one, thanks, I will keep going with linked lists then ... :) |
Forum: C++ Sep 17th, 2008 |
| Replies: 2 Views: 286 Hi
Does anybody knows what is wrong with taht code? Why it says it is empty link list? It should fill with the numbers I enter. Could anybody help to answer the question?
Thanks
... |
Forum: Java Dec 4th, 2007 |
| Replies: 5 Views: 800 Can you be no so wise and let me know of same good java IDE |
Forum: Java Dec 3rd, 2007 |
| Replies: 5 Views: 800 Hi
I just started to learn Java and I woulkd like to make my life a little bit easier. I am looking for a good java compiler, something that works as good as Dev-c++ for c++. The application taht... |
Forum: Java Dec 3rd, 2007 |
| Replies: 4 Views: 834 |
Forum: Java Dec 3rd, 2007 |
| Replies: 4 Views: 834 Hi guys
I started to learn java and have a little problem\. When I try to compile my little program it says :
assgn2.java:40: variable overnight might not have been initialized
... |
Forum: C++ Aug 30th, 2007 |
| Replies: 3 Views: 868 Hi
Does anybody knows good website with a tutorial for C++. What I really looking for is a tutorial regarding the linked list, stack and queues with a good explanaitions. It would be lovely if... |
Forum: C++ Aug 15th, 2007 |
| Replies: 2 Views: 1,486 right
Got it. Fix the error but there is something else with it. Look at the code. Some trouble with nodes I believe
#include<iostream>
#include<conio.h>
#define MaxSize 30
using namespace... |
Forum: C++ Aug 15th, 2007 |
| Replies: 2 Views: 1,486 Hi
I try to fill linked list with names. I have one error could anyone fix it.
#include<iostream>
#include<conio.h>
#define MaxSize 30
using namespace std;
struct Node |
Forum: C++ Aug 15th, 2007 |
| Replies: 3 Views: 796 Hi
I have no clue how to do it. I heard something about tail but don't know how to implement it. Could youi show me a little exercise with it or could you implement with my program.
Thanks |
Forum: C++ Aug 14th, 2007 |
| Replies: 3 Views: 796 Hi I have a piece of code. It's print for me the numbers I enterd but in reverse order that I would like to. How may I change that?
thx
#include<iostream>
#include<conio.h>
using namespace... |
Forum: C++ Aug 14th, 2007 |
| Replies: 1 Views: 621 Hi
Why is that wrong
#include<iostream>
#include<conio.h>
using namespace std;
struct Node
{
char your_name; |
Forum: C++ Aug 14th, 2007 |
| Replies: 1 Views: 2,173 HI
I am trying to combine(I think that is the word) a node and a class together.Could anybvody try to find the error I have thx
#include<iostream>
#include<conio.h>
using namespace std;... |
Forum: C++ Aug 14th, 2007 |
| Replies: 1 Views: 472 struct NodeType
{
char name[MaxNameSize];
NodeType* next; // A pointer to the next person in line
};
void GetInLine(char new_person[]);
int main(void)... |
Forum: C++ Aug 7th, 2007 |
| Replies: 6 Views: 826 Actually one more question
I did that so far:
void Money::input (istream& ins)
{
cout<<"\n\nYou are going to set up the amount for your_account"<<endl;
cout<<"Enter the amount to... |
Forum: C++ Aug 7th, 2007 |
| Replies: 6 Views: 826 Never mind.
What a stupid ass I am :). I got it.
Thanks |
Forum: C++ Aug 7th, 2007 |
| Replies: 6 Views: 826 Hi again. I think I found a good way to approach the problem. I think :) . Look at the code:
void Money::input (istream& ins)
{
cout<<"\n\nYou are going to set up the amount for... |
Forum: C++ Aug 7th, 2007 |
| Replies: 6 Views: 826 this is not an assignment. I'm just playing around ,trying to do many things on classes. I just trying to find a way to do excutly as I did but in a correct way.
thanks anyway |
Forum: C++ Aug 7th, 2007 |
| Replies: 6 Views: 826 Hi guys
I'm stll playing around with classes. I have some simple class, the program itself works but when I enter the value for your_account as a negative number it doesn't pass the right numbers to... |
Forum: C++ Aug 6th, 2007 |
| Replies: 3 Views: 736 YOU WERE RIGHT , BENCH, AGAIN
thanks |
Forum: C++ Aug 6th, 2007 |
| Replies: 3 Views: 736 Hi
I'm playing with a simple class. Looks like everething is fine, my compiler doesn't give me any error but there is no display on the screen. Can anyone tell me what did I miss?
thanks
... |
Forum: C++ Jul 25th, 2007 |
| Replies: 4 Views: 648 yeep
I know also that r=&x is an assignment statement and r is equall the address of x
7**p/*q+7 could be (Im not sure, can somebody correct me if not ) - 7*(*p/*q)+7
3**q-*p could be 3*(*q)-*p... |
Forum: C++ Jul 25th, 2007 |
| Replies: 7 Views: 942 You are probebly right. Let say I belive you. That would explain all of my questions.
Thank you appreciate it |
Forum: C++ Jul 24th, 2007 |
| Replies: 7 Views: 942 Hi
Actually I think you are wrong about the 20th line. In 19th line you have assignment, that makes an ptr2 equall to adress of ptr1. I am wandering about the addess ptr2 in the line 18th. I thought... |
Forum: C++ Jul 24th, 2007 |
| Replies: 4 Views: 648 Hi
Could anybody fill the table for me.
thanks
Declarations and initializations
int i=3,j=5,*p=&i,*q=&j,*r;
double x;
value Equivalent expression value
p==&i; |
Forum: C++ Jul 24th, 2007 |
| Replies: 7 Views: 942 Hi
I have a small code and a question concern it.
What is the value of the first print of ptr2. I have 0. Why? Isn't suppose to be a memory address like for example 0xff10
thanks
... |
Forum: C++ Jul 24th, 2007 |
| Replies: 5 Views: 602 |
Forum: C++ Jul 24th, 2007 |
| Replies: 5 Views: 602 Hi
I try to compile that program to see the results but I encountered a problem. The error that is guven by my comiler is :
K undeclared (first use this function)
e undeclared
n undeclared
and... |
Forum: C++ Jul 18th, 2007 |
| Replies: 7 Views: 895 Great,it works. Thanks a lot |
Forum: C++ Jul 18th, 2007 |
| Replies: 7 Views: 895 Hej
And one more question. I understand what you are saying, but I don't know how to aplay it. How may I create new default constructor and where can I place it, that everything will work in that... |
Forum: C++ Jul 18th, 2007 |
| Replies: 7 Views: 895 Can't you copy it and try to compile yourself. wouldn't be much easier and simpler and more readable. Anyway ,this program doesn't compile. There is an error message:
41 no matching function for... |
Forum: C++ Jul 18th, 2007 |
| Replies: 7 Views: 895 Hi guys
where is the problem with that simple class program:
#include<iostream>
#include<conio.h>
using namespace std;
class DayOfYear
{
public:
DayOfYear(int month,int... |
Forum: C++ Jul 18th, 2007 |
| Replies: 5 Views: 993 o yeee. thats right, all the time i thought about the member function name. That explain everything. thanks a lot |
Forum: C++ Jul 18th, 2007 |
| Replies: 5 Views: 993 When saw that error first thing I thought is misspelling, but check it yourself. Did you try to compile it? This can't be misspelling.
Thanks |
Forum: C++ Jul 18th, 2007 |
| Replies: 5 Views: 993 Hi
What is wrong with that piece of code.Why it doeasn't let me compile. It gives me that errors on Dev-C++ :
15 expected primary-expression before "void"
15 ISO C++ forbids declaration of... |
Forum: C++ Jul 18th, 2007 |
| Replies: 5 Views: 815 Hi
Don't want you make mad or anything, I know that stuff is easy for you. Could you put it all together in the program I wrote before, just to see how it will work. I tried many things and guess... |
Forum: C++ Jul 18th, 2007 |
| Replies: 5 Views: 815 Ok
and how may I do that, I have no clue, first time using that kind of stuf and can't find an answere nowhere
Any suggestions
Thanks |