Dima
wtf
Anonymous
Boy na how
/warn non English
Anonymous
Well
Rberto
english only bro
GHAMDAN_NSHWAN
Hii
Rberto
GHAMDAN_NSHWAN
I'm arabic
A
hi guys, I'm newbie at C/C++ programming language, I want to ask, if I learn C++, should I learn C too? Is C contained on C++?
A
Sorry for my bad english
A
Yep.. Learning c++
should i learn C if I already learned C++?
GHAMDAN_NSHWAN
Same thing
Anonymous
if you have learn cpp , you already learn c
Anonymous
cpp consists of three parts 1 Process-oriented 2 Process-object 3 Generic programming
Anonymous
Process-oriented is c programming language
A
if you have learn cpp , you already learn c
oh man, I thought C and C++ was a different things, so I trying har to found a book about C, and most books discuss C++ , not C
A
hard*
Anonymous
hehe
Anonymous
you should learn c first
A
nice, thanks for your explanation
Anonymous
its ok
A
if in C++ already contains C, why should i learn C first?
Anonymous
the book you can buy , it assume that you have a certain know about c
Anonymous
so it will not have a deep study about Process-oriented
A
ouh i get it
A
ok, gonna learn C first
Pankaj
Anonymous
ok, gonna learn C first
No need for that now. Read Programming principles and practice by Bjarne Stroustrup. You will learn C but there is no real order. If you want to continue with C++, start with it. But if you want C and just have an idea about C++, then learn C which is a very beautiful language. For some details, read what Stroustrup wrote at the beginning of the mentioned book about learning C before C++, and some other things.
Anonymous
How to read data from file into BST in c when data has string and integer both? I have been searching about it on google for more than 3 hours now. If anyone can just tell me the approach it'll be helpful
Jasur Fozilov 🐳
A
Look for in this group
Okay, I'll look for it
Anonymous
Hello
Anonymous
Write a code to find the factorial by implementing a find_fact function and call the function from the main function and display the result.
Anonymous
#include<iostream> using namespace std; int main() { int num, i, fact=1; cout<<"Enter the Number: "; cin>>num; i=num; while(i>=1) { fact = fact*i; i--; } cout<<"\nFactorial = "<<fact; cout<<endl; return 0; }
Anonymous
I write this code what more changes are required.
Anonymous
Any expert can help me
сумбула
Write a code to find the factorial by implementing a find_fact function and call the function from the main function and display the result.
#include <bits/stdc++.h> int find_fac(int n){ int fact = 1; for(int i=1; i<=n; i++){ fact *= i; } return fact; } int main (){ int n = 0; std::cout << "Enter the number: " << std::endl; std::cin >> n; std::cout << "\nFactorial = " << find_fac(n) << std::endl; return 0; }
Anonymous
Oh Sorry
Nameful
prepare for a wave of PMs
Anonymous
than you can travel it and find someone
Nameful
Why?
people mass-PM people here even if they just suspect they're a woman. but you can report them for that if you find it unpleasant
Anonymous
Yes sure it is
I use dev C++ for programming
сумбула
Nameful
though you may be safe since you have no profile picture
Nameful
anyway, this is off-topic
сумбула
I guess I should delete this message😅
Anonymous
I also used dev
Okay Thank U So much for your Coperation nice to meet U
Nameful
Why
if you're going to turn this in as your homework it's good to understand it
The
can anyone help me with a question
The
Find the duplicate elements in a list by constructing binary search tree in c
Anonymous
Don't ask to ask, just ask! ^^
Anonymous
So? You want us to write a program for you?
klimi
Poor soul
ɴꙩᴍᴀᴅ
How much are you willing to pay?
ɴꙩᴍᴀᴅ
😁 aight, let's move away from this bussiness model for a moment. Do one thing: Try to write in your code editor what you think the text says, and then using pastebin (or similar), share with us what you got. At that point I'm sure people will help you. The key for getting help is by first trying on your own
ɴꙩᴍᴀᴅ
Too late 😂
Anonymous
Then, WHICH KEYWORD IS USED TO ACCESS THE VARIABLE IN NAMESPACE?
Anonymous
Include?
Anonymous
is this a school asignment?
Anonymous
ɴꙩᴍᴀᴅ
Then, WHICH KEYWORD IS USED TO ACCESS THE VARIABLE IN NAMESPACE?
https://www.tutorialspoint.com/cplusplus/cpp_namespaces.htm
Anonymous
I see, good luck! Id suggest to think about the formula in math language first. And after that watch some basic crashcourse on C++, so you get a feeling for the syntax and can represent what you have in math language in C++