Beginners (Page 74)

SDL2 memory overflow on minimize
 
i was writing a game in sdl2 (and lua 5.2 for modding). while i was trying to optimize the game i mi...
[9 replies] Last: Why don't you like posting your code? i hate to admit it but i'm no... (by herrybiscuit)
loops while
 
hello guys .. please can anyone help me in solving this problem .. *write a program that asks ...
[2 replies] Last: I am guessing that you are asking us for a whole solution. So you do n... (by o0reyiz0o)
Text File as input to String Assignment IP (1,2)
 
I need help to use a text file as input to a string assignment #include <vector> #include <s...
[28 replies] Last: There is more of the Weblog.txt but it would be to much to post. I nee... (by mike1971)
by Emy Y
Greedy implementation not working as intended
 
Problem: For a given maximum weight and a given number of objects,each with their own value and wei...
[3 replies] Last: indentation <nolyc> indentation is optional whitespace. see also: !vo... (by ne555)
Simple file input problem
 
Hello C++ community, I'm confused with this piece of code, I am simply trying to input three lines ...
[3 replies] Last: gotcha, thanks ! (by chickens7)
File i/o help
 
I have a text file called number.txt and its containers are some numbers separated with a new line a...
[2 replies] Last: Thank you very much!! (by Stavrosfil)
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)
Pages: 1... 7273747576... 117
  Archived months: [feb2014]

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