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
9 votes
4 answers
345 views

Why do (all) professors teach C++ 11?

I have noticed that in many computer science courses, professors tend to focus on teaching C++11 as the primary version of the ...
I_throw_but_dont_catch's user avatar
1 vote
2 answers
128 views

Small software that covers most c++ core concepts?

I spent some years only learning C++ from online websites and YouTube videos. I went over basic stuff like variables, functions, pointers, references, and so on, as well as OOP concepts like classes, ...
james dilaw's user avatar
3 votes
3 answers
391 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 ...
shoaib sabir's user avatar
6 votes
4 answers
5k 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 ...
Hamza's user avatar
  • 117
0 votes
3 answers
281 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 ...
Hamza's user avatar
  • 117
1 vote
3 answers
280 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 ...
Neelesh V's user avatar
  • 188
1 vote
1 answer
70 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 ...
Mallam Awal's user avatar
1 vote
1 answer
83 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 ...
Robin Ting's user avatar
3 votes
4 answers
268 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 ...
Erel Segal-Halevi's user avatar
4 votes
2 answers
3k 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 ...
leftcursor's user avatar
6 votes
5 answers
191 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 ...
Erel Segal-Halevi's user avatar
3 votes
4 answers
119 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 ...
AlwaysLearning's user avatar
6 votes
5 answers
698 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 ...
Mallam Awal's user avatar
1 vote
4 answers
434 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 as good at programming as I should be, and I am also interested in game development so of course it will be helpful for me in ...
Erad Ali's user avatar
4 votes
3 answers
148 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 ...
amitoz's user avatar
  • 143
6 votes
4 answers
401 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 ...
Maryam Abbas's user avatar
3 votes
3 answers
373 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 ...
ImmaNoobInProgramming's user avatar
2 votes
3 answers
244 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 ...
Allen Wang's user avatar
-1 votes
1 answer
87 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 ...
Jalagandeswaran r's user avatar
2 votes
4 answers
482 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 ...
Meer Faisal Ali's user avatar
5 votes
5 answers
281 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 ...
Erel Segal-Halevi's user avatar
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 ...
Erel Segal-Halevi's user avatar