Visa
If I could choose, I'd do C. But people pay for Javascript, not C ;-;
вадим
correctmaninwrongplace
C and C++ are still used
correctmaninwrongplace
Every year are in top 5 of every top
correctmaninwrongplace
But aren't used for general purpose
Naveen
yes only in very specific sector. Telecom Banks hedge funds and few framework development
Secu
Secu
Every programmer that want make some program that work efficently could use C
Secu
Or in games for example, you use C++
Naveen
Yes. Before C/C++ was used for both speed and memory effeciency because of limited hardwares/servers.
These days hardwares have become a affordable commodity/cloud/vps. C++ is not used where speed is not a concern,
in my firm, C++ projects reduced atleast 60% compared to 2012. Why?
1. C++ developers hard to find
2. Time to market is more.
Secu
I think that If you are an engineer of Intel, you won't work with Python or Java, you will work with C, ASM ande maybe C++
Naveen
Secu
Naveen
👍
Secu
I think that not everyone can use C or C++ well
Secu
People are using languages like PHP, python and others like those, and they are wrong, because when you go to high level languages you can programming more easy but you don't programming well, because you finally using functions that spend a lot of space and memory, and you start to go away from 'correctly programming' (many people use functions how if these functions were magic)
correctmaninwrongplace
correctmaninwrongplace
C/C++ are probably among the most powerfull languages
correctmaninwrongplace
But you get many problems if you don't know what you are doing
correctmaninwrongplace
Or don't know how C++ works
correctmaninwrongplace
I think im one of the most that have asked about c++ stuff in this group
correctmaninwrongplace
Because of college projects
Secu
correctmaninwrongplace
C++ can have memory leaks
correctmaninwrongplace
You wont find a lot of languages between most used with these problem
correctmaninwrongplace
You can access to illegal. Addres(luckily most OS have protection against that)
correctmaninwrongplace
I think those two are the most common problems
correctmaninwrongplace
Abother thing that is usefull, but makes a ugly code imo are the namespace
correctmaninwrongplace
I want to killmyself if i have to write :
Typename class1::container<typeofcontainer> varname;
correctmaninwrongplace
If typecontainer is template its a circus
correctmaninwrongplace
And untill c++14 concurrence is a pain
correctmaninwrongplace
But yet, if i have to make a project, i prefer it
correctmaninwrongplace
You can learn a lot of things
correctmaninwrongplace
You can overwrite operators, thats very cool
correctmaninwrongplace
I dont know any other language that allows that
Anonymous
Anonymous
And C programmers are exclusive race at this world, everyone use Python or Java lol
Anonymous
https://benchmarksgame.alioth.debian.org/u64q/compare.php?lang=gcc&lang2=gpp
Anonymous
C is better
Anonymous
Aniol
Hi!
Edurolp
Hi
Anonymous
Hi
Russell
Russell
Like any tool
Russell
Good devs can transfer knowledge from tool to tool easily
Top T : Trollface Was Real
many
correctmaninwrongplace
correctmaninwrongplace
Dies someone knows why it keeps appearing 1BILi0EE and similars instead of B<0>??
correctmaninwrongplace
Thank you so much
correctmaninwrongplace
Anonymous
Mifta Hasan
Any book recomendation about numerical method in C?
J
engga ada
Top T : Trollface Was Real
Hi
Top T : Trollface Was Real
Anyone?
Asdf
Hi
AjRdj
does anyone knows how to see execution time of program on turbo c?
Asdf
Need to implement using time.h
AjRdj
any function related to it
Top T : Trollface Was Real
Anonymous
any function related to it
You should get the time when program starts, and when program it is about to terminate, get the time and get the difference between final time and initial time
Anonymous
Simply
Asdf
Anonymous
http://www.cplusplus.com/reference/ctime/
Eu
you can use time <yout_program> under linux
Anonymous
Anonymous
He said "for turbo-c"
Anonymous
I think it's that
Eu
you're right, too fast reading :)
Anonymous
any function related to it
http://www.cplusplus.com/reference/ctime/time/ | http://www.cplusplus.com/reference/ctime/difftime/
Asdf
low low level http://www.deepsoftware.com/articles/calcticks.html
Asdf
no so low level https://stackoverflow.com/questions/31430509/get-cpu-ticks-and-measured-time#answers
AjRdj
thank you
AjRdj
Anonymous