أسامة
Then i have to install the whole package, not just the single library
Libraries are stand-alone pakckages As sudo apt install libgtk+-3.0
أسامة
By the way, use *-dev packages to get headers
beluga_hz
Ok, thank you. One more thing, where do I find the right package for a library?
beluga_hz
أسامة
Ok, thank you. One more thing, where do I find the right package for a library?
If you know a header file name You can use apt-file utility But usually you can get it using simple apt or google search
beluga_hz
Thanks again
Aashiq
I am unable to understand how is it working. Can somebody explain me this code? #include <stdio.h> int main () { /* local variable definition */ int i, j; for(i = 2; i<100; i++) { for(j = 2; j <= (i/j); j++) { if(!(i%j)) break; // if factor found, not prime } if(j > (i/j)) printf("%d is prime", i); } return 0; }
Aashiq
I am unable to understand how is it working. Can somebody explain me this code? #include <stdio.h> int main () { /* local variable definition */ int i, j; for(i = 2; i<100; i++) { for(j = 2; j <= (i/j); j++) { if(!(i%j)) break; // if factor found, not prime } if(j > (i/j)) printf("%d is prime", i); } return 0; }
Output /tmp/d8aop3Cnau.o 2 is prime3 is prime5 is prime7 is prime11 is prime13 is prime17 is prime19 is prime23 is prime29 is prime31 is prime37 is prime41 is prime43 is prime47 is prime53 is prime59 is prime61 is prime67 is prime71 is prime73 is prime79 is prime83 is prime89 is prime97 is prime
g3rm4n
hey, how can i move a first word in string to the end?
Igor🇺🇦
hey, how can i move a first word in string to the end?
string foo = "abc defg"; std::rotate(foo.begin(), foo.find('' ") , foo.end());
g3rm4n
i mean if the string is »» one two three four five six seven eight nine ten after manipulation its look like two three four five six seven eight nine ten one
mahdi13
hi what i need there in if to break while loop i want when user type anything except number, break while loop while(true){ printf("sum is %d Please enter other integer number : " , &y); scanf("%d", &x); cout << "chikar konam? ( ' + ' - ' * ' / ' ) : "; cin >> ch; if (){ <<————- break; } } sorry for my bad english
mahdi13
i dont know what i need there i want when user enterd string for x while break
Anonymous
I'm working with C on vscode My .exe file created by vs is getting deleted by McAfee... I've tried putting the exe file in exclusion list of McAfee but as soon as I make changes in my c program, and update the exe file, it again gets caught by McAfee. Please help
Anonymous
I've searched internet and everywhere got the solution to put the file in exclusion list of McAfee but as explained above, it doesn't work.
😎
I'm having problem comparing the lengths of words in 2 files, it works for the 1st line, but it doesn't go throfht rest of the words in the same line
😎
It's an spell checking code
😎
I am using get line but it works only for the 1st word, how can I extend that to other words in the same line?
Matin Rzaev
Hi guys.Could you send me source about change text color with using "Windows.h" library?
Anonymous
Make an exception of the directory where the c files are stored , I also had this problem with windows defender..
Sorry but McAfee doesn't provide directory/folder exclusion in "real-time protection exclusion list". It only works for file exclusion. Anyways, got my windows defender back and yeah, I'm okay now. Thanks.
Hikmet
Merhaba arkadaşlar
Vlad
Yeah buy a pc :)
Nameful
why even
Vlad
Feeling masochistic?
Igor🇺🇦
Why do you hate yourself?
Arminio
hehehe
manuu
Anyone want to learn C language for free 1hr daily? See my project
am here ready to learn c languages,,give way forward...
manuu
kindly members how can I get videos of c programming..
Xudoyberdi
kindly members how can I get videos of c programming..
search on youtube, C cs50, C with Caleb Curry or C with Mike Dane
Xudoyberdi
i am sure you will find reliable videos
Où va le monde
SFML https://pastebin.com/JzDhZyS7 i have problem with loading image i have this image in folder project but when i run i got white display
klimi
Nice wall
Anonymous
Thanks rose
Anonymous
Hi guys, I m having some trouble with an exercise about streams.. I need to search for a file by name, if I find the file I open it read what ever is in it and after I create a new file coping the data from the first. Every time I encounter the sequence "per" I have to change it with "x". https://pastebin.com/vy1EcM0F the program works. By works I mean until you enter a word with more than 2 p in sequence. Like appperitivo. The output will be apxeritivo instead of apperitivo. I know we're is the error. I m struggling so hard ffs. Any help?
Anonymous
I meant appxirivo.
Anonymous
Appxitivo
Anonymous
I don't know how to handle the stream basically.. How do I get back on the inputs? If I read p I want to check if next input is e of is not I just want to keep saved the content but without using an array
Anonymous
/ban offtop & long cide snippet posting
Roshan
Hello! I just modified my visual studio to download mobile development with C++ and after downloading I cannot open my previous .exe files and there is no console app template in the start window! What should I do?😰
Roshan
When opening a .exe file it says msvcp140d.dll is missing
Roshan
Download it
Now it says, the application was unable to start correctly (0xc000007b). Click OK to close the application.
Roshan
where did you put the downloaded dll?
It's in the same folder where the .exe file is.
Apk
no don't put it there, put it in windows folder in C drive....but I am not sure about how secure it is....
Roshan
no don't put it there, put it in windows folder in C drive....but I am not sure about how secure it is....
I started to download the desktop development with cplusplus component again by clicking on modify...
ברני
Hey, dose it matter on C if I do cast Typing like this : int halfthepizza=(double) slices /people ; Or int halfthepizza=(double) (slices) /people ;
ברני
Dose it matter? Or second is the best option?
Apk
Should I remove the .DLL?
If it works, just let it be...
Roshan
Apk
It worked!! 😃😃😃
It is opening now right?
Roshan
It is opening now right?
Yeah thanks! 👍
Anonymous
are there any good articles/guides about selecting queue for transmission packets(really ,skbs) ? I got an one ,but,it also is in Chinese .
Anonymous
Anyone know how i use FFT in C++?
Anonymous
Anyone know how i use FFT in C++?
No one knows how do you use something in something else
Igor🇺🇦
Anyone know how i use FFT in C++?
There are plenty of libraries to choose from https://community.vcvrack.com/t/complete-list-of-c-c-fft-libraries/9153
mahdi13
hi what i need there in ' if ' to break while loop i want when user type anything except number, break while loop int main() { int y=0; int x=0; string ch; string ans="y"; cout << "Please enter integer number : "; scanf("%d", &x); y = x; while(true){ cout << "sum is " << y << " Please enter other integer number :"; scanf("%d", &x); cout << "chikar konam? ( ' + ' - ' * ' / ' ) : "; cin >> ch; } ...
Mehmet Şakir
hi guys
Anonymous
hi guys
Nohello.com
Mehmet Şakir
Hi - I was wondering if I could ask a question if you're not busy. I'm working on and trying to do [something]