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

More entries in Personal Blogs

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Goku likes to flip the bean to get others healthy