Beginners - October 2013 (Page 79)

Wrong amount of elements in my array?
 
Hi, I decided to made an account for some c++ help. I have made a vector array of objects which r...
[11 replies] Last: You do have its own instance of cardDeck in each card. And it is a mir... (by MiiNiPaa)
Aborted (core dump)
 
Alright, so I got some help earlier, that seemed to work, and now I'm experiencing problems running ...
[3 replies] Last: Thanks a ton for the help! (by catalanor0220)
Nested For Loop
 
I have a piece of code that I need to analyze to determine its output just by looking at it. I ran i...
[15 replies] Last: Oops, yes, you're right. It does NOT happen before the first iteratio... (by MikeyBoy)
by aggsyb
checking If a vector contains x integers?
 
If I have a vector that contains 5 integers 2,6,9,19,20 , how can I write an if statement to say i...
[7 replies] Last: > The "simplest" way I guess would be a long statement to say if myvec... (by JLBorges)
by hah49
strcpy and strcpy_s
 
Hey guys .. every time i use strcpy in my program i get a warning .. not an error but just a warnin...
[2 replies] Last: [quote=hah49]i have to get rid of these warning .. There should be op... (by MiiNiPaa)
Help with changing a program
 
Hello, i would like to change this program that someone on this forum helped me make, the program wo...
[4 replies] Last: Thanks guys. i got it, thanky ou for the help once again, i love this ... (by ashmedai)
by Aibsr
friend classes and list<ClassSomething*>
 
Hey So i have class X with a list of <ClassY*> (There are classes inheriting from Y) and i want to ...
[8 replies] Last: Thank you for your help:) (by Aibsr)
Creating own strcmp and strcmpi
 
We are asked to make our own function for strcmp and strcmpi. This is probably wrong, I'm quite clue...
[1 reply] : #include<iostream> using namespace std; int ownstrcmp (char str1 , ... (by karlsanada13)
String replacement help
 
in the code below.....I'm getting 4 errors (2 for the same line) 1.) expected constructor, destr...
[2 replies] Last: this is a homework assignment using replacement strings. When the code... (by doctab18)
Help w/ code error (1,2)
 
I keep getting the error "expected declaration before '}' token" and I don't know what to do to fix ...
[20 replies] Last: [quote=tryui23]I never did define it..... how do i define? You don't, ... (by LB)
by wolfv
How to instantiate static array of interlaced objects?
 
The following code instantiates a static array of interlaced objects. The objects alternate between...
[3 replies] Last: Don't forget to delete them afterwords! (by LB)
Need help with a clock related code
 
Hello there good people of the cpluspluss forums. I am currently writing code for a program that is...
[6 replies] Last: After line 12, you need to use cin to ask the user, otherwise how will... (by LB)
Right-justifying, user-input numbers
 
I am prompted to input three integer numbers, one at a time. Is there a way to right-justify those ...
[9 replies] Last: Not quite right-justifying input, but perhaps this may suffice: #inc... (by JLBorges)
IDE or not?
 
So I'm getting mixed opinions from people all over. In some instances people tell me IDE's are li...
[6 replies] Last: - i don't get what you mean by that, it's just a compiler ... - Here... (by keskiverto)
Convert Strings To Numbers
 
I have to have a menu page (as a string menu, as below, which returns a string data type) if the use...
[11 replies] Last: @NwN No need for apologies, I always have respect for what you have t... (by TheIdeasMan)
by aspic
Login
 
excuse me ! help me please! how can i make the program say that if i created an account ex. name:...
[5 replies] Last: Another idea is to use C++11's unordered_map . It allows for a key (b... (by TwilightSpectre)
signed hex to dec converter
 
When I run this program for converting Dec to Hex works perfect, but in Hex to Dec, I get a debug er...
[1 reply] : First problem that this is not a conversion to signed Hex. It looks li... (by MiiNiPaa)
error pinpoint problem
 
Regardless of what i input, even if its the correct answer. i don't know why it goes directly to inc...
[7 replies] Last: dev c++ (which is what my school is forcing me to use) is out dated. :... (by themandrius)
by SSEKA
How can i Extract Data from a txt file
 
How can i extract data from a text file and implement the answers to the code and give the results w...
[1 reply] : Didn't actually read code thorough, but there is some advice: 1) Check... (by MiiNiPaa)
More help
 
Write your question here. . turns out the error is actually in my webcount.h file 1 2 3 ...
[7 replies] Last: Also delete lines 3 and 4 in your code - they aren't necessary for tha... (by TheIdeasMan)
October 2013 Pages: 1... 7778798081... 86
  Archived months: [sep2013] [nov2013]

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