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
425
Comments
87
Last update

More entries in Personal Blogs

Share this entry

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Sicklyboy @ Sicklyboy:
    Thanks ken
  • BigOnYa @ BigOnYa:
    Great game. But I'd buy it straight up before paying for prime. Unless you order something everyday from amazon, not worth it imo
  • Sicklyboy @ Sicklyboy:
    I'm one of those people that Amazon loses money on the Prime subscription with
  • Sicklyboy @ Sicklyboy:
    I abuse the fuck out of it
  • K3Nv2 @ K3Nv2:
    Prime says I've already saved $400 this year lol
  • Sicklyboy @ Sicklyboy:
    Where do you see how much you've saved?
  • K3Nv2 @ K3Nv2:
    Under orders
  • BigOnYa @ BigOnYa:
    See maybe good for you guys, but I don't hardly ever order from amazon, maybe only couple times a month
  • K3Nv2 @ K3Nv2:
    Primes great because I stopped getting into arguments with the door greeter at Walmart
  • Sicklyboy @ Sicklyboy:
    hahahahaha
  • K3Nv2 @ K3Nv2:
    They see me so much in there they don't even ask for me receipt anymore tbh
  • Sicklyboy @ Sicklyboy:
    Pain in the ass, don't see it anywhere on the desktop site, had to pull it up on my phone
  • K3Nv2 @ K3Nv2:
    Think they gave up on the website and mainly focus on the app
  • Sicklyboy @ Sicklyboy:
    Desktop site > mobile site > mobile app
  • Sicklyboy @ Sicklyboy:
    Mobile app is such absolute dogshit, I haven't used it in SO long
  • K3Nv2 @ K3Nv2:
    Yeah mobile versions better people don't think about how apps are just shrunken down websites
  • K3Nv2 @ K3Nv2:
    Could be the phone connection etc I've mostly been fine with the app
  • K3Nv2 @ K3Nv2:
    Regardless fuck bezos
    +1
  • Sicklyboy @ Sicklyboy:
    Agreed. Crazy how both seeking a job at Amazon, and subsequently quitting Amazon, are both some of the best decisions I've ever made
  • K3Nv2 @ K3Nv2:
    Did someone loose a leg? You're fired
  • K3Nv2 @ K3Nv2:
    Ffs 55gb patch for hogwarts legacy
  • SylverReZ @ SylverReZ:
    @K3Nv2, Teslas are prob running Windows XP to this day.
    SylverReZ @ SylverReZ: @K3Nv2, Teslas are prob running Windows XP to this day.