How can i write C++ programs. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 33

How can i write C++ programs.

I am trying to write a program in C++ which I can solve physics numerical question. But my all programs are wrong .How I should write program. Is it possible. Then please help me.

25th Jun 2018, 8:49 AM
shubham
18 Answers
+ 16
Thank you.
1st Jul 2018, 7:20 AM
shubham
+ 12
Thanks you all . For suggestion .💐💐💐💐💐
20th Apr 2019, 2:48 PM
shubham
+ 9
If you can't do it, try practice by making programs that are easier to make. That way you'll be better and eventually you can make that program
25th Jun 2018, 8:56 AM
ReimarPB
ReimarPB - avatar
+ 6
First, make sure you know the c++ syntax. Secondly, for physics and numerical questions, you may need some calculations performed. Make sure c++ has libraries that handle some of them for you. Make the necessary methods you may need as well. This will all work if at first, you know the syntax, and understand the calculations on paper; then implementing it will be fine. Best of luck, and happy coding! 😄
25th Jun 2018, 9:14 AM
Andre Daniel
Andre Daniel - avatar
25th Jun 2018, 1:48 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 5
first thing is first, download c++ or a c++ compiler, editor, that kind of stuff. practice online, don't just stay on Sololearn, the way i learn is by finding a project i want to complete, attempting it, and if there's a part i don't know how to do, a quick google search will most of the time give you the answer, you might also want to use StackOverflow or site like, even though it doesn't have c++, it has many solutions to many problems which occur in many programming languages.find an introduction to algorithms course, youtube or my recommendation, edX.i was very fortunate that my school had AP computer science course, just try to learn as much as you can. to be honest, i'd recommend c# or python(if you are an absolute beginner).
28th Jun 2018, 7:08 AM
David Masabo
David Masabo - avatar
+ 4
my friend , in my opinion download pdf files or courses from sololearn , and you can learn the basics of c++ . so If you learn basics . you can continue. also .. in my computer .. I have programe it called. codeblocks by that you can write your programes and you can know where is the wrong in which line . I wish you solve all your problems.😊
28th Jun 2018, 9:07 PM
Elias Dayoub
Elias Dayoub - avatar
+ 3
visual studio is a really powerful and enjoyable software for coding in c++ but it's about 35 GB. So i recommend you to use visual dev c++, it's simple and easy and also it's less than 100 Mb.
28th Jun 2018, 9:20 AM
S.Mohammad HN.
S.Mohammad HN. - avatar
+ 2
thanks
25th Jun 2018, 8:26 PM
koudolo
+ 2
tks u
25th Jun 2018, 8:27 PM
koudolo
+ 2
you should definitely work so hard😆😆
25th Jun 2018, 8:42 PM
S.Mohammad HN.
S.Mohammad HN. - avatar
+ 2
I recommend you to download software Windows, those are Quincy 2007 and Dev C++. It will help ya to code C++ and C language..
28th Jun 2018, 2:57 PM
Muhammad Fadhil Adha
Muhammad Fadhil Adha - avatar
+ 2
Get some help from your seniors or teachers,you should read a lot about it and try to perform yourself first. You can perform on 'dev c++' integrated development environment(IDE).
28th Jun 2018, 7:35 PM
Tarika
Tarika - avatar
+ 1
my friend , in my opinion download pdf files or courses from sololearn , and you can learn the basics of c++ . so If you learn basics . you can continue. also .. in my computer .. I have programe it called. codeblocks by that you can write your programes and you can know where is the wrong in which line . I wish you solve all your problems.😊
28th Jun 2018, 9:07 PM
Elias Dayoub
Elias Dayoub - avatar
+ 1
The best thing is to learn basic from starting
1st Jul 2018, 5:03 AM
Aj Ax
Aj Ax - avatar
+ 1
see people will say lot of things to you ,they will laugh on you and will say that you dont know anything,but you should follow your passion and you should work hard on every step.
1st Jul 2018, 5:18 AM
Aj Ax
Aj Ax - avatar
+ 1
best of luck man
1st Jul 2018, 6:38 AM
Aj Ax
Aj Ax - avatar
+ 1
its ok
1st Jul 2018, 7:30 AM
Aj Ax
Aj Ax - avatar