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>
Roxifλsz 🇱🇹
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>
Come on now, making a function for that isn't hard
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
Anonymous
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
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
olli
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
Ανδρέας 🇮🇹
Ανδρέας 🇮🇹
It way has better support for c++ than atom
it has a good integration with cmake it has debugging
Palinuro
Palinuro
Ανδρέας 🇮🇹
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
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
Ανδρέας 🇮🇹
olli
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;
Pankaj
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?
Presmanes3
Presmanes3
Maxim Khromov
ok I will try thank u dude
Vishnu
Dima
rip
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
amninder
Anonymous
Where I can get c program certificate
Mat
Anonymous
Search but not found any website.
Dima
why even. lol
Ανδρέας 🇮🇹
Dima
print your own
Luis Fdo
Somebody hace a good book for multithread in c obiusly
Stefan
Stefan
https://learnxinyminutes.com/docs/c/
Stefan
at the end of the day it all resolutes to logic and reasoning
Stefan
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