Anonymous
But still ,when I compile it shows <stdio.h> is not found
sudo apt install build-essential . . This is what you needed
Davids
I can html
Davids
xD
xQuantx
Amazing
Anonymous
And don't forget to update after install . . Sudo apt-get update
Anonymous
Anonymous
Anonymous
seem like your DNS has some problem try ping your dns server
Pro
hehe just update ur source list manually with contrib and main packages
Pro
and then apt update && apt dist-upgrade
Dima
I hate when you go offtop here
I_Interface
/warn Read the rules: no screen photo.
Ak
Java
Anonymous
Ok
I_Interface
Java
? Explain.
I_Interface
/warn @ArcHLinux11 pm without asking.
Anonymous
I_Interface
Anonymous
In ot chat.
Ot chat means ?
I_Interface
Anonymous
Joined now wht to do ?
I_Interface
Joined now wht to do ?
Now ask there what u wanted to ask.
SjD
hello,my output has a trailing %sign ,wat do? (c++)
I_Interface
hello,my output has a trailing %sign ,wat do? (c++)
Send us your code. If it's more then 10 lines - pastebin.com.
SjD
its a simple hello world program,using printf,<bits/stdc++.h>
SjD
nothing fancy
Anonymous
Send us your code. If it's more then 10 lines - pastebin.com.
You are just confusing the members What will be the problem of he sends code right here
I_Interface
SjD
#include <bits/stdc++.h> using namespace std; int main { printf("hello world"); return 0; }
I_Interface
Do you know about images
I know. Images are also not comfortable for reading a code. Most of "images" are in bad quality.
I_Interface
#include <bits/stdc++.h> using namespace std; int main { printf("hello world"); return 0; }
1. Use #include <iostream> 2. Use cout << "hello world";
SjD
i "fixed" it using endl after
SjD
no,i just use bits/stdc++ a lot so all the header files are included
I_Interface
no,i just use bits/stdc++ a lot so all the header files are included
If i want to become a good programmer learn 1 thing. Use just what you need. You don't need all the headers to print "hello world". Only 1 header is enough for this.
SjD
i was having trouble in other program so i used hello world as a test,however,the header file was not the problem.iosteam also gives a trailing % unless i use endl
Basel
what did mean point&
I_Interface
what did mean point&
/warn Read the rules: no screen photo.
I_Interface
what did mean point&
Read about lvalue& type. Method returns a reference type of Point class.
Yakov
what did mean point&
That means that you need to use normal language instead of c++
Pavel
Returning a reference in such cases is a good way to UB. Like Point& a = Point(10, 20).setX(15); Or in more sophisticated case: Point& a = (b + c).setX(15); Or Point& a = functionThatReturnsPoint().setX();
Ludovic 'Archivist'
Just, unless you get a reference of guaranteed existence, never store a reference
Pavel
Just, unless you get a reference of guaranteed existence, never store a reference
Someone can see that it's guaranteed in a specific case, then someone else can change the code on the right side so it starts pointing to a temporary.
Pavel
I don't see a point of returning a reference here, because 2d point is usually a pod object, so it's copy is cheap
Francisco
I don't see a point of returning a reference here, because 2d point is usually a pod object, so it's copy is cheap
I see your point, but i don't see totally crazy. Actually, operator= is more or less the same and you always return a reference
मिसफिट भइया
Hello everyone I'm vaibhav aka Tommy
मिसफिट भइया
👋
Tech
🖖
Dima
Hello Tommy
Vincetti
मिसफिट भइया
मिसफिट भइया
Anonymous
Hi pals
Anonymous
Hi
Anonymous
How are you
Anonymous
Friends
Mar!o
Hi
I_Interface
Anonymous
Plz suggest how to make a software
Anonymous
Accept a matrix form user & multiply all elements with 2 .... Can you solve this
Zel
take input as vector and assign matrix?
Anonymous
ok
Anonymous
accept a matrix form user and calculate sum of each row
Anonymous
??
klimi
??
Anonymous
accept a matrix form user and calculate sum of each row using C Program
Anonymous
Ok Admin
Anonymous
Sorry
Artöm
Never use it
I_Interface
Never use it
Forgot to delete it. And he was using printf in C++ code idk why.
Anonymous
first matrix and second matrix to third matrix or 2d array .. can anyone help me