أسامة
أسامة
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
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
Roshan
g3rm4n
hey, how can i move a first word in string to the end?
mahdi13
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
Igor🇺🇦
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
mahdi13
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.
Anonymous
😎
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
Engineer
Nameful
Hikmet
Merhaba arkadaşlar
Vlad
Yeah buy a pc :)
Nameful
why even
Vlad
Feeling masochistic?
Igor🇺🇦
Why do you hate yourself?
Arminio
hehehe
manuu
manuu
kindly members how can I get videos of c programming..
Xudoyberdi
i am sure you will find reliable videos
manuu
Xudoyberdi
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
Apk
Roshan
Download it
Now it says, the application was unable to start correctly (0xc000007b). Click OK to close the application.
Apk
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
Roshan
Roshan
ברני
Hey, dose it matter on C if I do cast Typing like this :
int halfthepizza=(double) slices /people ;
Or
int halfthepizza=(double) (slices) /people ;
Roshan
ברני
Dose it matter? Or second is the best option?
Roshan
Roshan
Apk
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++?
Xudoyberdi
Anonymous
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;
}
...
Igor🇺🇦
mahdi13
Mehmet Şakir
hi guys
Anonymous
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]
Apk