User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 402,938 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,913 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 61
Search took 0.01 seconds.
Posts Made By: mauro21pl
Forum: Java Dec 4th, 2007
Replies: 5
Views: 393
Posted By mauro21pl
Re: compliler

Can you be no so wise and let me know of same good java IDE
Forum: Java Dec 3rd, 2007
Replies: 5
Views: 393
Posted By mauro21pl
compliler

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: 407
Posted By mauro21pl
Re: very simple code

never mind ,got it
Forum: Java Dec 3rd, 2007
Replies: 4
Views: 407
Posted By mauro21pl
very simple code

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: 478
Posted By mauro21pl
general question

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: 842
Posted By mauro21pl
Re: linked list

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: 842
Posted By mauro21pl
linked list

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: 413
Posted By mauro21pl
Re: another simple question concerning nodes

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: 413
Posted By mauro21pl
another simple question concerning nodes

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: 345
Posted By mauro21pl
simple question

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: 604
Posted By mauro21pl
Node And Class

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;
struct...
Forum: C++ Aug 14th, 2007
Replies: 1
Views: 254
Posted By mauro21pl
nodes

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: 426
Posted By mauro21pl
Re: class

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: 426
Posted By mauro21pl
Re: class

Never mind.
What a stupid ass I am :). I got it.
Thanks
Forum: C++ Aug 7th, 2007
Replies: 6
Views: 426
Posted By mauro21pl
Re: class

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: 426
Posted By mauro21pl
Re: class

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: 426
Posted By mauro21pl
class

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: 456
Posted By mauro21pl
Re: class

YOU WERE RIGHT , BENCH, AGAIN
thanks
Forum: C++ Aug 6th, 2007
Replies: 3
Views: 456
Posted By mauro21pl
class

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: 374
Posted By mauro21pl
Re: pointers

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
but...
Forum: C++ Jul 24th, 2007
Replies: 7
Views: 560
Posted By mauro21pl
Re: another quick question -pointers

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: 560
Posted By mauro21pl
Re: another quick question -pointers

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: 374
Posted By mauro21pl
pointers

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: 560
Posted By mauro21pl
another quick question -pointers

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: 326
Posted By mauro21pl
Re: Quick question

<accidentally deleted>
Forum: C++ Jul 24th, 2007
Replies: 5
Views: 326
Posted By mauro21pl
Quick question

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 so...
Forum: C++ Jul 18th, 2007
Replies: 7
Views: 504
Posted By mauro21pl
Re: Quick question

Great,it works. Thanks a lot
Forum: C++ Jul 18th, 2007
Replies: 7
Views: 504
Posted By mauro21pl
Re: Quick question

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: 504
Posted By mauro21pl
Re: Quick question

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: 504
Posted By mauro21pl
Quick question

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 day);
Forum: C++ Jul 18th, 2007
Replies: 5
Views: 567
Posted By mauro21pl
Re: class type

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: 567
Posted By mauro21pl
Re: class type

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: 567
Posted By mauro21pl
class type

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 `privite'...
Forum: C++ Jul 17th, 2007
Replies: 5
Views: 537
Posted By mauro21pl
Re: quick question

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 17th, 2007
Replies: 5
Views: 537
Posted By mauro21pl
Re: quick question

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
Forum: C++ Jul 17th, 2007
Replies: 5
Views: 537
Posted By mauro21pl
quick question

How may I clear whole array in that example?

#include <iostream.h>
#include <string.h>
#include<conio.h>
using namespace std;
class C_String
{
public:
char* Input();
Forum: C++ Jul 17th, 2007
Replies: 5
Views: 1,581
Posted By mauro21pl
Re: class and Cstring

I don'y got it, looks like it is to hard for me.
What I did was :

I used that to take the input

char* CString::GetString()
{
cin.getline(data,30);

}
Forum: C++ Jul 17th, 2007
Replies: 5
Views: 1,581
Posted By mauro21pl
Re: class and Cstring

yes i try to do step by step, but my question is how may I initialize first_string to the inputted string value:

I have got:
cin.getline(string,MaxSize);

// Insert code to initialize first_string...
Forum: C++ Jul 17th, 2007
Replies: 5
Views: 1,581
Posted By mauro21pl
class and Cstring

#include <iostream.h>
#include <string.h>
int const MaxSize = 50;

Class CString
{
public:
CString ( ); //Constructor initializes array to NULL.
int GetStrLen( ); //Gets the length of the...
Forum: C++ Jul 17th, 2007
Replies: 2
Views: 342
Posted By mauro21pl
Re: working on Cstrings

Never mind guys ,I got it.
Thanks
Showing results 1 to 40 of 61

 
All times are GMT -4. The time now is 5:42 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC