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

More entries in Personal Blogs

  • 4: Reddit
    Finally, number 4! Never thought this day would come, did you? Uhh...
  • books
    1. I am cool as hell, have one million dollars 2. I am banned from...
  • Syncthing is fun!
    Having been kinda active in an Android forum I quickly got sick about...
  • Feeling at home here
    Not much to say this time. I'm depressed. Like almost always. Trying to...
  • I'll start, rate mine 1-10
    It's a very mixed bag, some rock, some rap, some video game music, a...

Share this entry

General chit-chat
Help Users
  • No one is chatting at the moment.
  • HiradeGirl @ HiradeGirl:
    I got stuck in some part.
  • HiradeGirl @ HiradeGirl:
    Anyone played that game?
  • Sicklyboy @ Sicklyboy:
    Only one I played was the DBZ trading card game game on the GBA
  • K3Nv2 @ K3Nv2:
    Sparking zero is looking pretty good but not $70 good
  • HiradeGirl @ HiradeGirl:
    okay
  • BakerMan @ BakerMan:
    isn't sparking zero supposed to be accurate to their canon power too?
  • BakerMan @ BakerMan:
    meaning unlike dbfz a weaker character like nappa wouldn't stand a chance against someone stronger like broly
  • BakerMan @ BakerMan:
    aaalllright then, i guess i should hit the hay
  • K3Nv2 @ K3Nv2:
    People are complaining about flying in it I'm like wut that's half of what it is
    +1
  • BigOnYa @ BigOnYa:
    Surprise surprise, @HiradeGirl is back today
  • BigOnYa @ BigOnYa:
    Alright @SylverReZ you win, lets go double or nothing.
  • cearp @ cearp:
    good morning
    +2
  • O @ Olqase93:
    Hi, I need help whit my r4 r4itt new please
  • AncientBoi @ AncientBoi:
    🛌 Shhhhhhh
  • DinohScene @ DinohScene:
    homebrew your DSi and forgo the flashcard with NDS bootstrap or something along those lines
    +1
  • DinohScene @ DinohScene:
    it allows utilisation of the SD card for ROM storage
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Get a 3DS and do the same 🥰
  • AncientBoi @ AncientBoi:
    Nah. Just get a 3rd [3000 series] gen PSP.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I like PSP on my Pi lol
  • Psionic Roshambo @ Psionic Roshambo:
    Gameboy Advanced SP emulator or GASP for short lol
  • RedColoredStars @ RedColoredStars:
    Finally got an appointment with an ENT, but it's not for another month. It's already been 4- days of loud ringing in my left ear, substantial pain on left side of my neck and left side on the back of my head. Doctors here at the regular clinic put me on a couple different meds for a month that did absolutely nothing, then they told me there's nothing more they can do for me despite being in pain and my ear sounding like im underwater and ringing.
  • RedColoredStars @ RedColoredStars:
    Then three chiropractor appointments which also didn't help at all so i didn't go to the 4th. Been trying to get ahold of this ENT clinic out of town for a week and finally got an appointment set up. But its not til the 17th of July so I have to suffer all this shit for nearly another month.
  • RedColoredStars @ RedColoredStars:
    I hope relief from all of this is on the way because I've felt so defeated and severaly lacking in sleep because of the pain and ringing.
    RedColoredStars @ RedColoredStars: I hope relief from all of this is on the way because I've felt so defeated and severaly lacking...