Beginners (Page 80)

returning a pointer to pointer to pointer from function
Hi guys, I am trying to return dynamically allocated 3-dimensional array from the function. When I ...
[2 replies] Last: oh, thank you Cubbi. You're right. I mistyped line 30. it should have... (by herohero)
by mfooo
Can anyone help me with this. (C++) I just have a few parts that I can not figure out.
Ok, here is the question...... 1. Bring in the program lab4.cpp and the data file transaction.txt. ...
[1 reply] : Would this be right for the loop part with the dashes? for (int i = ... (by mfooo)
by Nimasa
want to create file/folder in a specific location
Hello I want to create a file or folder in a location that I want to specify it. But as I am a beg...
[no replies]
struct problems
I'm supposed to be writting a program to calculate change using structs and functions. I cannot get ...
[5 replies] Last: thanks alot that really helped. I also had the calculation wrong for t... (by orangemexican)
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. (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
[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)
Pages: 1... 7879808182... 123
  Archived months: [feb2014]

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