Beginners - October 2012 (Page 16)

by snx
passing 2-d array to a function
 
I'm new to c++ programming and I'm trying to pass a 2d array into a function for input, but I keep getting the "cannot convert parameter 1 from 'unsigned int ...
[5 replies] Last: Problem solved Thanks for your help. Here is the solved code for those... (by snx)
error unresolved unternal symbol
 
#include <iostream> using namespace std; class gra { private: int g; int g2; public: gra(); gra(int a,int b); gra add(const gra& rhs); }; gra::...
[3 replies] Last: Having Problem with dxva dxva checker report ATI Radeon HD 2400 Mode... (by Fakherthe1)
kyword this
 
guyz!!!!can u please guide me about that keyword "this" which is used with "->" that operator.what is meant by "this" with "->" in c++.................thnxs !!!...
[1 reply] : The 'this' keyword references the name of the calling object. So if I ... (by slider57)
Overloading operators help
 
I need help understanding how to overload my arithmetic functions in my code, im not asking for it to be done, but i need help. here is what I have: //F...
[1 reply] : You'll want to use the operator keyword, and its usage is almost exact... (by pogrady)
by abry
C++ Password censorship and backspace.
 
I am having troubles in the part of entering the password. I can't figure out how I'm going to exclude the backspace key, delete key, enter key, and other speci...
[9 replies] Last: Well thanks everyone. I got it to work now, and its perfect. :D #incl... (by abry)
Very basic array question - help me understand this code.
 
#include <iostream> using namespace std; int main() { int i; int score ; int max; cout << "Enter 5 scores: " << endl; cin >> score ; ...
[1 reply] : But if what I'm saying is correct, since the very first number entere... (by dharmatic)
by htown
Deck of Cards
 
I would like to create a deck of cards, however i'm getting a syntax error here: deck = Card(c,z); I'm not sure why.. Thanks struct Card{ public:...
[2 replies] Last: invalid conversion from int to Card::Card (by htown)
Array, structure and function problem
 
Hi guys, I'm trying to pass the 'collection ' array back up into the main function after it has been populated but no matter how I try and declare it normal...
[1 reply] : You defined your function as: void AddSubscriber(int&, char ); Then... (by jlb)
Search for a String and Find the Rank (1,2,3)
 
I was assigned a problem where I have to ask a user to enter a name he or she would like to search for. I have a text file of the most popular 1000 male and fe...
[41 replies] Last: Why should it? You would be saying "if the name didn't match, say it ... (by Lowest0ne)
Integrating old Function into newly Modified code.
 
If anyone would take time to look at this, I'D like to keep main, as free of as much code as possible, while doing something similar to the outdated code, where...
[1 reply] : so any help integrating that into my code, while keeping main as clear... (by brandonator)
Can someone help me with Class array
 
This is my Assignment: Create a class to act as a generic array (i.e. the user will be able to choose the data type to be stored by passing the appropriate tem...
[7 replies] Last: yea.. i know the basics of constructors and destructors.., i got confu... (by boazgeorge)
A Beginners First Tic-Tac-Toe
 
I would like to post my first real program. First of all, I'd like to say, that this may not be the best way to write this program, or the most efficient way o...
[3 replies] Last: and I haven't read up on things like 2d arrays. 2d arrays are prett... (by TheIdeasMan)
I could really use some help with this program
 
Hello all, I have spent the last few very late nights trying to figure out this code. My instructor for my intro to programming course is having us create a ...
[no replies]
File time not working ?!?!
 
BOOL File() { SYSTEMTIME Time; GetLocalTime(&Time); SYSTEMTIME FileTime; FILETIME CreationTime; LPSTR Path = "C:\\Users\\User\\Desktop\\File.dll...
[no replies]
by mHart
Problem with Craps Program
 
Hey guys been trying to figure out what I'm doing wrong for like an hour. For some reason For some reason it won't read in Loss at all it will only say that...
[no replies]
Please tell me what the problem is with my program
 
I wrote a program that determines what rank the name (popular one is the first) that user entered is. The problem is that the output is supposed to show ran...
[1 reply] : why isnt anybody helping me.. (by ruin9898)
by Noble
My do-while loop only counts every other step. Help?
 
Hi everyone, I'm trying to complete a program that sort of snowballs multiplication, for lack of a better word, and after about an hour of tinkering with the co...
[2 replies] Last: Ah that fixed it, and that definitely made sense. Thank you very much ... (by Noble)
Program is giving me gibberish
 
Hi, I wrote a simple program that uses a few yes or no questions to give a commercial a score that tells how stupid it is but instead of giving me a score, it...
[2 replies] Last: You're declaring StupidScore as a char, but it should be an int. Just... (by freddy92)
(Please Help)Pass or Fail with Percentages
 
I'm trying to get how many student pass and fail along with the percentage of students passing and failing. Any and all help is appreciated. #include<iostrea...
[2 replies] Last: My percents still don't work but the rest does now. Any ideas? #incl... (by GIjessiebear)
Online Compiler?
 
Anyone know of a good free online C++ compiler? I would like to be able to compile my code while at work (and work on homework) I use Complr, but I'm running ou...
[2 replies] Last: http://liveworkspace.org/code/ (by vlad from moscow)
October 2012 Pages: 1... 1415161718... 84
  Archived months: [sep2012] [nov2012]

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