Beginners - March 2010 (Page 30)

display the contents of a stack in reverse order
 
/** Display the contents of aStack in reverse order. * * @pre None. * * @post None. * *...
[4 replies] Last: oh, I think I see what you are saying.... (by kyleg033)
by gcr114
uninitialized local variable simple but aggrivating
 
Hey, im pretty sure that uninitialized local variable means that something isnt declared properly..i...
[3 replies] Last: If a variable was neither initialized nor assigned you shouldn't use i... (by Danielsson)
by Apex
Windows Form GUI Question
 
Hey, I'm making a form screen and one problem is that when I create a button, I want to link it t...
[1 reply] : Well to start another process (program) you can use CreateProcess() ... (by AlwaysLearning)
ifstream Need to read from file and output what's in it
 
Need the program to be able to find the .txt file, open it and read strings/what's in it. Then I ha...
[2 replies] Last: I was able to fix it as shown below...thanks for all your help ---... (by rapduty)
A little info would be greatly appreciated
 
I am working on a school assignment that is a convenience store. I have posted the assignment below ...
[no replies]
using vector in fstream
 
i have a problem using fstream and allocating them into vector problem statement: create a progr...
[1 reply] : You need a function to read the data into a Student , and you need ... (by Duthomhas)
append() function
 
I am trying to use the append() function with a string: string my_string; char my_char = (c...
[5 replies] Last: std::string is basically just an std::vector with a few functions for ... (by helios)
Need some advice
 
Sorry Here is my new post with code tags. New to the site. I am working on a school assignment th...
[2 replies] Last: could you elaborate on this. I have worked with print functions, but h... (by CRBottini)
method Vs function
 
I'm a little (or a lot?) confused as to what the difference is, if they are indeed different, betwee...
[7 replies] Last: Function: a portion of code within a larger program, which performs a ... (by helios)
expected primary expression error
 
Sorry last post was kinda confusing. Here is the coding for the whole program. Its a school assignme...
[9 replies] Last: Thanks tummychow. Appreciate the help. and thanks everyone else... (by CRBottini)
Strange operator= bahaviour
 
I'm doing an assignement where I'm writing copy constructors and operator= constructors to copy obje...
[8 replies] Last: ShipLoad::ShipLoad(const ShipLoad &obj) (by Disch)
stream string
 
I'm working on a project for class to make a kiosk for ordering items. One of my fellow students sug...
[5 replies] Last: http://www.cplusplus.com/forum/beginner/13044/page1.html#msg62827 See... (by Duthomhas)
isostream not working
 
when i put in this basic code into borland C++: // operating with variables #include <iostream>...
[6 replies] Last: You can still just double-click the exe files... that's a Windows feat... (by Duthomhas)
Functions...Again
 
How do I turn this into a function? #include <ctime> #include <iostream> using namespace std...
[3 replies] Last: I think i get it now. thanks alot :) (by vection)
How is a friend function represented in a UML diagram?
 
I would assume it is identical to a constructor. So for example: constructorName(item_value: typ...
[no replies]
Combat system
 
hey... i'm working on a combat system and getthis error.... Error 1 error C2446: '==' : no conv...
[7 replies] Last: No if you make it either: char command; cin >> command; if(comma... (by gcampton)
What kind of variable declaration is "char&"?
 
What kind of variable declaration is it when you put the " & " sign right after specifying the type ...
[2 replies] Last: Now I see. Thanks Disch. (by neshtak)
Asks for a filename from the user using Character Array
 
I have a program that ask a user to give a name of a type of file such as .txt file, and then make 3...
[3 replies] Last: Thanks Duoas...it worked perfectly... (by rapduty)
by Rizzla
Pass String Through Function
 
I'm trying to pass the contents of a the file (Assignment3.txt) into a string. The text in the file...
[1 reply] : Look at lines 18,19 You're reading the string into 'str', but then ... (by Disch)
by dgirl
create a header file in c++
 
Can anyone help. I created a program and now I must create a header file to use with it. Here is the...
[no replies]
March 2010 Pages: 1... 2829303132... 34
  Archived months: [feb2010] [apr2010]

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