Anonymous
if you need cuda support there is this one thing that i found was goodish
Anonymous
vim was actually by default bad for cuda
Anonymous
the syntax highlighter fucked with my smart indenter
Anonymous
now that i'm checking Builder out, it may be an option!
Maxim Khromov
Hi guys, is there some easy way to get array of numbers? Example: if input <1,10> output should be <1,2,3,4,5,6,7,8,9,10>
Maxim Khromov
ok I will
Anonymous
A simple for loop would do
Anonymous
With a little output statement
Anonymous
i want suggestions, autocomplete and function/class info
olli
C++ works fine in VS Code for me, once you set it up. Intellisense works great
Anonymous
that vs-code doesn't offer them as i experienced
Anonymous
what is your config that enables those?
Rizky Khapidsyah
hi
olli
what is your config that enables those?
https://github.com/Microsoft/vscode-cpptools/blob/master/Documentation/Getting%20started%20with%20IntelliSense%20configuration.md https://github.com/Microsoft/vscode-cpptools/blob/master/Documentation/LanguageServer/Windows%20Subsystem%20for%20Linux.md
olli
On cmake based projects this can be automatically set by an extension, which is quite ide like
Rizky Khapidsyah
hii, I'm newbie in C, can a DLL file be created and used as a function to be called and executed for calculate a formula in C (not C++)? thanks before
olli
hii, I'm newbie in C, can a DLL file be created and used as a function to be called and executed for calculate a formula in C (not C++)? thanks before
You cannot "call" a shared library (DLL) per se. A shared library can and probably will contain multiple functions that you can call in your program as if they would be part of your executable. To call the functions the library needs to be loaded which is in many cases is done automatically once the executable starts. Shared libraries can be used to share functions between different executables. Does this answer your question?
Rizky Khapidsyah
@ollirz oh so thanks Olli, I think I can do that in C, but is there a better alternative? yes your answer help my problem, thanks
klimi
just ban him
Shivam
Goodbye
Rizky Khapidsyah
I just want trying to make a my function used DLL and calling in C as a learning, to save the main source, I see many references, many suggestion do it in header (*.h), but I think I can do this as in visual basic
Ανδρέας 🇮🇹
vs-code is too bad for C++
it's good actually
Ανδρέας 🇮🇹
It way has better support for c++ than atom it has a good integration with cmake it has debugging
Ανδρέας 🇮🇹
atom has them too via plugins
I feel like atom's plugins are very poorly made at least those for c++
Ανδρέας 🇮🇹
Maxim Khromov
I need to find how many zeros I have in output, but have no ideas how...
Ajeet
hello guys good morning
Ajeet
hii maxi, ariana
Mad Software
Ajeet
can anyone differentiate between getch(),getche(),and getchar()
Mad Software
Getchar() is for only one character like A or something else
Mad Software
But for the rest i d'ont know
Ανδρέας 🇮🇹
Mad Software
Hi guys I have a problem with files pointer
Mad Software
I write this FILE* file=NULL but I got a error: unknown type name 'FILE'
Mad Software
with dot comma at the end of NULL;
Mad Software
Include stdio.h
Thanks it work
Pankaj
👍👍👍
Pankaj
Samuel
Let me 🔎 Google that for you: 🔎 learn programming
Maxim Khromov
Guys good morning, sorry I have no answer can I ask one more time... How can I find number of zeros in output?
Maxim Khromov
Save the value as int array and compare with a counter
you think save the general value of number (c) in new int variable?
Maxim Khromov
ok I will try thank u dude
Vishnu
Sololearn 🖤
Dima
rip
Abdul
Sololearn 🖤
Cant you help me to answer thm. 😊
BinaryByter
no
Anonymous
How to write test cases for c++
olli
How to write test cases for c++
First you might need to decide on a framework to use such as gtest, catch2, ... This gives a good start on how to use gtest https://github.com/abseil/googletest/blob/master/googletest/docs/primer.md
Dima
What the..
Stefan
use greedy approach
klimi
thats a nice mail
Dima
Sir, madam
amninder
Does any one suggest me. A good book for c programming
Talula
Does any one suggest me. A good book for c programming
https://books.google.co.in/books/about/The_C_Programming_Language.html?id=FGkPBQAAQBAJ&source=kp_cover&redir_esc=y
Anonymous
Where I can get c program certificate
Mat
Where I can get c program certificate
Have you searched online?
Anonymous
Search but not found any website.
Dima
why even. lol
Ανδρέας 🇮🇹
Search but not found any website.
Search on Google not on bing
Dima
print your own
Luis Fdo
Somebody hace a good book for multithread in c obiusly
Stefan
Stefan
https://learnxinyminutes.com/docs/c/
Stefan
https://learnxinyminutes.com/docs/c/
assuming you had some clues in programming
Stefan
at the end of the day it all resolutes to logic and reasoning
Stefan
Somebody hace a good book for multithread in c obiusly
well, pthread is a bitch to deal with
Stefan
a real bitch that you will love java's multithread model again which is already very horrible, but pthread is just complete mess
Thespartann
Mmm ur Stefan