Valhalla Legends Archive

General => /WHOAMI -- Introductions => Topic started by: AC_Drkan on March 04, 2004, 10:44 AM

Title: /me if anyone cares
Post by: AC_Drkan on March 04, 2004, 10:44 AM
Hey wassupie.

im dan
from maryland
acc name on bnet ac_drkan
messages me to say hi

programming languages:
C  <--currently taking a course
C++
HMTL
Java
Javascript
hmm....
MDSEV <---- not much experience with it

my website
www.thebnetbotsite.cjb.net

i modified a greet bot to send messages and to receieve them and to log everyone that joins the channel
Title: Re:/me if anyone cares
Post by: Yoni on March 05, 2004, 04:22 AM
What's MDSEV? (Do you mean MSDEV? That's not a language, it's an IDE...)

Quote from: AC_Drkan on March 04, 2004, 10:44 AM
i modified a greet bot to send messages and to receieve them and to log everyone that joins the channel

If that's true, you already own about half of the bot developers on these forums. (Not sarcastically.)
Title: Re:/me if anyone cares
Post by: AC_Drkan on March 05, 2004, 10:26 AM
yep i know all those languages.

spelling isn't my strong point.
all these classes plus some more are offered at my school :)
and im only 16
I also know some (alot of knowledge) of hmm... cannot say it here cause its illegal ;)

check out my website guys
www.thebnetbotsite.cjb.net

331 hits in the first 15 hours it was up!

Dan
Title: Re:/me if anyone cares
Post by: j0k3r on March 05, 2004, 03:33 PM
Quote from: AC_Drkan on March 05, 2004, 10:26 AM
yep i know all those languages.

spelling isn't my strong point.
all these classes plus some more are offered at my school :)
and im only 16
I also know some (alot of knowledge) of hmm... cannot say it here cause its illegal ;)

check out my website guys
www.thebnetbotsite.cjb.net

331 hits in the first 15 hours it was up!

Dan
Maybe it's time for some real hosting then?
Title: Re:/me if anyone cares
Post by: muert0 on March 05, 2004, 03:34 PM
Wish they had programming classes at the schools here. The only one they had was introduction to programming and it was QBasic.
Title: Re:/me if anyone cares
Post by: MyndFyre on March 23, 2004, 07:02 PM
Quote from: AC_Drkan on March 04, 2004, 10:44 AM
programming languages:
C  <--currently taking a course
C++
HMTL

A couple notes...

C++ is a superset of C.  If you know C++, then you should already know all that you have to know about C.  How you can know C++ without knowing C is beyond me.

HTML is a markup language, not a programming language.  It can be manipulated programatically, but markup and programming are entirely different things.
Title: Re:/me if anyone cares
Post by: j0k3r on March 23, 2004, 07:18 PM
Quote from: Myndfyre on March 23, 2004, 07:02 PM
C++ is a superset of C.  If you know C++, then you should already know all that you have to know about C.  How you can know C++ without knowing C is beyond me.
You can easily learn C++ without prior knowledge to C. I'm doing it right now.
Title: Re:/me if anyone cares
Post by: Hitmen on March 23, 2004, 08:02 PM
Quote from: j0k3r on March 23, 2004, 07:18 PM
Quote from: Myndfyre on March 23, 2004, 07:02 PM
C++ is a superset of C.  If you know C++, then you should already know all that you have to know about C.  How you can know C++ without knowing C is beyond me.
You can easily learn C++ without prior knowledge to C. I'm doing it right now.
I think he means once you've learned C++, you've already learned as much C as you need to.
Title: Re:/me if anyone cares
Post by: j0k3r on March 23, 2004, 09:01 PM
Oh that makes sense now, I read it as though he was saying you have to know C to know C++ (like, prerequisite), gotta be careful with words I guess.
Title: Re:/me if anyone cares
Post by: GoSuGaMING on March 24, 2004, 06:18 AM
Quote from: j0k3r on March 05, 2004, 03:33 PM
Maybe it's time for some real hosting then?

www.liquidweb.com has some good hosting...
Title: Re:/me if anyone cares
Post by: j0k3r on March 24, 2004, 06:25 AM
I have better hosting than that, I was saying HE needed better hosting.
Title: Re:/me if anyone cares
Post by: GoSuGaMING on March 24, 2004, 07:23 AM
hows it better? whats your has what 2 gigs of webspace for 4$ its prolly home ran to and not a legit company
Title: Re:/me if anyone cares
Post by: j0k3r on March 24, 2004, 08:19 AM
No, it's a legit host who I've been with for over a year now. I don't have 2gigs of space, don't need nearly that much.
Title: Re:/me if anyone cares
Post by: Archangel on March 27, 2004, 07:59 AM
He dont need a new host, he needs a better design.. ew...
Title: Re:/me if anyone cares
Post by: Mephisto on March 27, 2004, 09:49 AM
Quote from: Myndfyre on March 23, 2004, 07:02 PM
C++ is a superset of C.  If you know C++, then you should already know all that you have to know about C.  How you can know C++ without knowing C is beyond me.

Not true at all...
Title: Re:/me if anyone cares
Post by: MyndFyre on March 27, 2004, 10:03 AM
Quote from: Mephisto on March 27, 2004, 09:49 AM
Quote from: Myndfyre on March 23, 2004, 07:02 PM
C++ is a superset of C.  If you know C++, then you should already know all that you have to know about C.  How you can know C++ without knowing C is beyond me.

Not true at all...

Joker and Hitmen seem to agree with me, Mephisto.  Note that I said the C++ is a superset of C -- which means that there are components in C++ that are not in C, but all components in C are in C++.

Care to defend your position?
Title: Re:/me if anyone cares
Post by: j0k3r on March 27, 2004, 11:27 AM
Quote from: Myndfyre on March 27, 2004, 10:03 AM
Quote from: Mephisto on March 27, 2004, 09:49 AM
Quote from: Myndfyre on March 23, 2004, 07:02 PM
C++ is a superset of C.  If you know C++, then you should already know all that you have to know about C.  How you can know C++ without knowing C is beyond me.

Not true at all...

Joker and Hitmen seem to agree with me, Mephisto.  Note that I said the C++ is a superset of C -- which means that there are components in C++ that are not in C, but all components in C are in C++.

Care to defend your position?
Whoa, I don't know enough to say something like that, I just said (or tried to say) they seemed similar and knowledge of one lends itself to the other.
Title: Re:/me if anyone cares
Post by: MyndFyre on March 27, 2004, 03:22 PM
Quote from: j0k3r on March 27, 2004, 11:27 AM
Quote from: Myndfyre on March 27, 2004, 10:03 AM
Quote from: Mephisto on March 27, 2004, 09:49 AM
Quote from: Myndfyre on March 23, 2004, 07:02 PM
C++ is a superset of C.  If you know C++, then you should already know all that you have to know about C.  How you can know C++ without knowing C is beyond me.

Not true at all...

Joker and Hitmen seem to agree with me, Mephisto.  Note that I said the C++ is a superset of C -- which means that there are components in C++ that are not in C, but all components in C are in C++.

Care to defend your position?
Whoa, I don't know enough to say something like that, I just said (or tried to say) they seemed similar and knowledge of one lends itself to the other.

/me nudges j0k3r
/me whispers c'mon back me up!
Title: Re:/me if anyone cares
Post by: j0k3r on March 27, 2004, 05:49 PM
Hah Myndfyre, ok. He seems to be right in that most (if not all) of the components in C are in C++.

Maybe not all you have to know though, for instance what to do in a certain case where you'd use a C++-only bit of code for a C project.
Title: Re:/me if anyone cares
Post by: Mephisto on March 28, 2004, 06:49 PM
There are several libraries and functions native to C that are not part of C++.  Additionally, things such as structures and unions are not part of C++, and the C and C++ paradigms are different.  I learned C++, and the concepts of them, and then went back to C and learned some useful things that C++ didn't teach/have.  So it's not necessarily the best thing to say that if you learn C++ you know all that you need to know about C.
Title: Re:/me if anyone cares
Post by: MyndFyre on March 28, 2004, 09:20 PM
Quote from: Mephisto on March 28, 2004, 06:49 PM
Additionally, things such as structures and unions are not part of C++, and the C and C++ paradigms are different.

Really?  You want to re-think that?  I wonder how IP addresses for IPv4 and IPv6 are stored in the MFC classes... perhaps unions...
Title: Re:/me if anyone cares
Post by: Mephisto on March 28, 2004, 11:35 PM
Quote from: Myndfyre on March 28, 2004, 09:20 PM
Quote from: Mephisto on March 28, 2004, 06:49 PM
Additionally, things such as structures and unions are not part of C++, and the C and C++ paradigms are different.

Really?  You want to re-think that?  I wonder how IP addresses for IPv4 and IPv6 are stored in the MFC classes... perhaps unions...

Hmm...I guess I was mistaken after doing some research on the subject.  I was never taught unions in C++ and when I learned unions it was in C.  Thanks Myndfyre, I learned something new.  :)  Though I've never had need to use a union in C++, let alone C before when I had structures and classes avaliable to me.
Title: Re:/me if anyone cares
Post by: hismajesty on March 29, 2004, 04:23 AM
Quote from: GoSuGaMING on March 24, 2004, 06:18 AM
Quote from: j0k3r on March 05, 2004, 03:33 PM
Maybe it's time for some real hosting then?

www.liquidweb.com has some good hosting...

Why are you getting so defensive (another post)? I'm assuming this is your host/possibly your company? Anyway, the site took well over 10 seconds to load so that would give me the impression that they're not that fast, regardless of if it was caused by me/my isp/etc. Not that it matters since I have a host that I'm happy with. :P
Title: Re:/me if anyone cares
Post by: iago on March 30, 2004, 11:25 AM
I haven't been paying any attention to this forum, but I thought I'd post here: I learned C++ before I learned C, and they were quite different.

First of all, C uses printf() and C++ uses cout, in general.  If you're learning printf(), you're learning C, not C++.

Also, you don't need pointers in c++ - I did a course in it and we never touched pointers, only references parameters.

C++ programmers try this:
for(int i = 0.....
C programmers don't:
int i;
...
for(i = 0....

C++ programmers do:
struct a
{
.....}
C programmers:
typedef struct {
.....} a;


I know you CAN do C stuff in C++, but in general you don't.  So learning C IS a different experience.



And back to the original topic - my browser hates something about your website, so it won't load :/
Title: Re:/me if anyone cares
Post by: MyndFyre on April 08, 2004, 08:26 PM
Quote from: iago on March 30, 2004, 11:25 AM
I haven't been paying any attention to this forum, but I thought I'd post here: I learned C++ before I learned C, and they were quite different.

First of all, C uses printf() and C++ uses cout, in general.  If you're learning printf(), you're learning C, not C++.

Also, you don't need pointers in c++ - I did a course in it and we never touched pointers, only references parameters.

C++ programmers try this:
for(int i = 0.....
C programmers don't:
int i;
...
for(i = 0....

C++ programmers do:
struct a
{
.....}
C programmers:
typedef struct {
.....} a;

I know you CAN do C stuff in C++, but in general you don't.  So learning C IS a different experience.

And back to the original topic - my browser hates something about your website, so it won't load :/

The differences in struct declaration between C and C++ are a result of the OOP-ability of C++, although you can indeed declare a C++ structure the way you do in C.

In my C for Dummies book, pointers were covered in chapter 5, well before references.  I'm not sure why you wouldn't use them, :\

As far as the int situation goes, the additional reason that C++ programmers can go:


for (int i = 0; i < strLen; i++) {
//...
}

is that as part of the additions to C in C++, the int declaration in for loops leaves scope, so that you can declare "int i" multiple times through the same scope.  A C++ programmer is still free to say "int i; for (i = 0; ..." though.
Title: Re:/me if anyone cares
Post by: AC_Drkan on April 18, 2004, 09:56 PM
a couple words.

DANG HOLY CRAP

never saw that many posts lol

Title: Re:/me if anyone cares
Post by: Yoni on April 19, 2004, 04:34 AM
Quote from: Myndfyre on April 08, 2004, 08:26 PM
is that as part of the additions to C in C++, the int declaration in for loops leaves scope, so that you can declare "int i" multiple times through the same scope.  A C++ programmer is still free to say "int i; for (i = 0; ..." though.
I'm not sure it's a difference between C and C++ or not. What I know is that different compilers implement this differently, and that's annoying for compiler-portability. I don't keep track of what's the standard anymore, I just always declare variables outside the for now.
Title: Re:/me if anyone cares
Post by: Adron on April 19, 2004, 02:31 PM
Quote from: Yoni on April 19, 2004, 04:34 AM
Quote from: Myndfyre on April 08, 2004, 08:26 PM
is that as part of the additions to C in C++, the int declaration in for loops leaves scope, so that you can declare "int i" multiple times through the same scope.  A C++ programmer is still free to say "int i; for (i = 0; ..." though.
I'm not sure it's a difference between C and C++ or not. What I know is that different compilers implement this differently, and that's annoying for compiler-portability. I don't keep track of what's the standard anymore, I just always declare variables outside the for now.

I think the current C++ standard is to limit the scope to the for loop, but that the original C++ didn't.

Also, the biggest difference between C and C++ when it comes to variable declarations is that in C, you may only declare variables at the beginning of a scope. There's probably a better way of saying that since any variable's scope will start where it's declared... Basically though, if you want to declare more variables partway down a function in C, you need to add some { } to create a scope for them.
Title: Re:/me if anyone cares
Post by: AC_Drkan on May 09, 2004, 08:04 AM
I have Pylonhosting now :P

angelclan.pylonhosting.com

no free domains though

i am about to switch to www.1and1.com