Page 3 of 8

Posted: Mon Sep 12, 2005 2:43 pm
by {Nathan}
since the awakened seems to have it covered, i will pick up where he left off when he stops writing them, plus I do not know a lot of c++, but I do know some and am still learning it, plus, now that I finally got me laptop fixed (for the 5th time) I can do more.

Posted: Mon Sep 12, 2005 4:44 pm
by Zamaster
60k!

Posted: Mon Sep 12, 2005 4:47 pm
by {Nathan}
Zamaster wrote:60k!
thats just crazy... I cant wait for it!!! its gonna be soooo cool.

Posted: Mon Sep 12, 2005 5:41 pm
by Zamaster
Thanks! It is, I cant wait myself!

Posted: Tue Sep 13, 2005 11:17 pm
by DrV
I saw Pete's request for additional articles for the next QB Express, so -- any last-minute article requests, anyone? I could probably hack something together in the remaining days if it's something I'm well-versed in... I might even consider doing a game review if I can find a complete game that runs on my WinXP box without trouble. :) I'm currently too lazy/uncommitted/busy with other things to decide on an article myself, but if someone else tells me to do it, I'll be more likely to get it done. :D

Posted: Wed Sep 14, 2005 7:05 am
by MystikShadows
DrV,

How about some low level DOS related tutorial? Like on what you're working on now? VESA graphics or other DOS specific material? in FreeBasic of course.

Posted: Wed Sep 14, 2005 10:28 am
by Pete
DrV wrote:I saw Pete's request for additional articles for the next QB Express, so -- any last-minute article requests, anyone? I could probably hack something together in the remaining days if it's something I'm well-versed in... I might even consider doing a game review if I can find a complete game that runs on my WinXP box without trouble. :) I'm currently too lazy/uncommitted/busy with other things to decide on an article myself, but if someone else tells me to do it, I'll be more likely to get it done. :D
How about a review of Poxie by Lachie Dazdarian? It just came out, and it's a really fun game.

http://www.freebasic.net/forum/viewtopic.php?t=1211

And if DrV doesn't want to write it, anyone else can. (We can even have multiple reviews of the same game in the same issue. It's always nice to get more than one person's take on a game.)

Posted: Thu Sep 15, 2005 11:12 pm
by DrV
I'm on it! :)

Mystik: I might get around to one of those too if I find myself being lazy and doing nothing tomorrow. :wink:

Posted: Fri Sep 16, 2005 2:21 am
by Pete
Just FYI, Adigun A. Polack just wrote a review of Poxie. But that doesn't mean stop your review. I'd be glad to publish a second one!

Posted: Fri Sep 16, 2005 2:54 am
by DrV
That's cool; you've got mail. :) (Shouldn't you be in bed? Wait, shouldn't *I* be in bed? :lol: )

Posted: Fri Sep 16, 2005 8:56 am
by Pete
Thanks a lot!

Great job on the review. It's always nice to have a counter-voice to AAP's excessive amount of praises with no criticism whatsoever. I think he misses the point of a review a lot of the time.

Posted: Fri Sep 16, 2005 1:43 pm
by {Nathan}
Pete wrote:Thanks a lot!

Great job on the review. It's always nice to have a counter-voice to AAP's excessive amount of praises with no criticism whatsoever. I think he misses the point of a review a lot of the time.
Lol!!! :lol:

Posted: Sat Sep 17, 2005 12:42 am
by The Awakened
Well, I was only able to type up what I had of my tutorial. I've been fairly busy lately, (school in the day, go home, quickly eat, go to work till 8, driver training till 10, homework) leaving little time to write. But I got the following topics covered:

-Printing and inputting from the console
-variables and arrays
-control statements (QB equivilents of If Then and Select Case)
-loops
-functions

Next month I will have a separate Object Oriented Programming tutorial, and then C++ for the Basic Progger part 2 in the same issue. It'll discuss files, pointers, libaries, and all aspects of OOP (lots to cover there).

I also hope to have my mode X tutorial finished. I've been trying to optimize it, and it's giving me huge problems... I'm not going to release a tutorial that'll cause bugs.

Posted: Sat Sep 17, 2005 11:08 am
by {Nathan}
OOP: sweet. I sorta get lost whenver I read a class tutor.

Posted: Sat Sep 17, 2005 1:13 pm
by The Awakened
Holy frig, tell me about it. It took like 5 tutorials and 3 books before I finally got all of it. Most of what I learned came from C++ for Dummies, but Polymorphism still baffled me. I bought Java for Dummies as well, and it explained it quite well, although I gotta read up on how C++ does polymorphism, because it's different from Java (Java automatically makes every class a polymorphic class).

And once you learn what you can do with it, you start thinking "oh man, if only I could do that with QB/FB!"

I like being able to write about things in relation to Basic, because it's easier to explain a more abstract thing.

Just to tide you over till the next issue, Nathan, here's a short explanation of classes. Classes are like the TYPE...END TYPE clause in QB. Except they can have subs and functions. Variables, subs and functions are referred to as members. (insert Peter Griffin laugh). Member functions and subs can also be referred to as methods. Members can be public, protected, and private. (More Peter laugh.) Public means that any part of your program can access that member. Protected means that only that class can access it. Private I'm not sure about.

The whole point of object oriented programming is to create an "interface" to which you can easily assemble your programs with (Encapsulation). One technique OOP proggers have come up with are "getters" and "setters". Since you want an easily useable interface for your classes, you don't want to have to worry about changing a value in the middle of your program to a value that will crash your program. So you set your important variables to protected, and then you make a member function called "GetVariable" and one called "SetVariable". (except you change the name of the variable, obviously.) In here, you make it so that an illegal value can't be set.

Inheritance is where you make another class that gets all of the members of another class, and then you add some other things. So in a game, you could have a class called "object" with all of the things you'd need. And then you could have the class "NPC" inherit all of the things an object has, and then add things like movement and whatnot.

But maybe the class "object" had a method in there that didn't quite do what you wanted with the NPC class. But the problem is, you've already written half your program, and the method has already been called a billion times. So you declare the original class (in this case, object) a polymorphic function, and then write the new member class, and use the same name of the function.

Abstract? Yes, but I will hopefully better expain it in detail in the tutorial.

Article

Posted: Mon Sep 19, 2005 8:09 pm
by QBGV
Can I write a tutorial on making your own freeware spyware scanner :lol: (really).

Posted: Mon Sep 19, 2005 8:26 pm
by MystikShadows
Hey, if you have the know how, I'd like to read a tutorial like that for sure. :-).

Posted: Tue Sep 20, 2005 7:50 am
by {Nathan}
Yeah... and how about a tutorial on how to MAKE spyware.

Article Requests

Posted: Tue Sep 20, 2005 3:15 pm
by QBGV
Actually, I am gonna right a GUI tutorial. With a spyware app included.

Code: Select all

'''Spyware Code
This post has been modified by Pete for safety purposes.
:lol: Just kidding!

BTW

Posted: Tue Sep 20, 2005 3:24 pm
by QBGV
I meant spyware scanning ap, but it's simple. Filename spyware finder.

Code: Select all

shell "dir C:\ /s>scanfiles.dat"
open "scanfile.dat" for input as #1
do while not eof
input #1,j$
j$=lcase$(j$)
if left$(j$,12)="anticmos.bin"  then
color 4
print "AntiCMOS spyware detected!"
shell "del"+j$
color 7
print "AntiCMOS.bin deleted"
end if
loop
sleep 1
cls
print "Scan Complete!"

The GUI article will be an intro to my series!

:D