by admin
Welcome -- read before posting!
Welcome to the beginner's forum in! In this forum, users can to talk about any topic relate...
[2 replies] Last: How To Answer Questions in a Helpful Way Be gentle. Problem-relat... (by admin)
Console Closing Down (1,2,3,4,5,6,7)
Hi, i am new to C++ and have just written my "Hello World" program. It worked all right but the cons...
[120 replies] Last: It displayed "Hello world" after you pressed Enter. int c is a ... (by Duoas)
OffsetOf getting wrong value
struct SSomeData { char mcChar; double mdDouble; bool mbBool; }; int main() { ...
[1 reply] : OffsetOf getting wrong value Any time you find yourself saying somet... (by cire)
Visitors - are they even useful?
Hi, I just read about "visitors" in Stroustrups book in context of polymorphism. Fo example cl...
[11 replies] Last: Dude this is amazing how much you have typed for me and I really appre... (by etrusks)
by Ansev
Vector elements into contiguous memory
G'day Is there a way to move the elements from a vector <bitset<6> > into contiguous memory while re...
[1 reply] : > need to be able to convert the segments i grab (in various sizes, ra... (by ne555)
Key Letter
I am very new to this and working on a project that requires me to use char getKeyLetter as an input...
[no replies]
c++ * / decimal issues
Pretty much all i need to know is how and why when i do my calculation for monthly interest it does ...
[2 replies] Last: Thanks a lot! I thought what i was doing was taking X and then stating... (by vyneroon)
SFML woes
Trying to get SFML to work using the Code::Blocks IDE. I thought I followed the instructions at ht...
[13 replies] Last: Yeah, why was TheIdeasMan referenced, do you see similarities in us o... (by TheIdeasMan)
Convert to upper and back
So I have to create a program that take a string and brings it toupper then brings it back tolower h...
[6 replies] Last: Okay so that is fixed now, however now I have to run a reverse functio... (by theotherguy8883)
wrong input handling
Hi can you help me with my code. What I want to happen is it loops when it enters an invalid input, ...
[1 reply] : Probably be better to use a do while loop or a recursive function fo... (by pnoid)
by THirt
Video Game Player Program
I am having trouble getting my program to get my program to display the data for the players that sc...
[1 reply] : I think you may need to read the sticky at the top of the Beginners fo... (by mgoetschius)
How do I let variables change based upon a string entry?
Hi! I'm setting up a fight system for my text adventure/rpg, and I got random rolls to meet differen...
[3 replies] Last: int DEATHDRAKE.mdamage = 35; int DEATHDRAKE.mhealth = 380; Your use... (by xismn)
by Atrain
Hailstone sequence
Hi, I am trying to figure out how to list the hailstone sequence numbers after I type in a random nu...
[5 replies] Last: No, what I meant was, after having studied this for over ten years, th... (by Duoas)
by sjdods
I'm stuck on trying to get the rows and columns to read from the data file of the matrix
I need it to look like the below output however I am having trouble getting it to work. This is what...
[3 replies] Last: Okay, I'm looking at it. Will edit this post shortly. Alright. Don'... (by Duoas)
how do i make repeating numbers appear once
i read in a file and arrange the file to something like this: 1 2 3 3 4 5 7 7 8 8 9 9...
[5 replies] Last: i think the questions are quite similar... this is what i had in mind... (by StupidLag)
Why does it assign wrong value???
Hey guys,my exams are near, so I wondered why not make a program to guess my Marks (and the aggregat...
[3 replies] Last: One more thing, I dont know what you're trying to do here, but you def... (by TarikNeaj)
convert a vector of strings to vectors of char
I have a vector of string which, say, contains three words: send more money I want to convert ...
[1 reply] : Take a look at this thread, the last example: (by AlphaFoxAlpha)
Printing symbols using a for loop
Hello! I am taking my first ever coding class, and we are using C++. I kind of understand how a for ...
[3 replies] Last: If i understand you correctly, then you want something like this: for... (by AlphaFoxAlpha)
Request for thread removals
I have been asked to have the code written in response to my threads removed from the site as soon a...
[14 replies] Last: Twicker is the one to contact, but he may not agree to remove any co... (by Duoas)
Little problem in game
So, the following is a little game I am working on it, all the things are going good but I am facing...
[10 replies] Last: Ok if other are not answering my question but it is good choice not to... (by ZahoorKhan)
Pages: 123... 37
  Archived months: [dec2015]