Jussi
C# is not the best language to start with
Anonymous
C# is not the best language to start with
C and c++ Are the best languages..no one will beat them
Jussi
and C is the better of those 2 :)
Talula
C# is not the best language to start with
Maybe not if you go deep into it but it's similar to C when used normally.
Anonymous
and C is the better of those 2 :)
I don't think so..bcozc is good for system programming.. C++ have oops.. So we can say that c++ is better as it's have features of c as well as java
Jussi
Maybe not if you go deep into it but it's similar to C when used normally.
I dont know how you write C# normally but imo it is OOP/event-driven, whereas C is procedural
Dima
C# is not the best language to start with
It is good language to start from
Dima
I started from c# and moved to cxx,but now I use both because c# is now: crossplatform
Talula
I dont know how you write C# normally but imo it is OOP/event-driven, whereas C is procedural
It's same if you do not go into complexity and that could be held from students.
Talula
exmaple... using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { int a = 10; Console.WriteLine(a); } } }
Talula
namespace = name of the program class = what part of the program you're in then main and same thing as C
Dima
lol what a good time to compare application entry points
Dima
come on!
Dima
c# has the killer feature: public async Task Main() { }
Dima
lol
Talula
Yeah try this int i = 10; printf("a=%s\r\n",i);
Talula
Now explain what is %s and not %d and what is %d
Talula
And what is \r\n
Talula
And why the heck is i outside?
Anonymous
Please tell
Anonymous
Talula
\r means "Carriage return" ... .i.e. something new programmers will not know about.
Jussi
What /r will do
newline afaik, I think it is something windows specific
Talula
Becuase Windows doesn't have that.
Talula
\n is new line.
Anonymous
I know only \n and \t
Talula
\t = tab
Talula
tab
Anonymous
Tab
Anonymous
Can I make my own function like printf..? That take variable input..and prints them ??
Anonymous
Sure
Talula
Yeah but not like printf as printf doesn't have limit on number of parameters.
Anonymous
You also can have variable args in functions if you want.
Anonymous
Means...I have to print on screen...but without printf.. With my own number.. Is it possible..?
Anonymous
Sure it's possible if you use puts or assembly code.
Okay..means I have to use assembly language
Talula
You can if you want to.
Anonymous
I think we can write asm code in c program a With _asm_
Anonymous
Isnt it..?
Francisco
Isnt it..?
Without the underscores. It's a system call to execute inline assembly
Anonymous
Am asking you to help me out from the coading
Anonymous
Yes, if no one is answering, don't start spaming or get angry.
Anonymous
What i did? I don't know what is going on
Anonymous
Am asking only
Anonymous
To know about coading
Anonymous
Yes and you asking again and again and spam messages if no one is answering.
Anonymous
This isn't allowed. If you had read the rules you would know that.
Anonymous
Ok shall i ask you one thing
Anonymous
Read the fucking rules.
No use of profanities please
MᏫᎻᎯᎷᎷᎬᎠ
Anonymous
Right
Anonymous
This group is for helping c/c++
If you start this discussion you will get the next warn.
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
Oh oh
Anonymous
.
/ban spamer and useless
MᏫᎻᎯᎷᎷᎬᎠ
XD
Anonymous
/ban spamer and useless
Wow that's a bit harsh
MᏫᎻᎯᎷᎷᎬᎠ
I have to admit it
Dima
MᏫᎻᎯᎷᎷᎬᎠ
I didn't complete my confession
MᏫᎻᎯᎷᎷᎬᎠ
Rose I hate you
MᏫᎻᎯᎷᎷᎬᎠ
/ban @MissRose_bot
MᏫᎻᎯᎷᎷᎬᎠ
Lol
Dima
“Coading” tho
Dima
xD
MᏫᎻᎯᎷᎷᎬᎠ
swarnim
“Coading” tho
Bad English I guess
swarnim
😝
Anonymous
Best way to learn c?
swarnim
Best way to learn c?
To code in C......