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

[Tutorial] Introduction to programming using C (VII)

Discuss about your favorite (gaming...or not) devices here. The most popular ones will end up getting their own categories
Programming discussions for your favorite Device
Forum rules
Forum rule Nº 15 is strictly enforced in this subforum.
User avatar
m0skit0
Guru
Posts: 3817
Joined: Mon Sep 27, 2010 6:01 pm

Re: [Tutorial] Introduction to programming using C (VII)

Post by m0skit0 » Fri Apr 05, 2013 9:38 pm

SifJar wrote:Using only pointers: declare an array of signed integers and assing it a size of 50 integers.
You're not declaring an array of signed integers anywhere ;)
SifJar wrote:Same as the last exercise but also assign positions 5, 6, and 8, and then print them.
Ok, but try to assign something printable :D
SifJar wrote:Given 2 strings of length 5, encrypt the first one using the second one using an XOR operation.
It's totally correct. They are valid characters but non-printable ones. Some characters are not meant to be printed but for operations. They are called control characters, for example \n. Some of this non-printable characters might have weird representations on most shells, since most of the control characters were designed for old terminals and are now useless.
Advertising
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"

Post Reply

Return to “Programming and Security”