Beginners (Page 72)

by jhkim3
Hello, My name is Jae Kim and I am currently studying c++ on my own (I am currently studying "Jum...
[8 replies] Last: I would be down for turning this into some organized type of mentor/me... (by Immo)
by Naulee
Write Backward using recursion
I'm having trouble reversing a string of n length using recursion. So far I've gotten it to print "e...
[12 replies] Last: Considering this lab is about recursion and this problem is for a lab ... (by JayZom)
by NoBark
Debug Assertion Failed!
ok so im lost... #include <SFML/Graphics.hpp> #include <iostream> #include <fstream> #include <cc...
[3 replies] Last: Somewhere, your 2D vector is going out of bounds. That's what the "ve... (by JayZom)
Using loops
Im a new coder when it comes to loops. i have worked with GML but c++ is more unforgiving. I am tryi...
[17 replies] Last: No problem (by Jacobhaha)
Checking a Match After Each Guess
So I had a previous thread about functions. I have all my functions down, I hope lol So now, I want ...
[4 replies] Last: Amg I figured it out. The for loop in getguess had it going and going.... (by justinc978)
by NoBark
Debug assertion failed
Just started working with SFML and cant get this to work im trying to get a sprite to move on the sc...
[6 replies] Last: One thing to keep in mind is that defining global sfml objects is a no... (by cire)
Simplify nested loops with functions?
I have to re-engineer, re-write, simplify and modularize my program’s source code using functions....
[6 replies] Last: So how would I set the variable? (by ApertureScience101)
Help With array
I need help with some guidance, there's this equation for calculating 2D array matrix , and it goes...
[2 replies] Last: ya, i know i'm being very vague. A is suppose to be the matrix I and... (by Shipoopi)
by EvE12
Code editing
So this code should print the reverse of any number user enters example: 123 output: 321 but in l...
[3 replies] Last: You can either change the sign of the first element of arr that is bei... (by JayZom)
by wolfv
error: type 'nested class' is not derived from type 'class'
What does this error message mean? C:\Users\wolf\Documents\demo_MinGW>g++ staticDestroy4.cpp stat...
[no replies]
Only getting one answer
no matter what answer I enter, the answer keeps popping up as "you owe $250 dollars." #include <c...
[4 replies] Last: You need to take into account that, for example, January 31 is "less t... (by dhayden)
by leryss
Problem with comparing string characters
I tried to create a program that counts the number of words in a line by comparing " " with every ch...
[7 replies] Last: Try this, I use strtok() function to tokenize or break the line into p... (by tanezavm)
need urgent help on a project
I'm just starting to use c++ and I've to make a hangman type game as a project. I have no idea what ...
[2 replies] Last: I've got this to open the file: void openfile() { string getword; i... (by patrickstewetOG)
by qazedc
libraries to start programming
What libraries are good and easy to start programming (cmath, iostream, fstream, cstring ...)?
[7 replies] Last: thank you all (by qazedc)
hi guys, i need help with this exercice
2. Write a program which will make some operations on a set of randomly generated numbers. First w...
[1 reply] : Please check the code below, randDouble() which generates random numbe... (by tanezavm)
Switch Statements Trouble
Hello, I'm currently taking a C++ course which I thought would be a worthwhile class. I know how to ...
[2 replies] Last: The condition within a case has to be a constant-expression. case (t... (by PopEye)
I am working on a sudoko program and the final grade is based off of how well the program solves sud...
[2 replies] Last: I wrote a sudoku solver several years ago. It was a lot of fun. You d... (by dhayden)
How to ask user if they want to run program again?
I have to have this program loop if the user is asked if they want to run it again, I know i might h...
[5 replies] Last: Try a do-while loop. It will run through once before checking the cond... (by HatchetMan302)
returning multiple variables from functions
What I'm trying to do is return int, int, string variables from one function back to main and then...
[2 replies] Last: A function can only return one thing, so if you want to change multipl... (by HatchetMan302)
by davtk8
Put a limit on string size in a string array (using C-style Strings)
Hi, how do I tell the if statement to output this error message 'exceeded the maximum amount of char...
[no replies]
Pages: 1... 7071727374... 92
  Archived months: [nov2014]

Cannot post in this page. To post a new message, go to the first page.