RE: UNDERSTANDING DATA TYPES AND VARIABLES IN C PROGRAMMING

You are viewing a single comment's thread:

Yeah that too is there... I forgot to mention about the short commands to make comments... Ctrl + / & Ctrl + shift + /..

Particularly when using a Linux editor, I haven't tried the commands.. but // method is not accepted that's why I unconsciously skipped it.



0
0
0.000
4 comments
avatar

What editor do you use that doesn't accept it?

Vim accepts it.
ss.png

Nano accepts it.

ss.png

And so does emacs.

ss.png

I assume you are using gcc to compile and that understands it perfectly as well.

root@rishi-messaround:~/temp# gcc main.c -Wall -o main
root@rishi-messaround:~/temp# ./main
Hello, World!

What's the editor/compiler that doesn't take it, got me really curious now lol.

0
0
0.000
avatar

lol 😂🤣... My bad... Thanks for showing me this! I appreciate... I know better now

0
0
0.000
avatar

I love how colourful your editor is 😍... Mine is looking too boring for my liking. What system are you using?

0
0
0.000
avatar

I use termius and that has color support. Their paid plan has SFTP and much much more which I use daily and is 100% worth the $100/year cost.

0
0
0.000