Hello everybody
-
- Posts: 11
- Joined: Wed Nov 14, 2007 4:48 am
Hello everybody
Lo mates! I'm new to OSDev, and even programming in general. I'm here because a good friend of mine, matthew (you know him as pcmattman) heard that i wanted to start doing C and C++. i believe the conversation went something like this.
"If the school makes me do one more program thats executing a simple mathematical formula i'm going to stab somebody. I'm just going to move to the fun bits and program over the holidays."
"Ooh, go to OSDev and post there telling them you're a newbie, they'll give you all sorts of awesome tuts and assistance. Also mention that you have cygwin. Don't say anything about VB." (too late =D)
So here i am, looking to skip the "hello world" and "foo+bar" programs for something thats still really easy, but still containing some sort of brain usage.
Also, pleased to meet you in advance
"If the school makes me do one more program thats executing a simple mathematical formula i'm going to stab somebody. I'm just going to move to the fun bits and program over the holidays."
"Ooh, go to OSDev and post there telling them you're a newbie, they'll give you all sorts of awesome tuts and assistance. Also mention that you have cygwin. Don't say anything about VB." (too late =D)
So here i am, looking to skip the "hello world" and "foo+bar" programs for something thats still really easy, but still containing some sort of brain usage.
Also, pleased to meet you in advance
Shadyjames wrote:If my calculations are accurate, than 76% of the awesomeness in this room has emanated directly from us
pcmattman wrote:Tomorrow lets try for 85
Well welcome.
So you want to skip hello world. I know exactly how you feel, but it might not be as easy as one should think.
One of my biggest problems has been that i want to create something usefull and even better something that nobody has done before!
It is somewhat tough though. First of all i have an imagination equivalent to that of an ant.
If i should come up with something its either to complex for me and my limited intelligence or i lag the experience and knowledge to do it.
I think i have like a 1000 half finished projects which i know will never be done. That is what happens when you skip the hello world stage.
Still i will do what i can to help. Good luck
So you want to skip hello world. I know exactly how you feel, but it might not be as easy as one should think.
One of my biggest problems has been that i want to create something usefull and even better something that nobody has done before!
It is somewhat tough though. First of all i have an imagination equivalent to that of an ant.
If i should come up with something its either to complex for me and my limited intelligence or i lag the experience and knowledge to do it.
I think i have like a 1000 half finished projects which i know will never be done. That is what happens when you skip the hello world stage.
Still i will do what i can to help. Good luck
This was supposed to be a cool signature...
hey, welcome!
yea, once you've seen the 'hello world' tut once, you NEVER want to see it again... bleh. =)
personally, before I jumped into OS devving, I used to make cryptographic software. If you don't wanna do OS development, a great way to excercise your brain and become a better programmer, is (in my opinion) develop some encryption/decryption software to keep safe your file or secure transmission between two parties.
or better yet, develop a program that counter-acts Cruzer's U3 technology so that it doesnt install shiz and auto run whatever is there automattically... but that's just my own thought.
yea, once you've seen the 'hello world' tut once, you NEVER want to see it again... bleh. =)
personally, before I jumped into OS devving, I used to make cryptographic software. If you don't wanna do OS development, a great way to excercise your brain and become a better programmer, is (in my opinion) develop some encryption/decryption software to keep safe your file or secure transmission between two parties.
or better yet, develop a program that counter-acts Cruzer's U3 technology so that it doesnt install shiz and auto run whatever is there automattically... but that's just my own thought.
Website: https://joscor.com
As for some simpler programs to start with, may I suggest a program to compress and decompress a file with Huffman Coding? It's not very repetitive, has several elements to learn, and should keep you busy for a week or two. (Depending on whether you know what a binary tree is. )
If that's a bit too difficult, then a Brainfuck interpreter may also be in order. It should be much simpler, and require only about an hour or so. (Once again, depending on your skill level.)
Good Luck!
If that's a bit too difficult, then a Brainfuck interpreter may also be in order. It should be much simpler, and require only about an hour or so. (Once again, depending on your skill level.)
Good Luck!
C8H10N4O2 | #446691 | Trust the nodes.
-
- Posts: 11
- Joined: Wed Nov 14, 2007 4:48 am
Yeah well i do have school to attend to, and those internet randoms aren't going to shoot THEMSELVES in the head. Well, actually they do but lets not get picky. Thanks for all the suggestions! I just constructed my first huffman tree on paper (still working it, and i almost called it a "Hoffman tree" just then so I'll keep working for a while yet)
Problem is my brain still thinks in VB when i'm thinking about how to implement stuff, so i'm going to do some....practice...
Problem is my brain still thinks in VB when i'm thinking about how to implement stuff, so i'm going to do some....practice...
Shadyjames wrote:If my calculations are accurate, than 76% of the awesomeness in this room has emanated directly from us
pcmattman wrote:Tomorrow lets try for 85
Not to be discouraging, but that just brought this quote to mind :Shadyjames wrote: Problem is my brain still thinks in VB when i'm thinking about how to implement stuff, so i'm going to do some....practice...
Edsger W. Dijkstra wrote: It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration.
C8H10N4O2 | #446691 | Trust the nodes.
-
- Posts: 11
- Joined: Wed Nov 14, 2007 4:48 am
That is actually really funny. Yes, from my limited exposure to non-basic programming languages i'm beginning to realise just how brain damaging it is. EG there is no way to do multi-line comments, i am told, something that has frustrated me daily and also will make it unecessarily difficult to get back into the "thou shalt comment" habit. Before i take on some of those projects suggested - thanks again btw - i might try and reverse the "mental mutilation" as it were.It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration.
Shadyjames wrote:If my calculations are accurate, than 76% of the awesomeness in this room has emanated directly from us
pcmattman wrote:Tomorrow lets try for 85
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
What's all this stereotype and prejudice about BASIC ?!?
Basic isn't about bad programming habits, its an procedural language with a large runtime and no pointers. Its not inferior to others, only different.
And that quote is basically a logical fallacy. Besides, that guy also said the following:
--------
Basic isn't about bad programming habits, its an procedural language with a large runtime and no pointers. Its not inferior to others, only different.
And that quote is basically a logical fallacy. Besides, that guy also said the following:
Object-oriented programming is an exceptionally bad idea which could only have originated in California.
So does assembly.EG there is no way to do multi-line comments,
--------
OS Development is an especially bad way to learn programming in. It is not a beginners subject and while we don't mind helping people find a trivial bug, repeated occasions will only get annoying. Getting Started holds a list of the formal prerequisites. It gives you an idea of what to learnI'm new to OSDev, and even programming in general.
Any language where one of the primary control transfer statements is GOTO, and is actually used in code, is a Bad Thing. And this comes from someone who started coding at the age of 7 in ZX spectrum BASIC, onto FASTBasic on the ATARI ST then (a little bit of) visual basic. It's a horrendous language.