olli
hdjdjdjjdj
cool, thanks, will look into it
Avique
@admin I just tried to point a message i wrote in another group. Please, undo this warning and send the message back to me in private.
Nils
Anonymous
Greetings in the group
Anonymous
Am new here and a novice in the field of programming seeking for a teacher to guide me through the programming world
NBC
Hi there. I need help with a C script code. Looking for a tutor. Please, in spanish or portuguese. Thanks
NBC
C project *
Talula
꧁༒•Sir Aleko•༒꧂
Who has good notes for c programming..kindly share
Anonymous
Anonymous
Anonymous
Dont know where the other loop must be
Naol
any free ebook on winapi
Igor🇺🇦
any free ebook on winapi
What's wrong with the official documentation https://docs.microsoft.com/en-us/windows/win32/apiindex/windows-api-list?
Naol
i needed a pdf version with tutorial and demos
Igor🇺🇦
Naol
well it is not pdf tho
Igor🇺🇦
Naol
i thought you were sending me the pdf. thank you though
hdjdjdjjdj
you should loop over each result on each experiment
hdjdjdjjdj
for(int x=0;x<4;x++){
puts("enter result:") ;
scanf("%d", & result);
}
hdjdjdjjdj
you can then add all the results in an array after they are initiated to get the mean
ברני
Talula
ברני
V01D
INDIA
INDIA
Someone plz guide me how can I solve this
ברני
Oh ok
My friends that working as coders said that as shorter the code is the better
INDIA
The green boxes are basically the question
And.we have to make classes of blue boxes
V01D
V01D
Or do you mean In terms of speed
INDIA
V01D
ברני
Therse some cases that you'll probably will need while ove for but for is shorter most of the time
Ando
Guys, i have a problem, how to run a c ++ program that contains an external .h file... for example I want to create a virtual sorting program. can anyone give me a tutorial from scratch?
Naol
in gcc add all the cpp to the arguments
Naol
and cpp and the h file need to have the same file name
Naol
and the h file is for declaration and constants
Ando
I know, but the problem is I don't know where to put the .h file, because the message always appears when I try to run it
Naol
you include it using quote instead of <>
Naol
<> is for standart library, and if it is in a directory give it the relative directory
M.Khorram
Guys plz help me too
Pretty simple and straightforward. You need three classes
The first one is abstract, So you need to add virtual methods
virtual double getArea();
virtual double toString();
the two others are inheriting from the first one. Something like this:
class Rectangle : public Shape
class Triangle : public Shape
Then, you need to implement the getArea() and toString() in Rectangle and Triangle.
klimi
Naol
he can use also build systems
Naol
like cmake or scons
klimi
I dont think it makes difference ¯\_ (ツ) _/¯ but what I know... I'm not a c++ programmer
Talula
MK
Any good resources to learn c++ oops concepts practically??
Talula
MK
YouTube
Any specific Channel names
Naol
oops concept
Naol
concept
Talula
I like Mosh he is good... and fast.
Gulshan
http://cplusplus.com/forum/general/250020/
Gulshan
is it good to use box type ??
INDIA
INDIA
your are concpets are so good
Gulshan
#include <iostream>
int main()
{
char string[256];
printf("Please enter a long string: ");
fgets(string, 256, stdin);
// std::cin >> string;
// std::cout << string[0];
// std::cout << string[1];
return 0;
}
Gulshan
why this fgets is used, since cin does the same thing??
Gulshan
and do it is very fast as compared to cin ??
ברני
Hey guys, I have a logic struggle on C, my function suppose to make it count if there's more space in the array for more numbers or not..can someone give me a hint what I did wrong? https://onlinegdb.com/HkxRtPYAFv
Krypton
#include <iostream>
using namespace std;
int main()
{
int y[4] = {77,66,55,44},*ptr = y+ 11;
(*(ptr+ 11))++;
*ptr++;
*ptr=11;
cout<< y[1]<< y[2];
return 0;
}
anyone know why this do not give segmentation error?
n
ברני
Gulshan
how to get data in calculateTotalScore function ?
Alex