Ok, so far so good.
I've read some writing about C++ and it's functions, and i feel like getting the hang of it.
So, could i write something like,
This might be like a mix up of C and C++
int a = 1000
void Setup () {
pinMode (4, INPUT)
pinMode (3, OUTPUT)
}
void loop () {
digitalWrite (3, HIGH)
delay 1000 // maybe i could replace it with the a=1000 thing that i just wrote in?:
digitarWrite (3, LOW)
delay a //like this :
while check (4) //maybe put this in somewhere:
if (4, HIGH)
a + 10
if (4, LOW)
a - 10 // or something like that:
}
Am i getting closer to, like, making a suitable program?
And it seems like there's really quite some to read about C and C++ so that will keep me busy for a while.
If you use the code-tags here in the forum your code will be much more readable

Your code - I suppose, because I don't speak it - looks like Arduino-lingo. But even there commands have to be terminated by semicolon, if I'm not mistaken.
It highlights one limitation with Arduino: the more limited number of available port pins. In the AVR controllers many pins have a magnitude of different possible functions - not all of which are available in the Arduino environment.
Let us take the medium-sized controller from your list, the Attiny2313 (hopefully this image will stay around):

The pins are grouped in three general purpose ports: A, B, and D. Where is C? Well, not in this device!
Each of these pins can be declared and used as input and output, which is controlled by the individual bits in a binary number which you store in a variable called DDRx (data direction register, x stands for A/B/D). A
1 at a certain position will declare the corresponding pin as output, a
0 as input.
Having declared a pin as an output you will be able to change its level from LOW to HIGH by setting the corresponding bit in the variable PORTx to
0 or
1.
Let's declare pin 12 to 19 on the package as outputs, i.e. the whole port B:
DDRB = 0b11111111;Yes, you can write binary numbers directly! Otherwise you could also have written
DDRB = 0xFF; // in hexadecimalor
DDRB = 255; // in plain old human decimalNow you could attach 8 LEDs to the eight port pins, each with a small ~330 ohm series resistor. Connect one resistor to each port pin, the anode (positive lead) of the LED to the other end of the resistor and the cathde (negative lead) of the LED to GND.
The following small code snippet - when placed in a slightly bigger context - would count binary from 0 to 255 on the LEDs:
uint8_t i = 0; // declare an unsigned integer, 8-bit variable, initialize to 0
while (1) // infinite loop
{
PORTB = i; // push variable's value to port pins
_delay_ms(100); // give it a small delay
i = i + 1; // for clarity I am not using shortcuts here
}
Back to your code, in pure-C it could look something like this:
#define F_CPU 1000000UL // tell the compiler about the 1 MHz clock
#include <avr/io.h> // standard input/output definitions
#include <util/delay.h> // time delay functions
// int a = 1000
uint16_t = 1000; // better choose _exactly_ the type you want
void init (void) // declare a function for initialization
{
DDRB = 0b00001000; // setting pin PB3 as output, everything else as input
}
int main (void)
{
PORTB = 0b00011000; // setting PB3 to HIGH level, activating pull-up on PB4
_delay_ms(1000); // wait 1 sec
PORTB = 0b00010000; // setting PB3 to LOW, keeping pull-up on PB4
_delay_ms(a); // wait (a) milliseconds
if (PINB & 0b00010000)
{
if (a < 5000) // limit wait-time to 5 sec
{
a = a + 10;
}
}
else
{
if (a > 10) // avoid under-flow
{
a = a - 10;
}
}
}