Advertising (This ad goes away for registered users. You can Login or Register)

Read This First: Learning How to Program

Forum rules
Forum rule Nº 15 is strictly enforced in this subforum.
0xB16B00B5
Posts: 10
Joined: Tue Jul 24, 2012 6:11 am

Re: Read This First: Learning How to Program

Post by 0xB16B00B5 » Fri Jul 27, 2012 12:51 pm

m0skit0 wrote:
0xB16B00B5 wrote:I'm trying to get better at C. Can anyone point me toward a good place to exercise?
I can't learn anything unless I do hands-on work.. I've tried pretty much everything.
Check this. Even if you feel like you already know this, try at least to make the proposed exercises. Most people find out they don't know as much as they think ;)
Any more.. beginner-friendly exercises?
Advertising

User avatar
m0skit0
Guru
Posts: 3817
Joined: Mon Sep 27, 2010 6:01 pm

Re: Read This First: Learning How to Program

Post by m0skit0 » Fri Jul 27, 2012 2:00 pm

Looks like you didn't explore those tutorials enough. They're geared to total beginners and they have quite a few exercises (from character strings chapter onwards). That said, I strongly suggest you reading it from the beginning.
Advertising
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"

0xB16B00B5
Posts: 10
Joined: Tue Jul 24, 2012 6:11 am

Re: Read This First: Learning How to Program

Post by 0xB16B00B5 » Fri Jul 27, 2012 2:18 pm

It's kInd of problemetic. Reading doesn't get anything into my head. Unless I work alone and try to figure stuff on my own, nothing will get inside of my head.

I'll read them again and hope for better rsults.. I'm not very optimistic though.

User avatar
m0skit0
Guru
Posts: 3817
Joined: Mon Sep 27, 2010 6:01 pm

Re: Read This First: Learning How to Program

Post by m0skit0 » Tue Jul 31, 2012 7:32 am

You cannot learn programming by reading. You have to practice. Also do not copy-paste code. Copy it manually.
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"

User avatar
internally-Blazed
Posts: 108
Joined: Fri Mar 15, 2013 9:17 am

Re: Read This First: Learning How to Program

Post by internally-Blazed » Fri Mar 15, 2013 9:35 am

C right then thanks!

Im a computer scientist myself! Just learnt java, php, html and xml. This summer i'm going to look into C and C++.
Im a dragon in the scene. I've modded everything i can get my hands on :)

Learning C for the vita :)

GhostHound02
Posts: 17
Joined: Mon Apr 15, 2013 5:29 pm

Re: Read This First: Learning How to Program

Post by GhostHound02 » Sat May 11, 2013 3:55 pm

ultimakillz wrote:Please note that many of these statements are opinions of the author(s).

C Programming Tutorials - from http://www.cprogramming.com
hey thanks, i'm following that site lessons:

i'm here:
http://www.cprogramming.com/tutorial/c/lesson2.html

where it says:

Code: Select all

3 <= 4 is TRUE
Am i high or that is false?
--

User avatar
Xian Nox
Retired Mod
Posts: 2749
Joined: Fri Nov 05, 2010 5:27 pm
Location: Over the hills and far away

Re: Read This First: Learning How to Program

Post by Xian Nox » Sat May 11, 2013 4:35 pm

Is 3 smaller or equal to 4? *looks at fingers* 1, 2, 3, 4. There, should be true.

GhostHound02
Posts: 17
Joined: Mon Apr 15, 2013 5:29 pm

Re: Read This First: Learning How to Program

Post by GhostHound02 » Sat May 11, 2013 5:00 pm

Xian Nox wrote:Is 3 smaller or equal to 4? *looks at fingers* 1, 2, 3, 4. There, should be true.
I don't get it.
we are saying 2 things.
that 3 is is smaller than 4. which is true. but also saying that:
3 = 4, which is false.

see what i mean?
--

User avatar
Xian Nox
Retired Mod
Posts: 2749
Joined: Fri Nov 05, 2010 5:27 pm
Location: Over the hills and far away

Re: Read This First: Learning How to Program

Post by Xian Nox » Sat May 11, 2013 5:53 pm

nconde25 wrote:
Xian Nox wrote:Is 3 smaller or equal to 4? *looks at fingers* 1, 2, 3, 4. There, should be true.
I don't get it.
we are saying 2 things.
that 3 is is smaller than 4. which is true. but also saying that:
3 = 4, which is false.

see what i mean?
It's not smaller and equal, it's smaller or equal. One of the statements needs to be true for the entire expression to be true.

GhostHound02
Posts: 17
Joined: Mon Apr 15, 2013 5:29 pm

Re: Read This First: Learning How to Program

Post by GhostHound02 » Sat May 11, 2013 7:44 pm

Xian Nox wrote:
nconde25 wrote:
Xian Nox wrote:Is 3 smaller or equal to 4? *looks at fingers* 1, 2, 3, 4. There, should be true.
I don't get it.
we are saying 2 things.
that 3 is is smaller than 4. which is true. but also saying that:
3 = 4, which is false.

see what i mean?
It's not smaller and equal, it's smaller or equal. One of the statements needs to be true for the entire expression to be true.
lol right my brain just got stuck for a moment, all good now xD ty
--

Post Reply

Return to “Programming and Security”