Aman
actually the first iteration is for the multiplication of consecutive terms and the second is for continuous multiplication..
Aman
i'm sorry if u didn't understand actually I'm a beginner in CP
r3tr0m
Hey
BBB
Hi, I can't solve this exercise in C. I have a string, and I have to identify the substrings made of consecutive numbers, then to calculate their lengh, and print the maximum lengh and the minimun lenght. Here it's the code, I know it's wrong
https://pastebin.com/txy1SCSb
Sim run 🏃♀️
Hello,
I have written two .c and one .h file and I am unable to get the desired result. I don't know where I have gone wrong. May I share the code using pastebin here?
Hima
Hima
Anonymous
Are sorting algorithms still effective
in the era of 7nm and SSD's
Aman
Krishnaa
My vector shows empty while debugging!!!!!!! Help me out please
Jasur Fozilov 🐳
Ravi
Krishnaa
Aman
Aman
Aman
what is it about
Anonymous
Hello i want a code for get string path of a file in resource (Xamarin.Android)
Please help me
shriman_deepak
Imtiaz
anyone here know spark??
Imtiaz
hadoop??
BBB
Imtiaz
what function used for sum all the number from a variable using lambda function ??
(in hadoop|| spark)
mukesh
✋
HaiNahi
Anyone creative here?
Puspam
Puspam
Isaac
Thanks @MissRose_bot
HaiNahi
Made anything creative in past
Anonymous
in the name of creativity all I can imagine is
\n \t
endl
etc. etc.
HaiNahi
explain more about your project
HaiNahi
* Rendering Pipeline (complete)
* Chess Engine (complete)
* Processor Emulator
* Applied philosophy on chatroom toxicity
* GUI Mechanical solver to form equations and solve them
mine ones
BBB
HaiNahi
I guess younger creative people especially, need special teachers to learn enough to make something new (grade 7 to above). Also people want to showcase their creative achievements or work in teams. There should be a community of creative people.
mukesh
Why
mukesh
Delete
Anonymous
Hello
Anonymous
hii
Anonymous
#include <iostream>
using namespace std;
class student
{
string name;
string department;
int age;
int enroll;
public:
student();
void print(void)
{
cout << endl
<< endl;
cout << " The student name is : " << name << endl;
cout << " The student department is : " << department << endl;
cout << " The student age is : " << age << endl;
cout << " The student enroll is : " << enroll << endl;
}
};
student ::student()
{
cout << " enter student name : ";
getline(cin, name);
cout << " enter studnt age : ";
cin >> age;
cout << " enter student department : ";
getline(cin, department);
cout << " enter student enrollment number : ";
cin >> enroll;
}
int main()
{
student s1, s2;
s1.print();
s2.print();
return 0;
}
Anonymous
output is : enter student name : mr,rex ; enter student age : 10 then it is printing " enter student department " and " enter student enrollment number " both lines at same time so im unable to enter students department
Md. Sakib
can anyone help me to solve this
A.M UMAR
Dima
It’s outdated and archaic
Anonymous
#include <iostream>
using namespace std;
void main(){
cout<<"hello everyone"<< endl;
}
BBB
Hi! Why does this print the number in reverse. For example, if I input 3 7, it prints 7 3
https://pastebin.com/mdzTgbZz
BBB
I'm learning C, I'm gonna ask a lot of stupid/basic questions 😅
\Device\NUL
\Device\NUL
Change your while to do while
do {
scanf("%d", &n);
} while (n < 0);
\Device\NUL
BBB
Terminal in UBuntu
\Device\NUL
I use Clang with C11 standard
\Device\NUL
Terminal in UBuntu
Doesn't make sense, i ask your compiler, not terminal or OS
BBB
I compile in the terminal of Ubuntu
\Device\NUL
Yea i know, i use GNU/Linux too
\Device\NUL
Ah, i think your compiler is gcc
BBB
Yes
\Device\NUL
Yes
I think that because the program call input(b) first before input(a)
BBB
So it's because the last in is the first out? I think I understand, thank you
BBB
Vignesh
Hello, Any ideas on how to prevent or counter the integer overflow in function except using the higher oversized integers?
Ajay
In C programming,
When we declare a variable as register type the memory allocation is in CPU memory means in register.
if the register memory is full the memory allocation is in stack.
Then can we find whether the memory allocation is in register or stack at run time only?
Waiting for Clarification
CaviarX
🧐
Ajay
🧐
What happened @Caviar_X
Ajay
klimi
Cipher
Made easy cse premium
\Device\NUL
CH
Hi. Is anyone out there know on how to display the real time clock and real time date for PIC16F by C?
Ludovic 'Archivist'
Ajay
Strife
Y
Strife
No
Just need time