Any Tips for Getting Started with Programming?

All development related issues welcome

Moderator: Moderator Team

Post Reply
IEKnight
Posts: 9
Joined: Tue Apr 10, 2007 12:50 am

Any Tips for Getting Started with Programming?

Post by IEKnight » Thu Jun 07, 2007 5:34 am

I'm reallllllllllllllly exited about the ReactOS project (counting the days 'til 0.3.3). :D

I'd love to get into some programming, but only know BASIC (not super fluent), and a touch of C.

Can anyone reccomend a good getting started guide for C programming (preferrably for humans)?

I'd really appreciat it!


1 month til 0.3.3

kevintrooper
Posts: 549
Joined: Thu May 03, 2007 6:44 am
Location: behind you.
Contact:

Re: Any Tips for Getting Started with Programming?

Post by kevintrooper » Thu Jun 07, 2007 6:10 am

dont you mean 0.3.2?
Image
Image

IEKnight
Posts: 9
Joined: Tue Apr 10, 2007 12:50 am

Post by IEKnight » Thu Jun 07, 2007 6:24 am

Nope - they've decided to skip 0.3.2 and stick to the release schedule. Read News, "Update on ReactOS Internals".

Anyway, any ideas on the Q?

Reacter
Posts: 326
Joined: Tue Feb 06, 2007 9:57 pm
Location: Tornado Alley

Post by Reacter » Thu Jun 07, 2007 7:07 am

Google "Learn C programming language". That should launch you off. If you want to learn how to code ReactOS internals, I found some nice API guide stuff at http://msdn2.microsoft.com/en-us/library/aa383686.aspx. Good luck!
More ReactOS, please!

IEKnight
Posts: 9
Joined: Tue Apr 10, 2007 12:50 am

Post by IEKnight » Thu Jun 07, 2007 7:23 am

Cheers,

Any further help would also be appreciated.
(and by the way, I like the signature ==> Has inspired my own)
"How the hell did I get a Blue Screen of Death on XP?!"
- Windows & Me

Reacter
Posts: 326
Joined: Tue Feb 06, 2007 9:57 pm
Location: Tornado Alley

Post by Reacter » Fri Jun 08, 2007 1:04 am

Hehe... nice signature.

when you can read this, you are at least on your way:
#include <stdio.h>

int main()
{
int years = 0;
printf("Number of years: ");
scanf("%d", years);
printf("ReactOS is %d years old.", years);
return 0;
}

P.S. The only reason I changed my signature is because I just learned JS.
More ReactOS, please!

radu.bulboaca
Posts: 6
Joined: Tue Feb 27, 2007 2:13 pm
Location: Bucharest
Contact:

Post by radu.bulboaca » Fri Jun 08, 2007 8:19 am

Reacter wrote: #include <stdio.h>

int main()
{
int years = 0;
printf("Number of years: ");
scanf("%d", years);
printf("ReactOS is %d years old.", years);
return 0;
}
That should be

Code: Select all

     scanf("%d", &years); 
When you're calling scanf, you write a value at the address of the 'years' variable. That's what the & is for. A more detailed explanation here

Reacter
Posts: 326
Joined: Tue Feb 06, 2007 9:57 pm
Location: Tornado Alley

Post by Reacter » Fri Jun 08, 2007 5:45 pm

No spell checker like a human... I always do that. :oops:
More ReactOS, please!

radu.bulboaca
Posts: 6
Joined: Tue Feb 27, 2007 2:13 pm
Location: Bucharest
Contact:

Post by radu.bulboaca » Sun Jun 10, 2007 7:42 pm

How do you think I caught it? I always do that.

I only corrected you because it was recommended to a beginner, and mistakes in examples are annoying as hell.

Dirge
Posts: 2
Joined: Mon Jul 23, 2007 4:00 pm
Location: New Zealand

Post by Dirge » Mon Jul 23, 2007 4:06 pm

I see in the Beginning Development FAQ that assembly and C are used. I have learnt a little bit of Java and want to switch to a lower level language. Would it be wise to start learning C++ as its similar to C?

Z98
Release Engineer
Posts: 3379
Joined: Tue May 02, 2006 8:16 pm
Contact:

Post by Z98 » Mon Jul 23, 2007 6:06 pm

C++ is perfectly fine. You just need to realize that memory allocation is a bit different in C++ than C.

Dirge
Posts: 2
Joined: Mon Jul 23, 2007 4:00 pm
Location: New Zealand

Post by Dirge » Tue Jul 24, 2007 2:14 pm

Great thanks for the tip :)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest