PDA

View Full Version : On Finding Learning Manuals


Evad
23-03-2005, 05:22 PM
Don't know the policy on this here, if this oversteps any bounds please feel free to erase this post, but i have found numerous manuals on p2p, by simply looking under documents for anything relating to "programming" I've also found a text book on ninjitsu and teach yourself guitar, there is a weath of info out there, just be sure to virus check it all.

Kon-Tiki
23-03-2005, 05:45 PM
As long as they're not illegal copies of sold books, and are officially released for free, then there's no problem. We don't support illegal copies of books, and will take proper actions if we see such things. For free books... well... share the wealth :D

NrmMyth
23-03-2005, 05:50 PM
Free books...P2P??
Ha-ha-ha (sceptic)

Kon-Tiki
23-03-2005, 05:55 PM
You never know :sneaky:

NrmMyth
23-03-2005, 06:31 PM
Originally posted by Kon-Tiki@Mar 23 2005, 06:55 PM
You never know :sneaky:
I ment that also. :sneaky: (I find hard to express on non mother language :ranting: )
And I have lots of "free books" on my comp. :twisted:

:ot:
@Kon-Tiki
When we are already discussing P2P - IYO what is the best/fastest P2P "tool".

Evad
23-03-2005, 07:25 PM
I'm using ares at the moment, its quite good imo.
i messed with bittorrents a while back, but i found them unreliable at best, but when they worked....wowoie!! :w00t:
kazaa sucks bum bum imo. even light kinda bites.
i've tried a few others...the donkey one(whatever its name was) and it sucked.

Kon-Tiki
23-03-2005, 08:27 PM
Well, stay away from any Kazaa. Those're spyware fests, no matter how 'light' they call themselves. Same goes for eDonkey and quite alot of other P2P programs. I myself use eMule. It can be a pain when you can't get High ID, but if you have that, it's 'bout 80% chance that you get stuff in. Aside from eMule, I like torrents too, although sometimes you end up with massive uploads and not a single byte download, which sucks arse.

NrmMyth
23-03-2005, 09:19 PM
I knew that kazaa is no good. Also thanks.
What about shareaza?

Evad
23-03-2005, 09:22 PM
Hey Kon-tiki, this is kinda off the subject i started but,
I just started programming, and I've done the first program, the "hello world!" one, and it compiled without errors; however, it flashes on and off my screen so fast i can't read it.
i tried:


return1;
}

to end it hopeing it would make a difference, but I don't understand this even.

i also tried running it in dosbox...tisk tisk..but it didn't work(probably the first thing you thought as you read this LOL. if you could explain to me the difference between return functions (0-1-2....ect) and how i can make my program pause on the screen so i can read it and get some feeling of actual accomplishment i would be grateful.
thanx in advance.
Evad (the terrible)

Kon-Tiki
23-03-2005, 09:27 PM
Never heard of that, and didn't see it in this list (http://www.benedelman.org/spyware/p2p/), either. Then again, that one's highly incomplete.
...
According to this article (http://www.spywareinfo.com/articles/p2p/), Shareaza's clean. Doesn't mean you shouldn't be careful, though.

Kon-Tiki
23-03-2005, 09:32 PM
Evad, you'll need to manually pause the program. If you'd run it in a Dos shell (Start->Programs->MS Dos Prompt under Win98SE), it'd show properly. Otherwise, you'll have to put two gets in there. I forgot which one exactly, but just anything that asks for any key'd be fine, really. Could also try a system.pause, if I'm not mistaken. It's been a while since I had to fix such a problem, so I kinda forgot the exact commands, but those're close enough to figure it out :ok:

Evad
23-03-2005, 09:37 PM
ok, that makes perfect semce, could you give me the cammond on how to include a command key pause function(don't know if thats right terminology.) thanx again.

NrmMyth
23-03-2005, 09:40 PM
Originally posted by Evad@Mar 23 2005, 10:22 PM
Hey Kon-tiki, this is kinda off the subject i started but,
I just started programming, and I've done the first program, the "hello world!" one, and it compiled without errors; however, it flashes on and off my screen so fast i can't read it.
i tried:


return1;
}

to end it hopeing it would make a difference, but I don't understand this even.

i also tried running it in dosbox...tisk tisk..but it didn't work(probably the first thing you thought as you read this LOL. if you could explain to me the difference between return functions (0-1-2....ect) and how i can make my program pause on the screen so i can read it and get some feeling of actual accomplishment i would be grateful.
thanx in advance.
Evad (the terrible)
First of all write us a code (or attach it) so we can help you.

In what language are you programming?

From just reading the code i thing you are doing C.
...and how i can make my program pause on the screen so i can read it and get some feeling of actual accomplishment i would be grateful.
At the end of your code put any inputing function,

"Return" returns a value of the function to the that calling function.
I could explain this more if you need?

For beginners problems try "Exams" topic under programming.

Kon-Tiki
23-03-2005, 09:42 PM
It might be interesting to hear what the return 0 does in the main function, as it's got no other function inside the program to return anything to.

Evad
23-03-2005, 09:46 PM
#include <stdio.h> (

main()
{
printf("Hello, world!\n");
return 0;
}

yes please go over return some more ......
so reture cycles back to beginning? is it like a finnishing command?

NrmMyth
23-03-2005, 09:47 PM
It returns zero(0) to the calling system in way saying that it exited properly.

Evad
23-03-2005, 09:48 PM
ok sorry, what is a calling system?

NrmMyth
23-03-2005, 09:54 PM
My best advice is to get a book on progamming in your language.

As for...
#include <stdio.h>
#include <conio.h> */* this is only DOS library*/

main()
{
* *printf("Hello, world!\n");
* *getch(); /* your program will wait for a signal before exit/return 0 */
* *return 0;
}

In main(void) you could understand the return as exit function.

Evad
23-03-2005, 09:57 PM
ok so:

getch(); /*

will make a program pause untill a keyboad key is touched?

NrmMyth
23-03-2005, 10:01 PM
Exactly!
You don't have to use /* blah,blah */ it is a comment that compiler will jump over it.
It means that something in /* */ won't do the difference in program.

REPEAT:
"My best advice is to get a book on progamming in your language.
For beginners problems try "Exams" topic under programming."

Kon-Tiki
23-03-2005, 10:02 PM
Or check the tutorials thread =P

Evad
23-03-2005, 10:04 PM
cool, ok thanck you for your time guys, this was a big help. :bye:

NrmMyth
23-03-2005, 10:05 PM
You have to understand that you are not annoying but you lack the basis of the language.
Best way is to learn trough a book (e-book) or tutorials. For both, there are links on this part of the forum. :ok:

Then ask us the details.

Evad
23-03-2005, 10:10 PM
yeah i know, but i'm so lazy LOL, i just thought it would be better to pick your brains for the info, i hate books hehe :D

NrmMyth
23-03-2005, 10:12 PM
Then do tutorials. :bleh:

Evad
23-03-2005, 10:17 PM
yeah, I'll learn eventually, i'm just glad there is a site where people respond to questions, its nice to know you can get info from experienced programmers. thanks again.

NrmMyth
23-03-2005, 10:23 PM
Experienced?! LOL
Where are they...
For me i do programming for about a year and a half. I love it, becouse it will be my future job. All I know i learned from books and "Abandonia". So don' think I know something "powerful of magic". :crazy:

Kon-Tiki is an another story. :max: (in a good way)

Ask anytime someone will for sure respond.

:ot:
Edit your profile so we know more about you.

Jim6
25-03-2005, 12:17 AM
Hey ; what does the "getch()" function do, and which of the two libraries is it in?

Also: What did you mean by "this is only DOS library"?

More: Actually, I've partially answered my own questions:

It's in conio.h; is this a library of system commands for DOS?

NrmMyth
25-03-2005, 08:04 AM
Originally posted by Jim6@Mar 25 2005, 01:17 AM
Hey ; what does the "getch()" function do, and which of the two libraries is it in?

Also: What did you mean by "this is only DOS library"?

More: Actually, I've partially answered my own questions:

It's in conio.h; is this a library of system commands for DOS?
Yes you did. :ok:

:ot:
@Evad
I'm glad to find a new face at programming forum.

Evad
26-03-2005, 01:07 AM
Hey its good to be here. Thanx NrmMyth, and thanks Kon-tiki.
BTW, I picked up a book on programming. It's by a guy called Andre Lamothe,
called "Tricks of the Windows Game Programming Gurus." The only thing is it's a little advanced for me. In this book the author suggests a book called "Sams teach yourself game programming in 21 days." Anyone ever read this one? is it good?

Jim6
26-03-2005, 01:23 AM
Read the books thread!

http://www.abandonia.com/forum/index.php?showtopic=4010

btw - that sounds like quite a poor book to get started on; go for the 21 day ebook. Aside from that, there's only one way to learn: Do!

Try some from the "Exams" thread when you feel up to it.

Kon-Tiki
26-03-2005, 01:25 AM
Lamothe? Care to give me a legal copy? :D As for Sam's Teach Yourself Game Programming in 21 days... got the one in 24 hours, and it's fairly advanced. It skims over Win32API programming too quickly to fully understand the rest of the lessons. Those Sam's books're good though, and I suggest getting one of those, that say: "Sam's Teach Yourself C/C++ Programming In <time period>" first.

Evad
26-03-2005, 03:29 AM
Just to sum up what I learned here, if you find that your first program flashes on and off the screen before you can read it:

//Hello world program with pause feature.

#include <conio.h> //include to use "getch();"

#include <iostream> //Basic input output stream.

main() {

printf ("Hello world!"); //display words on screen.

getch (); //pause command included in conio.h.

return 0; }

NrmMyth
26-03-2005, 09:42 AM
Originally posted by Evad@Mar 26 2005, 02:07 AM
Hey its good to be here. Thanx NrmMyth, and thanks Kon-tiki.
BTW, I picked up a book on programming. It's by a guy called Andre Lamothe,
called "Tricks of the Windows Game Programming Gurus." The only thing is it's a little advanced for me. In this book the author suggests a book called "Sams teach yourself game programming in 21 days." Anyone ever read this one? is it good?
I have "not legal" (doesn't mean it's illegal) "Sams teach yourself game programming in 21 days" e-book. Never read it couse I hate to read from monitor (call me old fashioned). :bleh: