Beginners (Page 77)

by Waka45
Unitialized local variable
 
Hi guys I'm new to C++ and I'm taking a class for this but I'm sort of stuck on this assignment. I k...
[2 replies] Last: I was able to figure out the problem, I had to set my computer guess i... (by Waka45)
correct way to get char input
 
First I use this, the compiler show no error but the cmd stop working. char * binput; cin>>bi...
[1 reply] : the cmd stop working. What memory binput point to? You are trying to ... (by MiiNiPaa)
Help
 
I have to Develop a program that determines the number of days, hours, minutes and seconds it took a...
[6 replies] Last: Thanks for your help, I appreciate it :) (by JayJay007)
by cyter
Persistent redefinition error
 
Hi, I have edited and re-edited my code but this error never seems to go away: The error is: ...
[3 replies] Last: thank you JLBorges (by cyter)
pow ambiguous call to overloaded function
 
The purpose of the program is to remove a specific substring from the string, but for some reason it...
[no replies]
Order of Operations Help
 
Ok, I wrote this simple code and it works my only question is when I dont use parentheses around the...
[2 replies] Last: kind of embarrassed i didnt catch onto that quicker. Thanks (by Vesuvius803)
How can I align the text horizontally and show every name
 
If you run this program all the names of every college and university will be aligned vertically and...
[7 replies] Last: Alright looks good. (by deathslice)
by Jon15
Variable Scope/Global Variables
 
I am trying to calculate the value of e to a given accuracy. I am using a separate file for my funct...
[5 replies] Last: I am not supposed to have any arguments that are not global variables ... (by Jon15)
Cant get the size of the array
 
Write your question here. // vector::operator #include <iostream> #include <vector> #include <st...
[2 replies] Last: Why are you using 3 different variables ( inputString , s and myVec... (by Peter87)
Printing index of elements in a char vector
 
I have a program which writes a number of chars into a vector but I canĀ“t print an index of them. I...
[2 replies] Last: Solved it! Thank you :) for (int i= 0; i < myVector ; i++) { std... (by patriic48)
Need HELP!!
 
My Assignment:Today BandN book stores have a deal on eBooks. If you order today you get a discount. ...
[1 reply] : Your PrintInstructions function should return the number of books requ... (by ajh32)
#include in MV2013
 
I have 2 files: Source.cpp and Header1.h. #include <iostream> #include <Header1.h> I ke...
[2 replies] Last: Thank you. (by gabor53)
class and header
 
how can i access the functions in header to a class in main.cpp i mean what is the use of header...
[10 replies] Last: @ajh32 i see but it doesnt work due to my issue (by Lorence30)
by clodi
2D lattice, quick question
 
Hello, I have to work with a 2D lattice. I have been storing it as a 1D array. Would storing ...
[8 replies] Last: Stack-wise / performance-wise and everything else-wise there is NO di... (by MiiNiPaa)
delete()
 
why delete cannot be applied to pointers that were created on stack. :) with regards, vishnu k.
[1 reply] : because there is no memory to free up. memory is only allocated on th... (by mutexe)
numbers, Positional notation, base conversion
 
hey guys! i want to write a code that makes it possible to convert bases in positional notaion of p...
[no replies]
Need help with Functions
 
I have this homework that requires me to have five names and five heights that goes with the name. W...
[1 reply] : In line 72 of function average , you have the line int f, g, h, ... (by shadowCODE)
Random numbers - user input seed
 
For our class the teacher wants us to use a user input seed for the srand function,, but every time ...
[8 replies] Last: I am asking from awheel18 , because they seem to want that. (by keskiverto)
Can't see my error
 
Most likely its a simple mistake but as a beginner I don't see it. Maybe I did't pay attention in c...
[2 replies] Last: cout << sortDescending(theArray, 5) << endl; This line doesn't make... (by mutexe)
by Jon15
Global variable and separate files
 
I am supposed to calculate Euler's number in a separate file to a given tolerance and return it usin...
[3 replies] Last: Still getting odd answers for my couts though (by Jon15)
Pages: 1... 7576777879... 125
  Archived months: [sep2014]

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