Anonymous
Zeros
Akshay
/get ide
Mazen
Qt Creator 5.0 Released With Experimental Clangd Backend, Experimental Docker Builds
Safwan
Hello
Anonymous
Which compiler is easy light weight for the c programming
shriman_deepak
Wbu vs code ?
Kai
Wbu vs code ?
vscode is not a compiler
shriman_deepak
~Maverick
Anonymous
Which compiler is easy light weight for the c programming
The tiniest of them all and also standard compliant (supports everything in C17) is http://www.smorgasbordet.com/pellesc/
Anonymous
Tnx for answering bro
バレンタインがいない柴(食用不可)
Kai
Diego
It is though? And a very good one at that Just cuz it's extension based and made in electron doesn't mean its bad
Diego
I've actually heard marvelous things of using VSCode for C/C++
Kai
not an ide
Diego
No dude, it's a full fledged IDE
Diego
It integrates the entire tool chain with the right extensions
Kai
No dude, it's a full fledged IDE
leave it i don't have time to waste
Diego
Then don't make stupid remarks or spread misinformation if you don't wanna be called out lmao
Kai
Then don't make stupid remarks or spread misinformation if you don't wanna be called out lmao
https://stackoverflow.com/questions/29953743/what-exactly-is-visual-studio-code
Diego
Thought you didn't have time to waste
Kai
grow up kid
Kai
Thought you didn't have time to waste
it's just because i care about others
~Maverick
😂😂😂 noobs
You should probably go through things by yourself first. Jumping around with half knowledge won't help you.
バレンタインがいない柴(食用不可)
~Maverick
Some people also refereed it as source code editior, but it's not correct to say that VS Code is not an IDE.
バレンタインがいない柴(食用不可)
not an ide
Define IDE... I’m confused ...
~Maverick
We can literally write up code and then run it to see if our program is working or not. Same goes for IDE and many more features are there too.
Diego
IDE Stands for Integrated Development Environment, basically an app that provides features necessary in development all in one place
Diego
https://en.wikipedia.org/wiki/Integrated_development_environment
バレンタインがいない柴(食用不可)
leave it i don't have time to waste
I thought the one who suggests some knowledge that aren’t commonly acknowledged by others should give his proof first.
Anonymous
https://gist.github.com/97a0e2d649386419905ba2aeca20e02b why cant i link to my libraries when using cmake xcode generator?
Sachin
#include <iostream> using namespace std; struct node{ int data; node *link; }; node *head= NULL; void Insert(int x) { node *temp,*temp1; temp=new node(); temp->data=x; temp->link=NULL; if(head==NULL) head = temp; else { temp1=head; while(temp1->link!=NULL); { temp1=temp1->link; } temp1->link=temp; } } void printy() { node *temp=head; cout<<"list is "; while(temp!=NULL) { cout<<temp->data<<" "; temp=temp->link; } cout<<"\n"; } int main() { cout<<"how many number? "; int n,x,i; scanf("%d",&n); for(int i=0;i<n;i++) { cout<<"enter the number "; scanf("%d",&x); Insert(x); } printy(); }
Sachin
it is not printing list
RANGER
//ds.h class distance{ private: int feet; float inches; public: distance(); distance(int ft, float inc); void inputDistance(); void printDistance(); ~distance(); }; //ds.cpp #include <iostream> #include "ds.h" using namespace std; distance::distance(){ feet=0; inches=0; } distance::distance(int ft, float inc){ feet=ft; inches=inc; } void distance:: inputDistance(){ cout<< "enter the feet ~ "; cin>>feet; cout<< "enter the inches ~ "; cin>>inches; } void distance:: printDistance(){ cout<<"Feet ~ "<<feet<<endl<<"Inches ~ "<<inches<<endl; } distance::~distance(){ cout<<"distance deleted witha feet "<<feet<<"inches "<<inches<<endl; } //main.cpp #include <iostream> #include "ds.h" using namespace std; int main(){ distance d1; }
RANGER
i cant creat static object its said "ambiguous distance d1; "
RANGER
create*
RANGER
in replit
Anonymous
i cant creat static object its said "ambiguous distance d1; "
Problem of "using namespace std" Your class name distance clashes with distance in std namespace. This can be resolved by either by removing "using namespace std" and replacing cout,cin and endl with std::cout, std::cin and std::endl or by removing "using namespace std" and instead use "using std::cout; using std::cin; using std::endl" Or by using ::distance D1 in main function to refer to global instance of distance instead of the one in std namespace
Pavel
thanks❤️ i changed the class name😁
A better solution would be to remove using namespace std;. You don't want it in real code because it will create collisions once in a while. using namespace std is often used in code examples because it makes them shorter, but in real projects people don't use it, and use using namespace for other namespaces only locally (e.g. inside a function) https://www.geeksforgeeks.org/using-namespace-std-considered-bad-practice/amp/
Anonymous
So here is an idea ...let's create a program using cpp that act like a time table and immediately when the subject is in progress the program should allow the students to write notes...therefore it should display those note when ever the subject is in progress
Kai
I thought the one who suggests some knowledge that aren’t commonly acknowledged by others should give his proof first.
Bro it is a text editor by default you can make it work like an ide by installing extensions. It is like you have smartphone you can use to to capture photos like a camera but by doing that you cannot call your smartphone as camera! I hope you understand.
🅸🅼🆁🅰🅽
Hi
バレンタインがいない柴(食用不可)
Bro it is a text editor by default you can make it work like an ide by installing extensions. It is like you have smartphone you can use to to capture photos like a camera but by doing that you cannot call your smartphone as camera! I hope you understand.
I feel like you reinvent the definition of a word the whole computer engineers’ society won’t agree with. Feel free to speak whatever you want - in front of a mirror but not here in sparking useless conversation.
ThanuC
Coursera
C++ programming
Sergeant Stedenko
Programming language c++ how much income and how much money can be earned
Depends how good you are and how many years of experience you have.
Sergeant Stedenko
I Like the families of this group, I have been new for this group, but I want to know something. I want to be the best computer scientist since I was a child.would you mind to help me?
Some/all of the best programmers are self taught. You need inspiration, dedication and perseverance plus a determined attitude. 👍🏻
Anonymous
What is difference between structure and union in c
Pavel
What is difference between structure and union in c
structure contains all variables that you've declared, union contains only one of them at a time. But it's better to show the code, because the syntax can be missleading sometimes (if you're not familiar with it)
Anonymous
Ok
Anonymous
#include <iostream> include namespace std; Int main{ cout<<“hello”; return 0;}
Anonymous
Struct Demo { int arr[3]; float f; double d; };
Anonymous
How to draw memory layout for this syntax
Anonymous
Why we cannot initialise members of structure at the time of declaration?
Anonymous
Any pure C projects for my intermediate hands?? I want to try on something
Akshay
How to draw memory layout for this syntax
https://stackoverflow.com/questions/20737176/how-are-struct-members-allocated-in-memory
Anonymous
Because (5/9) = 0 Try (5.0/9.0) Or try (5*(f-32)/9)
Anonymous
/get cbook
Anonymous
/get cppbookguide
Anonymous
By stupidity of the professor, we conclude that j is 22.
Anonymous
the code exhibits undefined behaviour
Anonymous
still undefined
Anonymous
https://en.cppreference.com/w/c/language/eval_order
Anonymous
please read the whole thing
Anonymous
a.c: In function ‘main’: a.c:4:7: warning: operation on ‘i’ may be undefined [-Wsequence-point] 4 | j=++i + ++i; | ^~~
Anonymous
one more read https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11751#c63 "It's undefined code. It could change depending on the phase of the moon."
Anonymous
and why exactly is that well defined? what stops 2 consecutive increments (side effects) followed by 2 consecutive reads (value computations)? result is 14 in this case