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

More entries in Personal Blogs

General chit-chat
Help Users
  • realtimesave @ realtimesave:
    jdhello
  • realtimesave @ realtimesave:
    @SylverReZ that guy seriously spent over 2 grand on that hot wheels pc?
    +1
  • RedColoredStars @ RedColoredStars:
    LTT is a noob
  • RedColoredStars @ RedColoredStars:
    Guy doesnt know wtf hes talking about half the time
  • realtimesave @ realtimesave:
    @SylverReZ that reminds me that my friend sells CRTs he gets cheap or free for hundreds of dollars. people are dumb
    +1
  • RedColoredStars @ RedColoredStars:
    And is incredibly annoying.
  • realtimesave @ realtimesave:
    man I just washed my shoes and they look exactly the same as before I washed them :|
  • realtimesave @ realtimesave:
    luckily they didn't fall apart
  • RedColoredStars @ RedColoredStars:
    Some CRTs are very much worth the price
  • RedColoredStars @ RedColoredStars:
    i used to go out to the recycling center every couple weeks and look at the crts and other electronics people would drop off. Usually screens were broken or severely scratched from being tossed around. Did find a good one here and there, but never anything like a 1080i widescreen crt.
  • RedColoredStars @ RedColoredStars:
    Or a good contition 40" Sony Trini that weighs 300 lbs. lol
  • RedColoredStars @ RedColoredStars:
    Literally 300 lbs. lolol
  • BigOnYa @ BigOnYa:
    I have a few of those boat anchors in my basement I tried giving away but no one wanted them, So anyone close to Columbus, Ohio area that wants them, (26", 2x 19") please come get, for free.
  • RedColoredStars @ RedColoredStars:
    Dont know anyone wants those smaller ones. Most are after larger sizes and the kinda top of the line models
  • RedColoredStars @ RedColoredStars:
    Motion handling and input lag on those things destroy plasmas, led, oled
  • realtimesave @ realtimesave:
    I had some really nice CRTs I should've kept
  • realtimesave @ realtimesave:
    now I have all lcd
  • realtimesave @ realtimesave:
    one in particular I regret getting rid of oh well :|
  • realtimesave @ realtimesave:
    the Sonys and stuff I don't care about
  • realtimesave @ realtimesave:
    and used LCD are hard to sell I can imagine.. not worth much
  • realtimesave @ realtimesave:
    @SylverReZ where do u lurk
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    Is it piracy if it was released for free? Not in my opinion, but I also think it's not piracy if buying it isn't owning it, and it's not piracy if you can't buy it from the original creators anymore.
  • K3Nv2 @ K3Nv2:
    Free release can have loopholes where they still make money through ads
    K3Nv2 @ K3Nv2: Free release can have loopholes where they still make money through ads