Anonymous
no not build
Anonymous
debug run
give the args
Islom M1Ö
Hello everyone
I'm installing cpp to vs code but it says
settings.json
End of file expected problem
How can solve it
Denis
Anonymous
Is any function in standart C library to copy from 'string' to another 'string' text without leader zeros "00655789" to "655789". Count of zeros may be different.
Aliran
How to make a program about matrix multiplication program using 3D arrays?
klimi
paa
Someone talk to me in private if they know how to work with processes in c
Someone talk to me in private if they know how to work with processes in c
klimi
paa
Sorry
scar tissue
klimi
scar tissue
Sounded like less code to write. No conditions either, so should be faster.
But I'm a noob.
Anonymous
my visual studio at windows
remote linux get this error
-var-create: unable to create variable object
please help me
Egro
anyone want to collaborate on a group project to improve our c++ skills so we can put it on GitHub for proof of our skills to potential employers ?
i am suck at c++ but i am willing to learn and put in work
Muqiu
project based learning, sounds good
Xxxx
#include <iostream>
using namespace std;
int main ()
{
int S = 1;
int F = 2;
float K = 1.5;
cot sum -
Cout << “Enter the number of S that the costem wants to buy “;
Cin >> S;
cout << “Enter the number of F that the costemr wants to buy”;
Cin >> F;
Cout << “Enter the number of K that the costem wants to buy”;
cin > K;
sum = S + F + K;
cout << "your bill amont is : " << sum;
}
Xxxx
The customer could buy many product
how can I add the totall bill?
Guilherme
Hello, I would like to run my c++ program, and finish it, but when I run it, I get the screen "Press any key to continue", how do I do it ??
Guilherme
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <string>
using namespace std;
int main() {
unsigned char c;
system("C:\\iniciaPHMYADMIN\\iniciaPHMYADMIN.vbs");
system("exit");
}
Lakshmi
𝕾𝖗𝖚𝖑𝖎
Hi, can I get some tips plz?
I have certain assignments I need to do for school, and I’m new to this, so if I have a program written out in words, what are the steps for building an algorithm?
𝕾𝖗𝖚𝖑𝖎
Anonymous
/getoptpp/getopt_pp.h:576:33: error: ISO C++17 does not allow dynamic exception specifications void end_of_options() const throw(GetOptEx)
Anonymous
hi bro, i just get the error
Anonymous
i need help, please
Anonymous
cmake -DCMAKE_CXX_STANDARD=11 ..
i alredy give DCMAKE_CXX_STANDARD, but i still get the error
Anonymous
who can help me
Anonymous
Cesar
Anonymous
@Madhu @Cesar ah, bro, the problem alredy solve.
Anonymous
tks u so much
Anonymous
but i has get a new error😅😅😅
Anonymous
/home/diesel/Desktop/code/ssh2/bin/ssh2proj: error while loading shared libraries: libssh2.so.1: cannot open shared object file: No such file or directory
when i vscode launch.json debug the cpp program.
i get this error.
Anonymous
if dont debug, the program is fine.
Gregory
Gregory
try using vcpkg to install the required library or framework
Anonymous
i alredy install libssh2 at /usr/local/lib
and my CMakeLists.txt add this
link_directories("/usr/lib64")
link_directories("/usr/local/lib")
Gregory
https://pastebin.com/0KF5UwBP
Anonymous
ah, i alredy solve
Gregory
Anonymous
sorry bro, i dont know what is vcpkg
Anonymous
if i know, i will help u
Gregory
In the end I had to read the library and framework documentation to get the hang of it, I can't keep asking questions and bothering people lol
● Igor
constructors and destructors are added to your program in compile time, right?
does it have any extra runtime cost?
Gregory
● Igor
● Igor
the compiler can know when a stack allocated variable goes out of scope
Gregory
but why?
Constructors and destructors do not take up much space
Pietro
Does anyone know where I can find a tutorial to write from c++ to ods file?
Pietro
SALIHU
Hello👋
SALIHU
Anybody got a C++ roadmap, I kinda wanna go deeper but don't have a path
zelika
is there someone to help me about embedded system using
stm32 for mpu6050 sensor calibration on cubeide
Anonymous
Hello. Does anyone know where I can get a free certificate in C++?
Hamza
Hamza
zelika
is it automatic
SALIHU
Александр
Hey there! I'm just trying to understand this thing. I have this statement "gladLoadGLLoader((GLADloadproc)glfwGetProcAddress);" in tutorial. gladLoadGLLoader is function with attributes, and if I understand correctly function without parentesis return pointer to this function, so in this case how can it be that this pointer casts to GLADloadproc?
Александр
I wanted to ask if someone have something to read regarding this thing ?Or maybe I misinterpreted it?
Александр
I already managed it, I forgot that this is delegate in c++
Gregory
Pietro
Mohammad
I need to
Sum the numbers how??
#include<iostream>
using namespace std;
int main()
{
int n,i,sum=0;
cin >> n;
for(i=1;i<=n;++i){
if(i%4==0)
cout <<i<<endl;
}
sum = n/4;
cout <<sum<<endl;
return 0;
}
For EX:
n 12
4
8
12
And I need to Sum these numbers
klimi
Pavel
Mohammad
Mohammad
In out put I enter 12
Then it cout to me
4
8
12
And the answer should to be 24
Mohammad
Write a program that enters n integers, then the program prints the numbers that are multiples of 4 and calculates the arithmetic mean of these numbers that are multiples of 4.
klimi
klimi
so user inputs not "n integers" but "integer n"?