Beginners - August 2012 (Page 26)

im a beginner :)
 
what is a function prototype?
[2 replies] Last: oohhh! so that's it, prototype is the declaration thing. thanks again.... (by nicole Yoonzy)
Can't find problem - long compilor error (1,2)
 
Hi, I was trying to create a program where you create a person using a "Human" class. But I am getting long compiler problems. Can someone find the problem? #...
[21 replies] Last: Ok, I think it is improving, since I am no longer getting error messag... (by MaxLascombe)
by Owain
Trouble understanding...
 
Hello. I do not have any questions on a specific C++ problem, but more of a fundamental lack of understanding. I dont understand how things like the allocation ...
[3 replies] Last: Each platform has its own version(s) of the standard library. (by Peter87)
Sorting Objects in Vector
 
Yes, I realize it wasn't the best idea to use a vector for this... Code : http://pastebin.com/LgqRXSe3 The vector should sort the employees with the largest ...
[10 replies] Last: you seem to know what you are doing That's been his plan all along. ... (by Volatile Pulse)
TC0000.swp file issue
 
Greetings, I have Windows Server - 2008 with 10 terminals connected via N-computing. I have installed Turbo c++ on the machine. When 2-3 users connect an...
[1 reply] : Shame on you. Shame on you, for using such an old, pre-standard compil... (by Catfish2)
:/ function not doing ANYTHING
 
void AddNewResident (char userOption, RecordType ResidentRecords , int& counter, string userSocial, string userLastName, string userPhoneNumber, string us...
[3 replies] Last: Hey, I would like to give you a function I think will come handy as yo... (by closed account j2NvC542)
by Ralden
Working on a very basic game, and I need some help
 
Hello everyone. I am very new to C++ (only been at it for a few days) and I am making a very basic text based fighting simulator. I've run into numerous pr...
[2 replies] Last: Ah, thank you so much! So the problem before was what? I see now, th... (by Ralden)
String subscript out of range..
 
string ReadAndValidateUserLastName (string userLastName) { bool check = false; while (!check) { check = true; cout << "Enter Last Name: ";...
[2 replies] Last: and also There is problem with "getline"after a "cin>>" input ,u ca... (by Benjay)
Printing an Array after passing it to a function
 
I'm trying to pass an array from a function to another to print it, but the numbers are not displaying properly. #include <iostream> using namespace st...
[4 replies] Last: Oh that works! Thanks for all the help! (by kichithewolf)
Good "complete" c++ tutorial
 
Hello. I have gone through two full c++ video tutorials and read through some text tutorials on my phone. But i learn ALOT new stuff everytime i read a new one....
[13 replies] Last: I'd suggest Notepad++, Code::Blocks, or even a program built off of Op... (by Volatile Pulse)
Removing \n from end of file output?
 
I am using a linked list to create a password class. One of the methods is to update the password.txt file that is formatted as such: 1111 2222 3333 4444...
[5 replies] Last: http://www.parashift.com/c++-faq/istream-and-eof.html Thank you ... (by scarywoody)
Help with replacing letters
 
Hi, I have a small problem with my program, what it does is it asks the user to input a name, lets say "summer", then it asks the user to input a letter to find...
[2 replies] Last: Thanks and I think its for the char. someone told me when you make a ... (by ma21212)
by Ch1156
Accessing stuff from class
 
Ok so i hasve a class and i cant access a string or another variable for some reason, what am i doing wrong? im trying to use name and age in main. also in save...
[5 replies] Last: or no i meant protected sorry. ill look at my errors and try to fix th... (by Ch1156)
Can someone explain my possibly logic error in main
 
// global constants const int MAX_RESIDENTS = 500; const int EMPTY_ARRAY = 0; ifstream textIn; const int SSN_LENGTH = 11; const int LAST_NAME_LENGTH = 15;...
[4 replies] Last: You need to update userOption in main. userOption = DisplayMenu(userO... (by Peter87)
Object pointer points to?
 
Hi everyone, I was just wondering, I know about pointers and now know (little) of objects. I just came up wondering, what exactly goes beyond the scene wh...
[2 replies] Last: Thanks for the quick reply; in the future, I'll definitely try to expe... (by sfBlackfox)
Need help with this guessing game
 
Ok so this was the assignment: Write a program that picks a number between 1 and 100, and then lets the user guess what the number is. The program should tell t...
[5 replies] Last: WOW thank you soooo much i was pondering over this for almost 2hrs bef... (by chaosGlaaze)
need some help please
 
Ok guys here is the assignment...Write a program that simulates a coin flip. Run it many times—do the results look random to you? I managed to write the progr...
[9 replies] Last: just try to PM you another problem but it says you don't accept PM i p... (by chaosGlaaze)
Nice design
 
Hey guys, I'm new to cpp and it all coming up in the cmd is kind of ugly. Do you know how to make it look nicer?
[7 replies] Last: Tou can use system("color xx") if you are using Windows and you are ... (by Owain)
delete repeated value
 
Write program to delete each node, if has repeated value #include <iostream> #include <list> using namespace std; void add2List(list<int> &L) { int val;...
[4 replies] Last: @Volatile Pulse Thank yooooou soooooooooooo much #include <iostrea... (by Bassam300)
Logic Error?
 
#include "stdafx.h" #include <iostream> #include <iomanip> #include <string> #include <cctype> using namespace std; const int LAST_NAME_LENGTH = 15...
[14 replies] Last: #include "stdafx.h" #include <iostream> #include <iomanip> #include... (by scu1casper)
August 2012 Pages: 1... 2425262728... 45
  Archived months: [jul2012] [sep2012]

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