Questions tagged [c++]

Questions about instruction specific to the programming language C++. Use this tag only when the language used would affect the question significantly (if your question uses C++ as an example, but does not focus on the language itself, you need not use the tag).

Filter by
Sorted by
Tagged with
3 votes
3 answers
175 views

why programming languages does not have factorial function?

While searching on the internet I found almost every programming language said implement your own factorial function, rather than giving built-in function for it. Some of stackoverflow answers ...
5 votes
4 answers
3k views

Which C++ libraries and frameworks should I learn for GUI development?

Today I saw a lot of C++ libraries and frameworks on Awesome C/C++. Now I am confused as to which should I learn, or does it depends upon my choice? I want to learn C++ libraries and frameworks, for ...
  • 97
0 votes
3 answers
258 views

Is C++ much better than other languages?

I am learning C++. I learned basics concepts and OOP. The main things peoples are working on are GUI and API development with the help of C++. My question is, as a C++ learner is it a must for me to ...
  • 97
1 vote
3 answers
250 views

How to learn C++?

My background: I have completed the course CS50X which covered C, python, web development, and some data structures in C. I can currently use C, python, and javascript. I want to learn C++ and I ...
  • 198
1 vote
1 answer
64 views

Teach smart pointers to beginners with no knowlege of OOP or templates

I have to teach an Intro to Programming class of students with some exposure to proccedural programming, arrays and loops etc. However, they have not taken any course in oop and templates. It is a ...
1 vote
1 answer
79 views

Creating a complete application

Good day, I have learnt the basics of C++ and now know how to write simple console applications using codeblocks. I would very much like to create a fully functional application like a calendar or ...
3 votes
4 answers
230 views

How to design a cloze test for a programming language?

I teach a course on C++ for 2nd year undergraduates in computer science. So far, the exams in my course contained mostly code-writing questions, such as "write a class that implements a binary tree ...
4 votes
2 answers
2k views

Looking for a simple, offline, portable, lightweight IDE for C++ with a compiler and debugger

I am teaching a second year programming course for adult students. It is an introduction to C++, with a chapter on Git. I'm not covering Makefiles and while I could find a bit of time to talk about ...
5 votes
5 answers
184 views

Debugging a submission that works well on student's computer but not on my computer

I teach a course in C++. Often, students submit a homework assignment that works well in their computer (they send me a screenshot showing that it compiles and runs perfectly), but when I run the ...
3 votes
4 answers
115 views

An Intro to CS course in C++ for CS majors: laying a solid low-level foundation or simple tools and algorithmic thinking?

Consider the following two competing incentives in teaching a first Intro to CS course for CS majors. In my case, the course must use C++ -- that's a given. The first incentive is that the course ...
6 votes
5 answers
570 views

Students' confusion over C structure members and structure variables

Before I ask my question, some background may be apposite to provide context. Please indulge me. At the institute I teach, our Intro to Programming. It involves a coverage of C language. We believe C ...
1 vote
3 answers
381 views

Want to be good at programming (C++) and then start learning game development, where should I start?

This semester in my university we learned C++ but I feel like I am not that much good at programming as much as I should be, and because I am also interested in game development so of course it will ...
4 votes
3 answers
140 views

Tell me a book ( or resources) for creating a good terminal based workflow (for building, debugging) for c++ based project development

About me: I started development in python. I consider my self as an intermediate Vim user. I am comfortable with many bash shell commands. For all the python projects (like django or numerical ...
  • 143
6 votes
4 answers
384 views

How to teach C++ language to beginners of (BSCS) students who have no any idea about it?

Some students come to CS field but they have no idea about any programming language. Either they will have the background of engineering or medical. But still they want to make CS their field. What ...
3 votes
3 answers
342 views

Is learning C++ recommended for beginners?

I have heard a lot of people saying C++ is a hard language to learn and is not a good language to start. I myself am a beginner in programming and have jumped straight into C++ as soon as I heard that ...
2 votes
3 answers
230 views

How to learn to program compiled languages efficiently when coming from an interpreted language?

I have experience with Python and now am learning C++, I am finding the lack of an interpreter or a repl to be a serious hinderance when learning the language, as well as the ability to type ...
-1 votes
1 answer
79 views

Standardization of software [closed]

I am a CSE undergrad 1st yr student. I would like to know how software that companies use change from time to time. Can't they have a single standard software? For example: in my school they ...
2 votes
4 answers
465 views

Is it okay to teach C++ to my 7 year old brother?

I was thinking this for quite long, should i teach my little brother about programming in the age of 7-8? Because it will help him in the future in 12th standard and in university life. I want him to ...
5 votes
5 answers
267 views

A meaningful exercise that requires using a destructor

I am teaching destructors in C++ and would like to give the students an interesting homework exercise that requires them to build a class with destructor. In previous years, the homework were ...
6 votes
4 answers
1k views

Motivation for learning C++ when you know Java

I am going to teach a C++ course to students who already know Java. From answers to my previous question, I learned that C++ is substantially harder to master than Java, particularly because of the ...