Beginners - December 2015 (Page 7)

List the operators that require an lvalue. Why do these operators, and not the others, require an lvalue?
 
Question from book. Is the answer increment/decrement operator? If so, is not a in a++ a rvalue as ...
[3 replies] Last: Thanks a lot! (by ephraimr)
Help with OOP (1,2)
 
this is my .cpp file: #include <iostream> #include <stdlib.h> #include <math.h> #include "engl...
[20 replies] Last: No, I didn't :( I hope my instructor doesn't take off too much... (by Crthomas)
Cant show input and output
 
Help me please.Need to do coding about student information.The problem is my coding wont show any in...
[3 replies] Last: thanks guys...got settle the problem :) (by Ali1414)
const and pointers and type declerations
 
Ok so I'm learning so much every day and trying to remember it all is difficult, I'm sure I've seen ...
[1 reply] : Ok so I found some material that was useful, here is what i got from i... (by ChemicalBliss)
by alitt
calculator with using function and for loop
 
hi guys i'm gonna make a calculator and just add 5 numbers,i wanna using for loops for getting 5 nu...
[17 replies] Last: thank you so much my problem has solved (by alitt)
Stuck in an Array Problem
 
Hey guys, I'm going to start off by saying that I'm a total beginner noob, and that I'm posting here...
[10 replies] Last: Thank You guys for all the support, I managed to create the program, a... (by deffstar)
by t800
Help with floating point number.
 
I created a program to print the sum of the values implemented on myFirstFunction as follows: ...
[3 replies] Last: The function myFirstFunction() looks ok. Well done. However float ... (by Chervil)
need and idea with mapping or any other technique
 
i want to write such a program in which a function will take a key and will give out the correspondi...
[1 reply] : A couple of possibilities: 1) You could use std::map with a string f... (by AbstractionAnon)
Hundreds of Strings, Ideas?
 
I'm writing a program that will hold hundreds of strings. Sadly, they are all unique, so I can't use...
[2 replies] Last: Yea, I was worried about hardcoding into the main. I'll look more into... (by Captain Awesom)
Pass vector of vectors, AND just one of its vectors to a function
 
I have a vector of vectors, aptly named 'verrr'. In my function 'foo', I want to modify both verrr ...
[1 reply] : If you only pass one element of the vector to your function you can on... (by jlb)
border
 
Write your question here. I want to create a border for my program, but I don't know how to. I am a...
[1 reply] : One step at a time. First create a left and right border to the output... (by Chervil)
my switch statement doesnt work
 
im trying to make my switch statement work but when i press y it skips case 1 code. #include <io...
[4 replies] Last: getline(cin, extraInfo); causes the program to skip the userinput T... (by dhayden)
store a string to an integer array
 
Hey I'm a beginner in C++. I want to read a number(8-10 digits) as a string and then copy it into an...
[4 replies] Last: Thanks. Well, to convert from a character such as '5' to an integer, ... (by Chervil)
4 way linked list (1,2)
 
Hello. Just wanted to ask if its posible to make 4-way linked lists? http://prntscr.com/9bn826...
[23 replies] Last: I still think it's much easier to think of this as TWO data structures... (by dhayden)
by JoanT
Sorting book title in order alphabetically
 
How do I return a vector of all books sorting by title in alphabetical order? I created a vector cal...
[12 replies] Last: @Thomas1965 Thanks. I understand more about default constructor now. I... (by JoanT)
Function call with parameters that may be unsafe error
 
Hey, I was trying to implement this Tnode class that has to store array of chars on free store to ...
[3 replies] Last: Ok tnx for answer man appreciate it :) (by etrusks)
array of chars on free store
 
First of all this is a part of an exercise. Is it possible to create a pointer to an arbitrarily lon...
[3 replies] Last: Cool, tnx a lot guys. I didn't notice that when using new, size of an ... (by etrusks)
by osur
vector of a class?
 
Hello again, I wish to make a vector of class VItem, so that the vector can store both of the strin...
[2 replies] Last: You could use setters and getters. class A { int number; pu... (by integralfx)
Guideness Required
 
Created a program to get total marks from the user Calculated his obtained and then display the tot...
[2 replies] Last: Or you can cast one of the variables to a float. // C-style cast p =... (by integralfx)
C++ Button and Textbox
 
Hey I'm new here and I need help with something. I need help putting a pointer, address, and offset ...
[8 replies] Last: private: System::Void button1_Click(System::Object^ sender, System:... (by Tomoko Kuroki)
December 2015 Pages: 1... 56789... 43
  Archived months: [nov2015] [jan2016]

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