General C++ Programming (Page 34)

How to change background color? (Mac/Windows)
 
I'm creating a simple game with my friend that runs in the Terminal/Command Prompt window, but I wou...
[2 replies] Last: Thank you so much, Disch, your answer was very helpful! I had been loo... (by tiny screaming yak)
Segmentation fault (arrays) queries...
 
No need to read the full code just see the global array declaration(edit ) as my discussion is b...
[5 replies] Last: Thanks a lot ne555 (by ankur12106037)
by helios
This is a test (1,2)
 
If I'm right, putting empty code tags anywhere should cause the site to not let me post again in...
[21 replies] Last: Since we've gone onto page two.... (by LB)
Problem of sorting ascending order by according to PRODUCT ID,NAME,PRICE
 
Here is my code below: #include<fstream> #include<iostream> #include<stdlib.h> #include<iomanip> #i...
[4 replies] Last: The first thing to do is to read the data from the file in the require... (by Chervil)
How to filter products by type
 
void FTR(){ string type; cout << "Please input the type of book:"; cin >> type; ifstream file("...
[no replies]
Snake Game movement and tail
 
I would like for the snake to move in the direction that it was clicked until different up,down,left...
[1 reply] : ugh...I wouldn't suggest console games like this. Though if you reall... (by giblit)
by jegge
hi all of u,,can understand how to get his equation is done
 
Write your question here. Write a program to prompt user to enter 3 sides of a triangle. The progra...
[1 reply] : First thing to do is sort your sides. Make a the smallest, b the m... (by Duoas)
by vlucaj
find and replace employee information in text file
 
I am completely lost on how to search for a word in a text file and replace it with a new one. Such ...
[3 replies] Last: After getting all the employee info, let the user change what he wants... (by iQChange)
by poteto
sdl2 copy and paste fallback renderer.
 
Well if you don't know, there are multiple renderers in sdl, and on some don't work on certain compu...
[16 replies] Last: Find the smallest example that produces this error. And post it. You c... (by Lachlan Easton)
helios test
 
I noticed in the thread started by helios that the log-in menu at top right disappeared. http...
[1 reply] : Works find with newest version of chrome (Version 36.0.1985.125 m). Al... (by giblit)
Edit distance standard dp problem.
 
Question->http://www.spoj.com/problems/EDIST/ .I used dynamic programming to solve the standard ed...
[5 replies] Last: thanks @ keskiverto i got the mistake in my logic. (by ankur12106037)
by Laww
Virtual function not behaving like it should
 
Hi, not sure I did well posting here instead of the Beginners' subforum. Oh well. Long story short,...
[2 replies] Last: You are a life saver!!! Thank you very much :) (by Laww)
What can be improved in this program for compiling it?
 
This is an online interview problem and I came up with the solution below. The interviewer came back...
[2 replies] Last: Thanks @wildblue. I missed that. (by funprogrammer)
Double Output Error, Please Help
 
Hi, I've been following a youtube-based tutorial on a c++ program using Eclipse Luna, but despite se...
[4 replies] Last: Thank you!! What happened was that the curly brace you mentioned was i... (by dtrumbore88)
Arrrays
 
Does anybody knows how to store 10 elements in an array and delete the duplicate terms ? ( its a si...
[5 replies] Last: actually i meant if we taking both the cases where the inputted dupli... (by cire)
Where to place C++ Struct ?
 
Hi I'm just trying to break up my program and am unsure how to handle a struct in c++. I have a f...
[2 replies] Last: That's an excellent example. Thank you very much. I used the void cas... (by dominover)
C++ program trace
 
Hi. Is there anything like this to trace c++ code? http://www.pythontutor.com/visualize.html#mode...
[1 reply] : I never saw one like this. I know some online compilers, but "debbugge... (by iQChange)
failed to submit isochronous transfer x :-12
 
hi. after I have installed libfreenect on Windows8 64 Bit Visual Studio prof 2012 Kinect XBOX3...
[no replies]
Array-Based Implementation of Linked Lists
 
I first want to say that i am trying to solve my code without Pointers. My goal is to.. 1. Const...
[1 reply] : > what to fix or where to go from here. ┬┐is there a problem? void... (by ne555)
I have to end a program in a void...
 
I have a void that needs to end a program but a break and return 0 both won't work. Instead I have i...
[3 replies] Last: And in this case, break; can be used too. (by iQChange)
Pages: 1... 3233343536... 49
  Archived months: [jun2014]

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