Beginners (Page 2)

Ray mapping inn C++
Hello guys, Please I can anyone give me suggestion on good e-books or video tutorials, etc where I ...
[6 replies] Last: Why, thank you. (by ayoesquire)
by sharbu
Extracting and adding integers in a string.
The program must extract the integers between two string characters and return the sum of them. EX:...
[6 replies] Last: #include <iostream> #include <sstream> #include <string> #include <cc... (by lastchance)
Program stuck but processing
Hello fellas again, im trying to do an square root calculator as practice, and i have done it but wh...
[10 replies] Last: I figured out the problem, the program was doing an infinite loop beca... (by CosminPerRam)
While Looping
I have been trying to figure out what is wrong with this code but I cannot. I am new to C++, so mayb...
[8 replies] Last: Thank You, everyone!! I appreciate the help!!. (by MichaelBhattacharya)
by jlin55
Need help making additions in c++11 (1,2)
I need help trying to adjust my program to look like the sales report. Any suggestions on how to app...
[23 replies] Last: Hello jlin55 So put int range ={0} in SalesReport class? Yes. And... (by Handy Andy)
Linked list recursion exercise
Exercise : Write a recursive algorithm to remove elements from a linked list. Write a recursive alg...
[2 replies] Last: @ne555 Seemed like a good way to practice my dynamic allocation, gues... (by Icyblizz)
Hello! I am currently practicing shared_ptr's, but for some reason my code always gives me a Run Ti...
[2 replies] Last: You need to include string.h as you use C string calls. Constructs li... (by kbw)
by Meden
Making a palindrome (1,2)
Palindrome = number or word that has the same beginning characters as ending characters. Examples: ...
[30 replies] Last: #include <iostream> #include <sstream> #include <algorithm> #include ... (by kemort)
error: Id returned 1 exit status
I have to make a program that codes it's own queue(cola) class for plane(avion) type objects, but wh...
[9 replies] Last: Thanks for the gotcha info, mbozzi. (by Ganado)
by hoogo
Access Violation when running compiled program.
Hello, (Being fairly new at C++) I'm having an issue with a program I'm writing. It has successfu...
[7 replies] Last: Thank you coder 777! (by hoogo)
by Dmtg93
Need help asap with programming homework with random number guessing game and math tutor program.. (1,2)
Hi there I have 2 programs I need help with for my class. One is a random number guessing game with ...
[32 replies] Last: Correct me if i an wrong Okay, consider yourself corrected. The s... (by jlb)
by sharbu
Sum of positive integers - Prints Garbage value
The program must accept N integers and print the sum S of all POSITIVE integers with the even positi...
[2 replies] Last: You don't reinitialise rev to 0 for each new positive even number. You... (by lastchance)
by xari2
function void main()
#include<iostream> using namespace std; int i; void main() { i=10; cout<<"\n"<<"in main(),...
[1 reply] : I believe this is what you wanted.. #include<iostream> using namesp... (by Tulu)
Calculator shut down
I am new to c++. I made a calculator and i "build and run" it and it worked perfectly. then I tried ...
[3 replies] Last: The problem is when you ask the user for a number, s/he must insert a ... (by Enoizat)
adding two arrays using dynamic memory allocation
What's the problem with my code ... i am getting same value of sum in the loop. assumed m and n ar...
[4 replies] Last: because i am practicing pointers.... (by kaleemkhattak)
code abut session and time
need a dev c++ program does analyze an archive with the time of use from a platform of web. the arch...
[2 replies] Last: There are a number of problems with the above code. The warning about ... (by Chervil)
How to distribute code in multiple .cpp files for readability
I have a .h file with many different functions related to the same function in the program. There ar...
[2 replies] Last: You don't mention anything about classes. As jonin mentioned, the u... (by AbstractionAnon)
no match for operator << fstream
Hello fellas, i have this short commands what take 2 numbers from a file separated by a space (" "),...
[2 replies] Last: I figured out the problem, i was using ofstream instead of ifstream... (by CosminPerRam)
HW problem, don't know how to proceed
I'm doing this for HW and I don't really know what to do now, there is also a menu function and a fi...
[2 replies] Last: a file input function I there a set of data you are expected to use?... (by Enoizat)
by Rufyi
How to calculate sum of each row in 2d array
How can I calculate the sum of each row in an array and put it in a vector? For example x1 2 ...
[2 replies] Last: # include <iostream> # include <vector> # include <algorithm> # inclu... (by gunnerfunner)
Pages: 1234... 38
  Archived months: [apr2017]

Cannot post in this page. To post a new message, go to the first page.