General C++ Programming (Page 40)

Reading scores from a file
Hello :) I need someone to check my code for errors, thank you. Write a program that reads a stu...
[1 reply] : line 20: fin is not opened. line 21: A . is missing. line 24: ver... (by coder777)
by dxj
material of this site
Who have the material of the site?Please give me download addresses. Thank you
[no replies]
need help with my code
#include <iostream> #include <fstream> #include <cstring> #include <iomanip> #include <cstdlib> ...
[no replies]
Binary Search Tree Help
I can't get the output right. Instructions: Given array: string Months ={"JAN","FEB",......"DEC"}...
[1 reply] : DisplaySideways(p->right, space + 6); cout << string(space, ' ') << p... (by fg109)
Operator Overloading
I have a question about overloading operators my program works like this but I was told about overlo...
[9 replies] Last: This topic is continued at (by LB)
Save Chart to File
How would I syntactically create a function that asks a user for a file name, and then saves a chart...
[1 reply] : You are not writing the row number (by ats15)
what could i have done differently?
Hey fellow programmers, I have started doing some problems and I feel very giddy and happy when I am...
[8 replies] Last: You could do using std::cout; using std::endl; if you really don't w... (by giblit)
by Addsy
Snake Game
Hey guys, i'm wondering if anyone can help me with some code. Below i have some code for a controlla...
[4 replies] Last: The basic idea is this: Suppose your snake is moving left (Direction:... (by mgoetschius)
Determining Rows and Cols in an Array
My program is supposed to be a seat reservation system for a passenger airplane. I am having troub...
[5 replies] Last: Underline means I added or changed the code from your original code. ... (by LB)
void functions
QUESTION 4: VOID FUNCTIONS A function named printDescription (with no parameters) displays the fol...
[3 replies] Last: Please note, that this is not a homework site. We won't do your homew... (by TarikNeaj)
Difference between std::cerr and std::clog? redirecting std::clog
Hey there, So, I've worked a little bit with the std::ostream objects and I know how to redirect st...
[14 replies] Last: Okey thank you, still thanks, I learned some things about streams toda... (by Gamer2015)
Display a menu and then use an option in that menu to display a text file
//I'm having trouble figuring out how to open the file "chartIn.txt" in my menu under option one. I ...
[4 replies] Last: This thread is continued at (by LB)
Need to know where to put the cin for option 2 of my switch so the function will correctly ask the u...
[2 replies] Last: This thread continues from (by LB)
down-casting to unknown derived class
Hey there, Is it possible to cast a pointer to an Object to a pointer of the real derived type wi...
[9 replies] Last: okey thank you! :) (by Gamer2015)
by AceK
Is it possible to explicitly call a superclass constructor within a subclass?
Hi guys, Is it possible to call a superclass constructor within a subclass? If it is, how do you do ...
[1 reply] : "superclass" and "subclass" are Java terms; in C++ we say parent/base ... (by LB)
please help with reading/converting text file
Hello, I'm having a lot of trouble with this program. I need to extract things from lines in file. f...
[no replies]
Game Programming - First Steps (Point Structure)
I'm starting to move into game programming using Allegro 5 as my graphics library. I'd like feedbac...
[4 replies] Last: No. You only need to use delete when you have created something with... (by Peter87)
Advices for cross platform code? (1,2)
Hi, I'm working on a sdl/opengl game on linux. I want the game to run on windows too(mac eventually,...
[27 replies] Last: thank you all for the info, it has been really helpful. Iwont bother y... (by Twk Amz)
by OMG1
access the elment inside 2D array
Hi, I used dynamic array to create 2D matrix, which ask user to enter the size and elements of arra...
[1 reply] : int arr ; // 2D array. 5 rows, 2 columns. If you want to acess the t... (by TarikNeaj)
ChessBoard game
Hi,I'm trying to create a chess board program using pointer, object and class. This is my header fi...
[3 replies] Last: Here is the specification: okey, good to know ;) [quote=code] So...... (by Gamer2015)
Pages: 1... 3839404142... 50
  Archived months: [mar2015]

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