Beginners (Page 76)

Deleting contents frmo std::vector
 
I have a scenario where I need to delete the contents of an std::vector. // some code that po...
[2 replies] Last: Please use code tags when posting code. http://www.cplusplus.com/artic... (by Catfish666)
C++ Sudoku using Backtracking/Recursion
 
My teacher wants us to make an NxN sudoku puzzle and solve it using random numbers from 1 to N. The...
[2 replies] Last: Yeah, it's what we are learning in class, so he wants us to know how t... (by jessemcready)
C++ Shopping Cart
 
Hi guys! im having a hard time completing my program. im stuck with adding products only please help...
[5 replies] Last: our professor told us to make use of And so did I too. (Without even... (by keskiverto)
by Cassie
C++ NOTEPAD ERROR
 
I HAVE A PROGRAM THAT I CONNECTED TO NOTEPAD. IT WORKED BUT THE OUTPUT ON MY PROGRAM CAN'T DISPLAY O...
[10 replies] Last: It still question mark. But thanks a lot :) (by Cassie)
Understanding the comma seperator in loop
 
If you have something like this, do{ //stuff while(a, b, c, d > 100); So what ...
[10 replies] Last: It is legal C++, and and it will run. However, the only condition whi... (by MikeyBoy)
Printing characters from array values
 
How would I get this to print out? Sorry, the ouput isn't showing up like it should! The amount of ...
[14 replies] Last: Never doubted you for a second, well done :) My whole point of my p... (by Softrix)
by Ch1156
How to separate words into different vectors
 
Ok so im trying to split words up into two different vectors, the words are on the same line separat...
[6 replies] Last: ok awesome i got it working, now what about whjat he said about the te... (by Ch1156)
by Legato
What are loops and when are they used?
 
Hi, I have a general idea of how loops are used, but i'm not really grasping the fundamental trut...
[4 replies] Last: For loops are only useful because of the way you use them, you could r... (by LB)
Allegro display stats
 
so what i want is a program to display the stats of a character in a text based game. i am new to gr...
[1 reply] : ok. haha sorry disregard this i figured it out. i was right with the w... (by Antone333)
Function problems
 
I've been at this for a couple hours and i know i'm making some pretty stupid mistakes. My brain fee...
[6 replies] Last: So as I see it you are trying to use that function to read in data fro... (by Zhuge)
logic errors in fraction manipulation
 
Hello, I was assigned a program to write dealing with structs this week for homework. When I build t...
[1 reply] : There are two problems with your reduce() function. 1) If the conditio... (by Daleth)
Probs w/
 
Problems with pausing program execution. I resolved on my own how to pause the program so I could...
[3 replies] Last: Please, look at this sticky on how to hold the console: http://www.cpl... (by usandfriends)
what to return on a struct function
 
Hello, I'm having some trouble with my homework assignment that involves structs. I have the structu...
[4 replies] Last: I see. I'm not really sure how or where I should define this. I tried ... (by Razor 158)
by adeqze
Wrong looping reading through
 
Hi, I am new to C++. I am just learning. I wrote a program that shows the repeated letters in a st...
[1 reply] : You print out a letter every time you find a repeated one. Since there... (by Zhuge)
While loop issues
 
So this is my first attempt to a while loop and I can't figure it out. The code works just I want it...
[4 replies] Last: Check and Check that made perfect sense. Thanks for your help. (by MRangel)
Board won't work correctly
 
I'm making a board for a game I am making, and the player won't display or move correctly when I run...
[4 replies] Last: When I was testing it, I was just inputting into a variable and then o... (by Jamerack)
text file output problem c++
 
I have a text file template.txt: ********************************************************* To: |1...
[no replies]
by wolfv
getline() breaks fstream?
 
The following code appends text to the end of tests.txt file as expected. But when I uncomment the w...
[2 replies] Last: Thanks long double main! testsFile.clear(); fixed it. (by wolfv)
by acorn
difference between these functions and const correctness
 
I know that a const variable cant be changed. I also understand that a const reference as a functio...
[1 reply] : In the case of these return values, there is no difference since you a... (by Zhuge)
bad alloc error when reading from a file
 
Hi all, So I am working on a program for my class and running into "bad alloc" whenever I try to ru...
[2 replies] Last: Thanks a lot for the help! So now it runs all the way through without ... (by dshoe19)
Pages: 1... 7475767778... 119
  Archived months: [feb2014]

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