Beginners - August 2014 (Page 35)

by ting
compiling error while using unique or unique_copy with multiset.
 
I defined a class with the name of wordMultiSet, inside there is a private variable: multiset<string, CompareWords> wordset; then in one of the member functi...
[4 replies] Last: See my previous post in this thread. (by cire)
Somewhere I can learn more C++
 
So I have started picking up on C++ again, and I have been learning from antiRTFM. (he does youtube videos and explains C++ very well imo). But I have thoroughl...
[2 replies] Last: Just an extension to my reply, here is some ideas for practice by ano... (by Codermik)
Problems with the string library...
 
Write your question here. Hi, I am a bit, no a huge novice in C++. I was just sifting through the tutorials, testing them out, that sort of stuff. I ran in...
[2 replies] Last: Thank so much for the quick response! Sorry if my questions are a bit ... (by Resonance)
Array Newb Question
 
Have an issue with an array within a class that should be populated with values via function calls. Now the array is started within the class as std::string...
[2 replies] Last: Thanks for the assistance, I managed to figure it out. ^^ (by kparker)
by danzal
c2276 error
 
i get an error in this line while(!infile.eof) // To get you all the lines. #include <iostream> #include <fstream> #include <string> using namespace ...
[1 reply] : void main() isn't valid. it should always be int main() The cor... (by Chervil)
Error 400 Bad Response
 
I finally got my POST request to work. BUT, apparently the header format is wrong. I get error code 400 bad response, ("server could not understand") So I ONLY ...
[11 replies] Last: Hmm, that was a while ago, can't remember. I solved the problem, but I... (by user123)
by davez
Help with Functions
 
Can someone help me understand whats the use of number in this function bool isDiv (int number, int div) { return number%div; } bool isPrime (int number)...
[2 replies] Last: As wildblue said, your logic is off. number%div calculates the re... (by AbstractionAnon)
Change color of specific characters in console pt.2
 
Hello! Im brand new on this forum (and sorry for my poor English, but I'll do my best), expect a many questions from me as Im the beginner in C++! ;-D . But I l...
[4 replies] Last: hey, thanks! The second code is something like I wanted! It has some m... (by drefekt)
syntax problem
 
could you please help me? What does this mean? ( unHandleStatus & 0x01 ? 1 : 0 ) Where unHandleStatus is an unsigned int Thanks a lot
[2 replies] Last: It's just a compact way of writing an if-else statement. See Conditi... (by Chervil)
Function not working...returning ambiguous error.
 
http://www.cplusplus.com/ico/forum_question.png Hello everyone, I am trying to learn C++, like so many people on this forum, and have been told that some ...
[3 replies] Last: Your welcome :) (by Codermik)
by Yeech
Printing data columns
 
My function is meant to read data from (x) rows and specifically five(5)columns. Currently, I am only printing the last data entry from the last row (x) times. ...
[3 replies] Last: Why i should print anything at all is because it is a requirement Yo... (by keskiverto)
what type?
 
Hello, I am new to c++, still learning and this site is great help. :) I have dilema about data types and hope someone will help me resolve it. For example,...
[3 replies] Last: Thanks a lot for help. I didn't know there is long long type, that... (by CupaviLeo)
Which is Which?
 
Hello everyone.. I use Dev C++ from Bloodshed... and i have this very well not really that big.. but for me it's very weird question.. for myself.. i study BSCS...
[3 replies] Last: okay thank you for your replies :) it was a big help (by Herleos)
Does for have meaning?
 
I've found that while and do while loops were both easy to learn because they both have obvious meaning in the English language but the for loop doesn't seem to...
[3 replies] Last: For each integer i between 0 and 5, do something with i. for (int i... (by Peter87)
Logic Problems? Need help.
 
Greetings programmers. I hope to someday be able to include myself among the ranks of those of you who are going to probably look at this code and see the issue...
[3 replies] Last: Nevermind, I already figured it out. I'm more in awe now of how you fi... (by Bad Reg)
Craps game
 
I'm new to C++, so I have like very little knowledge...Please no complex codes. Here's my question: So I have created a working code for an alternate vers...
[3 replies] Last: Ok thanks giblit! :) It worked :D (by themarksman13)
by AmayaA
Password programme
 
Hi, i keep getting this error message when i compile in Dev C++. 'function' does not name a type. #include <iostream> #include <string> #include <io...
[9 replies] Last: You don't declare variables and functions by declaring them with "var"... (by IWishIKnew)
by EzraJN
String subscript out of range
 
I am trying to write a function that will read a command and then allow the script to continue, but I get an error that says the string subscript is out of rang...
[2 replies] Last: I guess I over thought it a lot, thanks! (by EzraJN)
please help me
 
how can i put animation my word ("bpsu") that is moving from the left to the right and ("bpsu") from the right to left using stdio.h,conio.h,iostream.h,dos.h ...
[1 reply] : I am not sure if you found my other post on the other question, so i a... (by NoviceNate333)
Need Help With C++ Practice Program
 
Sorry in advance if the code is messy Okay so Ive been exercising my C++ skills a little bit lately and I have gone about making a soda machine. Its gone gre...
[4 replies] Last: @NoviceNate333 Thanks a lot Nate ;) I completely forgot about enum and... (by FrankMcDonald)
August 2014 Pages: 1... 3334353637... 40
  Archived months: [jul2014] [sep2014]

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