UrbanPro
true

Learn C++ Language from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Learn Basic C++ with Free Lessons & Tips

Ask a Question

Post a Lesson

All

All

Lessons

Discussion

Lesson Posted on 09/07/2021 Learn Basic C++

My first C++ program

Juhi G.

I am B.E, Computer Science having 13 years of experience as Software professional and worked for MNS...

# include using namespace std; int main() { cout<<"Welcome to C++"; return 0; } Use IDE such as CodeBlocks to run this program. To do this, open CodeBlocks, Goto File->New->Empty File. Copy the above code and go to File->Save the file. Give a name and extension .cpp. About the... read more

# include

using namespace std;

int main()

{

cout<<"Welcome to C++";

return 0;

}

  1. Use IDE such as CodeBlocks to run this program. To do this, open CodeBlocks, Goto File->New->Empty File.
  2. Copy the above code and go to File->Save the file. Give a name and extension .cpp.
  3. About the program: Program execution ALWAYS starts from the main; this is a function. We will discuss more functions in later discussions; for now, consider it as a machine. You give some input; you get some output. Cout << is used to print any output messages or display any information. Remember to enclose messages in double-quotes.
  4. Dont forget to end lines with semicolons.
  5. Return 0 returns an integer value 0 for function main.In easy terms, it tells that everything worked fine.
  6. Functions always have opening and closing brackets.
  7. # include is a preprocessor directive telling the compiler to add header file iostream before including the rest of the program.IOSTREAM is an Input-Output stream. It allows you to use various objects related to I/O.
  8. Using name std. C++ has a standard library that contains common functionality you use in building your applications. The using namespace means that in the scope it is present, make all the things under the std namespace available without having to prefix std:: before each of them.
read less
Comments
Dislike Bookmark

Answered on 18/02/2019 Learn Basic C++ +4 C Language C Language Programming Advanced C++ C++ Language

Rajesh Kumar Subramanian

Microsoft .Net Technology Specialist

If you want to learn any languages C#, Java, ect. then must to learn C, C++ language as these are base or language to be strong in language skills. C++ is improved version of C language. C#, Java, J# and etc. which are improved version of C++.
Answers 6 Comments
Dislike Bookmark

Answered on 29/11/2018 Learn Basic C++ +3 C Language C Language Programming Advanced C++

Rampreet Thakur

Computer Software Trainor

You need to solve problems of mathematics by programming method ....For every term you have to think deeply that how to solve the conditions through programs elements. That's the better way to improve your Programming skills
Answers 3 Comments
Dislike Bookmark

Learn C++ Language from the Best Tutors

  • Affordable fees
  • Flexible Timings
  • Choose between 1-1 and Group class
  • Verified Tutors

Answered on 22/02/2019 Learn Basic C++ +4 C Language C Language Programming Advanced C++ C++ Language

Gopi Y

Tutor

if you want learn C language from beginning then you can gothrough websites ..... its best way to learn or if you have any doubts or not understanding the content on websites then go through ONLINE learning
Answers 1 Comments
Dislike Bookmark

Answered on 29/01/2019 Learn Basic C++ +4 C Language C Language Programming Advanced C++ C++ Language

Rajib Das

Python is an interpreted language so that amplify the number of actual CPU instruction required in order to perform a given statement.
Answers 1 Comments
Dislike Bookmark

Answered on 23/02/2019 Learn Basic C++ +4 C Language C Language Programming Advanced C++ C++ Language

Veera Krishna

Trainer

save the file in csv format. read the file char by char . as it is in comma seperated value format whenever your program detects comma in the string make the previous one as value and store in array and increment index of the array.
Answers 1 Comments
Dislike Bookmark

Learn C++ Language from the Best Tutors

  • Affordable fees
  • Flexible Timings
  • Choose between 1-1 and Group class
  • Verified Tutors

Answered on 23/02/2019 Learn Basic C++ +4 C Language C Language Programming Advanced C++ C++ Language

Veera Krishna

Trainer

can you imagine a p.c/smart phone without operating system. the end of c/c++ never happen they are ocean.. the core of any os will be bult using c/c++ only
Answers 1 Comments
Dislike Bookmark

Answered on 25/01/2019 Learn Basic C++ +4 C Language C Language Programming Advanced C++ C++ Language

K B R Venugopal

yes
Answers 1 Comments
Dislike Bookmark

Answered on 05/02/2019 Learn Basic C++ +3 C Language C Language Programming Advanced C++

Ramkesh

Tutor

There is no language and database in software industries that you can call as most important. It keeps changing. It's entirely depend upon your requirment. Each languages has its uniqueness and hence important in its domain. Check below point for further clarification: Java for Application software developers C/C++... read more

There is no language and database in software industries that you can call as most important. It keeps changing. It's entirely depend upon your requirment. Each languages has its uniqueness and hence important in its domain.

Check below point for further clarification:

Java for Application software developers

C/C++ for System software (Utilities/Device drivers/Embedded Systems) developers.

Python for AI, ML, DL and Data Science application developers.

JS for front-end developers.

read less
Answers 1 Comments
Dislike Bookmark

Learn C++ Language from the Best Tutors

  • Affordable fees
  • Flexible Timings
  • Choose between 1-1 and Group class
  • Verified Tutors

Answered on 11/02/2019 Learn Basic C++ +3 C Language C Language Programming Advanced C++

Firzana F.

Inline function is where the function code is passed to where the function is called and executed, rather than going back to the function code, executing and returning results. Inline function saves overhead time
Answers 1 Comments
Dislike Bookmark

About UrbanPro

UrbanPro.com helps you to connect with the best C++ Language Classes in India. Post Your Requirement today and get connected.

Overview

Questions 357

Total Shares  

+ Follow 51,147 Followers

You can also Learn

Top Contributors

Connect with Expert Tutors & Institutes for Basic C++

x

Ask a Question

Please enter your Question

Please select a Tag

X

Looking for C++ Language Classes?

The best tutors for C++ Language Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn C++ Language with the Best Tutors

The best Tutors for C++ Language Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more