Having fun with C (so far)

View attachment 94594
That code is pretty simple but hey, i'm just slowly going onto the "advanced" track.
scanf commands allows for keyboard reading and stuff.
printf displays commands on screen.
if and else commands.
chars, float, unsigned char etc.

Well, overally it's fun.
I'm following a book and so far i coded: Simple Hello World, your age in 420 months and stuff i forgot.
And yeah, C is fun. Everything which isn't javascript is fun.
See ya in next blog post!
  • Like
Reactions: 6 people

Comments

F
@blujay welcome to gb-i mean linux elitist forums
 
G
>doesn't understand my comment at all

I'm not for or against either, and I use Linux as well, so I mostly use terminal when I can. For things like practicing some C, I just want quick and easy.
 
Hahaha it's actually kinda funny - if only this site would acknowledge my unfollow and stop notifying me I wouldn't be here xD

Anyway it's nice to see you code at all and I hope you get somewhere with it Felek, I really didn't mean to "trash" you here, nor were my points even targeted towards you to begin with here.
 
  • Like
Reactions: 3 people
V
What? I was showing that, nobody is trashing OP
 
@VinLark "Visual Studio is on Linux though?"

Visual Studio Code isn't Visual Studio. It's an overglorified JavaScript editor (based on Electron) that eats up RAM and CPU time.
 
  • Like
Reactions: 1 person
Try
Code:
char * variable = malloc(256);
fgets(variable, 255, stdin);
and convert it to int
The 255 in fgets is intentional, as it does include the terminating byte of the string
 
F
@Pokem Marek Tłuczek Programming in C language.
Unsure if it's in English.
 
G
But you tagged him instead of Pokem
 
F
It's almost 0:00, excuse me for not thinking.
D:
 
G
I hate most scripting languages because they seem to dumb down everything, and then changing to a programming language renders you helpless with certain things the scripting language shortcuts.
 
  • Like
Reactions: 1 person
I never really liked Code::Blocks much, not sure why.
I guess I prefer Visual Studio because of the powerful GUI toolkit and editor.
Also had a go at Dev-C++ which was OK just a bit too barebones.
But eh, I use Visual Studio for all my C# stuff and first started using it back in the VB6.0 days. So I'm pretty much familiarized with most of the IDE and see no reason to switch.
Nevermind that I hardly use C/C++ to begin with.
 
  • Like
Reactions: 1 person

Blog entry information

Author
Felek666
Views
355
Comments
87
Last update

More entries in Personal Blogs

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    @mthrnite, Cheetah Girls, the sequel to Action 52's Cheetah Men.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Pokemon Black I played that one a lot
  • K3Nv2 @ K3Nv2:
    Honestly never messed with Pokémon on ds much
  • mthrnite @ mthrnite:
    I played pokemon once, was bored, never tried again
  • Psionic Roshambo @ Psionic Roshambo:
    Oh Dragon Quest IX
  • K3Nv2 @ K3Nv2:
    Spent like 5 hours on switch one never touched it again
  • Psionic Roshambo @ Psionic Roshambo:
    Sentinel of the stary skies
  • K3Nv2 @ K3Nv2:
    Ds is 20 years old this year
  • Psionic Roshambo @ Psionic Roshambo:
    So MJ no longer wants to play with it?
  • K3Nv2 @ K3Nv2:
    He put it down when the 3ds came out
  • SylverReZ @ SylverReZ:
    @K3Nv2, RIP Felix does great videos on the PS3 yellow-light-of-death.
  • Jayro @ Jayro:
    Eventhough the New 3DS XL is more powerful, I still feel like the DS Lite was a more polished system. It's a real shame that it never got an XL variant keeping the GBA slot. You'd have to go on AliExpress and buy an ML shell to give a DS phat the unofficial "DS Lite" treatment, and that's the best we'll ever get I'm afraid.
    +1
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
    Veho @ Veho: