Beginners - April 2011 (Page 34)

question help! not looking for soloutions just wanna see if im right!
 
hey guys. question is : Using parentheses, rewrite the following expression to indicate the correct order of evaluation. Then evaluate the expression, assuming...
[2 replies] Last: tyvm:) (by hakkenadlay)
by heidiK
multimap: find duplicates
 
...
[no replies]
Prime numbers assignment
 
I have an assignment at the moment that asks me to make a program that can cout "number is a prime number" when I enter a prime number and then "number is not a...
[2 replies] Last: A prime number (or a prime) is a natural number that has exactly two ... (by closed account z05DSL3A)
by ghada
hey can anyone help me with wirting c++ program
 
i have to write a c++ program and im still new in c++ programming so i need someone to help me please :) Write full documented C++ program that prompt the use...
[1 reply] : draw stairs I hope your lecturer does not mean using graphics librar... (by matsom)
by mta
Operator << Overloading
 
Hi: I am receiving the following error with this program: Error 13 error C2679: binary '<<' : no operator found which takes a right-hand operand of type '...
[3 replies] Last: ostream& operator<<(ostream &strm, Month &obj) { strm<<obj.name; retu... (by matsom)
by Ingrid
Hi, I'm New and I have a Question redaring Memory Maps
 
Hi everyone, Here is the code I wrote myself. How would I make a map of memory? I need to draw a map of memory at the point just before the closing brace for...
[1 reply] : What is "map of memory" supposed to mean? Memory map is usually for in... (by coder777)
Extraction Operator Excluding First Character
 
Hello, I am currently trying to write a program that will calculate some basic statistics for a programming assignment. I know and understand the rules pertaini...
[1 reply] : Lines 18 and 19 are both for checking by the way. (by blackbird)
Heap corruption in a multimap??
 
Any ideas why I would be getting this debug error? : HEAP: Free Heap block a59700 modified at a59714 after it was freed When I step through the function, ...
[1 reply] : So I followed a suggestion in this thread http://social.msdn.microsof... (by Gladdok)
Programming Assignment
 
Can somebody help me with this assignment? I am a very beginner level c++ user and this thing has flown over ma head. I know there are some c++ gurus around who...
[2 replies] Last: It seems you left out some vital information in your post... the code ... (by packetpirate)
URGENT ... VERTICAL BAR GRAPH IN C++
 
Hello, I need Help with a Code.... I need to do a Vertical Bar Graph that looks like this #include <algorithm> #include <iostream> #include <string> using n...
[5 replies] Last: [quote=Dinorah]Well actually it wasnt my teacher, I dont have a teache... (by ultifinitus)
ofstream::tellp() returns 0 when opening file to append
 
Hey guys this is my first post here, been reading this site and others for a while and finally ran into a problem that I can't seem to find an answer too. So...
[2 replies] Last: Try using .clear() after you close it. (by firedraco)
C-String issue
 
I'm doing an assignment learning about classes. We are suppose to write a program that uses our class we write and it is suppose to accept a Social security num...
[13 replies] Last: oops, I forgot to add const char const* getName() const (by stereoMatching)
Small problem organizing a matrix
 
For my class I need my program to fill a matrix with random numbers then organize those numbers in descending order. It took quite a bit of time to get my sorti...
[no replies]
Variable number of parameters to a method
 
Hey everyone, I'm having trouble writing code to pass a variable number of strings to a method. Everything compiles correctly, but it errors out: #includ...
[3 replies] Last: Wow, thanks for that! I've only been programming in C++ for a week, so... (by Epicism)
c_str
 
I need some input on how I should go about writing a program to take in information, do some un-important stuff, and spit an answer back out. In order to be ...
[4 replies] Last: but that's not the problem. There is no confusion on how to actually s... (by billywilliam)
by Maerle
find a error
 
#include <iostream> #include <conio.h> #include <stdlib.h> using namespace std; class Elevador { int andarATUAL; int andaresT...
[1 reply] : and is reserved keyword -our IDE will highlight it different from no... (by matsom)
C++ problem
 
Hey guys! I am struggling with a problem! Can anyone help me? Write the program: main asks user for string, calls function reverse with array as argument, th...
[7 replies] Last: well i'm not used to logging in forums and be called an idiot as a rep... (by cplusplusnewbie)
Basic 2d array help :(
 
int main () { int x=0; int a=0; int count = 0; char cont; ifstream infile ("Do_Not_Delete"); int database ; ////////...
[1 reply] : 2D array that contains some strings and some ints. that's not possib... (by matsom)
by cpp511
List of Words
 
I am trying to write a program where the user inputs a sentence and the program outputs each word on a separate line. I know I need a loop but I don't know how ...
[6 replies] Last: "haven't learned replace functions" Why would you let your class hol... (by ultifinitus)
by kid
Array Fill (display array problem)
 
Hello. main.cpp #include <iostream> #include <cstdlib> #include <ctime> using namespace std; int Random(int low, int high){ // Random numbers...
[5 replies] Last: Thank you for helping.This is the new output : Array = {96,58,9,19,... (by kid)
April 2011 Pages: 1... 3233343536... 55
  Archived months: [mar2011] [may2011]

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