Zeus
Those r the worst.. won't deny, we have a lot of like em here
swarnim
Should add a bot to throw such people out automatically after 2-3 warnings....
Dima
what the hell?
Dima
Jojo reference
Luis José
I love Fourier Series 😂😂😂😂
Nehemiah Aklil
#cbook
Anonymous
/cppbook
Luis José
Its cool
I'm using that tool frequently for the harmonics components analysis on electrical distribution systems
Anonymous
Hello
MᏫᎻᎯᎷᎷᎬᎠ
Hello
Anonymous
You’ll likely end up disappointed if you think people will care for you the way you care for them. Not everybody has your heart.
Dima
no
Dima
yeah and its
Dima
#ot
بوصَعبْ
#cppsheet
TrUstEd
Najifunza c programming af i want to write a program that prompts a user to enter the price of 6 items using array and then print the price of each item,,,i wrote the following code and i need someone to correct me please
TrUstEd
#include <stdio.h> int main() { int i; int j; float price[6]; for(i=0;i<6;i++) printf("Enter price of item %d",i); scanf("%d",price[i]); for(j=0;j<6;j++) printf("price of item %d is %d",j); return 0; }
TrUstEd
You forgot the for-loop's blocks { }
Copy it and edit the right way please and resend
MᏫᎻᎯᎷᎷᎬᎠ
Hmm
MᏫᎻᎯᎷᎷᎬᎠ
Okya
MᏫᎻᎯᎷᎷᎬᎠ
For that sake
MᏫᎻᎯᎷᎷᎬᎠ
#include <stdio.h> int main() { int i; int j; float price[6]; for(i=0;i<6;i++) { printf("Enter price of item %d",i); scanf("%d",price[i]); } for(j=0;j<6;j++) { printf("price of item %d is %d",j); } return 0; }
klimi
Lunatiiicc
klimi
Monospace
MᏫᎻᎯᎷᎷᎬᎠ
Always surround for-block with with braces
MᏫᎻᎯᎷᎷᎬᎠ
klimi
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
:p
0:-)
klimi
0:-)
I like you lunatic you're so nice
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
You too
MᏫᎻᎯᎷᎷᎬᎠ
Doty dot
K7aled
How can I create stopwatch in c++
MᏫᎻᎯᎷᎷᎬᎠ
How can I create stopwatch in c++
Search for a library called chrono
Ludovic 'Archivist'
How can I create stopwatch in c++
Yeah like Lunatic said, std::chrono and std::this_thread
Pro
Hello world!
MᏫᎻᎯᎷᎷᎬᎠ
Thank you
Your welcome
BinaryByter
#saved
BinaryByter
/saved
BinaryByter
#cppbook
Anonymous
Cpp means is it a type of compiler right
Anonymous
I mean turbo c
Anonymous
Turbo c ++
Anonymous
Like that
Nameful
That is a compiler, yes
Nameful
I would not suggest that you use it however
Nameful
According to its Wikipedia page it was last updated in 2006, so you will most likely lack a lot of modern C++ features
Nikita
Write a function to access the successive elements of the hash table in unsorted order.
Nikita
who can explain what i need to do?
Nikita
i really don't understand
Nikita
of course
Anonymous
Hash table ??
Mat
Hash table ??
Yeah. Google it if you don't know what it is
Anonymous
😏
Mat
of course
Which part did you not understand?
Nikita
the whole sentence
Nikita
oh no
Nikita
what's "in unsorted order"
Mat
Do you have any context?
Nikita
yeah
Nikita
by the way it's from kernigan
Nikita
http://index-of.co.uk/Etc/The.Practice.of.Programming.-.B.W..Kernighan..pdf
Nikita
page 58
Mat
😏
The internet told me Organ Donation Day is on 13th August
Anonymous
No
Anonymous
Feb 14
Nikita
well.. it’s unsorted
i need to get the some element from the hash?
Nikita
example in the book has already did it
Aquib
Write a function to access the successive elements of the hash table in unsorted order.
Hash tables are naturally unsorted. If you have an iterator to the table you can get elements
Nikita
No i have not