Beginners - July 2013 (Page 51)

Confused on how to "create executable code"
 
The help of those who learned C++ through C++ Primer Plus 6th Edition would especially be apprecia...
[no replies]
program won't end
 
Here is the problem that I have been working on. My program runs without errors, but it never says w...
[3 replies] Last: Either only return 1 variable, or make the function void and don't ret... (by ENIGMAx)
how could i write this function in the main function
 
hi every one >>> i want to write a function called AddOne it will increment every element in a list...
[4 replies] Last: Can't you just loop through the list then increment each item? Try the... (by giblit)
x was not declared in the scope.
 
Write your question here. Hi there. I'm practising calculators, and I have trouble to make it wor...
[7 replies] Last: Quote: No problem! Our submarines are already near Sweden.:) haha ;) (by fabian08)
isdigit not working as I expected
 
Hello all! I have a specific code question. I'm trying to ensure that the character entered is a d...
[6 replies] Last: Thank you very much KyleMiles, vlad and Peter87, that makes sense. Ch... (by programgirl)
Code Optimization
 
Hi everyone. I just started learning C++ last week on my own and have gotten to just before OOP in t...
[7 replies] Last: Alright awesome. I am thankful you gave me all the advice and help and... (by jmorales2012)
Finding the median
 
I am new to programming in C++. Can somebody show me how to sort this array so I can find the median...
[3 replies] Last: You might want to post the code for the functions in question. The exp... (by cire)
C++ Recursion Problem help
 
Program to help select the treasures so that the total value of the selected treasures is maximized ...
[3 replies] Last: Perhaps reading this will give you an idea or two: https://en.wikiped... (by cire)
merging arrays
 
Hey guys. i need some help with my code so i am required to 1- Write a program that performs the fo...
[3 replies] Last: with reverse .... #include <iostream> using namespace std; int main... (by ajuzoo)
Program doesn't operate properly
 
I've got a quite challenging problem here. I've made a function with the purpose of splitting num...
[6 replies] Last: btw, why don't you use string ? you can split them by first knowing t... (by chipp)
Understanding...
 
Write your question here. #include <iostream> using namespace std; void drawrectangle(int...
[7 replies] Last: That is exactly right and you can increment by more than one at a time... (by Lostsoulparty)
I need help with saving. (may be an obvious solution)
 
I am sort of a beginner to c++ and know basic console items and functions. I need help with a text ...
[2 replies] Last: Alright. Thank you! (: (by WIT Sorcery)
Some assistance for a newbie doing it from a book please
 
I am just starting out on the path to C++ and have got a book called C++ through game programming th...
[10 replies] Last: The problem I think I'm experiencing is I don't know which are C erro... (by MikeyBoy)
what wrong with my code?i cannot compile
 
#include<string.h> using namespace std; class marks { private : char name ,grade; ...
[6 replies] Last: @glibit: string.h is not the same as string. string.h becomes cstring ... (by closed account Dy7SLyTq)
by maebe
Binary Tree Operations
 
Hello, I am getting a strange error: "Assign6(33183) malloc: *** error for object 0x7f9d2a4038...
[3 replies] Last: Ah, I see EXACTLY what you're talking about. I bet that will fix the i... (by maebe)
sizeof operator machine dependent?
 
Hi all, I am a beginner in C++ and I have a doubt regarding the memory system. #include <iostream...
[7 replies] Last: Thanks you all who came forward to help me. I think that It is clear t... (by Himansh)
About char, int and double
 
Hello guys. I'm currently learning alone about c++. One thing I've learned is that the most common b...
[6 replies] Last: @djronix: here's it #include <iostream> using namespace std; int ... (by Himansh)
by xiuuao
C++ operator and pointer question.plz help me
 
%=, >>=, <<=, &=, ^=, |= what do these operators mean? And what are the functions of these operato...
[7 replies] Last: Do you have any c++ book..I'm sure they are in there..if not u can alw... (by Fr0zen1)
Cannot subtract values from elements of a vector
 
Hello, I would like to perform an operation with vectors, but I lost my way. Help would be appre...
[5 replies] Last: Indeed it works, thank you very much! (by ranittan)
Cin.spacething();
 
Hi, I'm just wondering if there is something I could use that is like cin.get(); but for the space...
[2 replies] Last: Thank You! I did not know that! I have been doing c++ for a year now a... (by Perry Turner)
July 2013 Pages: 1... 4950515253
  Archived months: [jun2013] [aug2013]

This is an archived page. To post a new message, go to the current page.