• Forum
  • General C++ Programming

General C++ Programming

by admin
Welcome to this board!
 
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any top...
[no replies]
by VoB
Understanding the difference between free and delete
 
Hi everyone. Reading "The C++ Programming Language", I've read that the basic difference between n...
[3 replies] Last: Question 1): Is what I wrote above correct? No, it does not call the ... (by coder777)
Write a C++ program that enters a integer number and use a stack to determine if the number is a Palindrome.
 
A palindrome number is a number that is same after reverse. For example 121, 34543, 343, 131, 48984 ...
[2 replies] Last: #include <iostream> #include <string> using namespace std; bool isPa... (by lastchance)
Read the data from the files and giving the correct answer
 
I need help understanding what I'm doing wrong in my coding(c++). The program should then display th...
[1 reply] : > Winners[Winner++] = name; This isn't the thing you just read... (by salem c)
by cmisip
Faster way to assign values to Class variables?
 
Working on an arduino, I would like to be able to write the fastest code with the smallest memory fo...
[9 replies] Last: You're right. An array would work better. In fact, I just realized t... (by cmisip)
doing assignment need help
 
I am working on another assignment and got stuck with my duplicate on this one it uses Node and what...
[1 reply] : do you want all duplicates in the list, so 1 1 2 2 3 3 ... would say ... (by jonnin)
How do i use unsigned long long array to calculate fib(100)?
 
Hi, I wrote the program to calculate the Fibonacci numbers. one of exercises is that to calculate...
[4 replies] Last: #include <iostream> #include <iomanip> #include <vector> #include <cm... (by lastchance)
help
 
hi could anyone help me with this please idk what to do:( A school has three house A,B and C. wri...
[3 replies] Last: I believe the OP is talking about a boarding school. A "house" is a do... (by dhayden)
Need help with assignment
 
I need help with the functions: is_duplicate and remove_all to work for my assignemt. Here is the co...
[3 replies] Last: Thank you so much for the help! (by icecody12)
Numbers to Letters
 
hi , So I have to convert numbers to letter ex.. Input 1: 110 Output one hundred ten dollars ...
[2 replies] Last: I like my output formatted so it's easy to read, I know it's not neces... (by agent max)
by jb4x
Template specialization VS CRTP VS Pure virtual functions
 
Hello everyone, I am currently working on a resource manager class to handle different kinds of ass...
[4 replies] Last: To be a bit more clear in my question, is there any reasons why choos... (by mbozzi)
Trapezoid multiparameter function (1,2)
 
Hi, I have an assignment to deliver until next Monday. I wanted to use this function: F(x,y,d) ...
[22 replies] Last: Tnx My code looks slightly different than yours, but tnx. (by zaahm18)
String problem
 
Hello, I'm trying to solve this problem: Singhal has two strings S and T consisting of low...
[12 replies] Last: Any two elements of S can be swapped via a pair of swaps with a spare ... (by lastchance)
Prototyping methods in a class
 
At the top of my class definition I would like to include a private list of all the class methods so...
[3 replies] Last: I would like to include a private list of all the class methods so th... (by dhayden)
Sorting linked list by name, id, grade
 
This is my node file and based on this I'm trying to write a sort function. #include "Node.h" #in...
[2 replies] Last: Thank you for answer, it really helps me. But I have curiosity about h... (by closed account GARovCM9)
Logic is escaping me
 
I cant pinpoint where im going wrong for the functions. Anyone experienced have a second to point ou...
[1 reply] : Please fix your compile-time errors first. They are self-explanatory. (by lastchance)
making an event-driven game
 
I want to make a structure of an event-driven game. Especially the parallelizing of the event loop a...
[2 replies] Last: Thank you salem c, your example helped me a lot. With this I could pas... (by nuderobmonkey)
I don't know how to do. PLEASE HELP!!
 
PROBLEM: Techi Gadgets Account Program. (20 pts ) Write the Techi Gadgets Account Program. The pr...
[1 reply] : I don't know how to do Don't know how to do what? What have you don... (by seeplus)
getpid() linux
 
I need to get pid for every processes. In process I get sum of every arrays. In the I get max sum. I...
[4 replies] Last: The printed pid's look good. What did you want to know? I start to ... (by alexandr2222)
C++ Question
 
hi I am supposed to add code and I tried and for some reason the program isnt running!I feel Like I ...
[1 reply] : Look at line 9, your function declaration of unmix. You are telling t... (by Furry Guy)
Pages: 123... 11
  Archived months: [feb2021]