General C++ Programming (Page 45)

by bads
help me improve my tetris by adding some MENU
 
#include <windows.h> #include <conio.h> #include <iostream> using std::cout; using std::endl; HAN...
[3 replies] Last: to have new game and and put the players name :) (by bads)
need help with binary tree
 
you are to develop some binary trees routind that will handle single work. the binary tree is to be ...
[1 reply] : When you create the tree in your main program, you're creating it out ... (by dhayden)
Strange problem while reversing string
 
#include<iostream> #include<cstring> using namespace std; void push(char *str2,int *max,int *top...
[2 replies] Last: Thank you very much MiiNiPaa, you saved my hours!!!!! (by Shantam)
by Nebur
Doubt about static functions declaration in classes
 
Hey, I want to declare a static function that returns a boolean and my question is: where should I e...
[2 replies] Last: Thanks a lot! (by Nebur)
strange variable init
 
hi i've found this type of initialization in a source of another person but i cant understand the w...
[1 reply] : it does tot = var1 , var2 is unused. However if line looks like in... (by MiiNiPaa)
Segmentation fault
 
Hi, I have a project where I am required to make a working 2-player game of battleship. My code is w...
[3 replies] Last: A simple run through debugger shows, that segmentation fault is on lin... (by MiiNiPaa)
print asterisks to correspond to my program
 
Hey guys so i have to make two functions one recursion that ask the user to enter number of rows and...
[1 reply] : There is few cases where recursion is ppropriate and this is not one o... (by MiiNiPaa)
How to use the timer in c++
 
Hey guys so i have to time how long each of my functions take to run and am stuck i know i have to u...
[1 reply] : #include <iostream> #include <ctime> int main() { // http://www.... (by JLBorges)
by Cassie
display scores on notepad from c++
 
Hi. I'm new here and I have a problem on my program. I want to display the scores on notepad. I can...
[4 replies] Last: Thank you very much :)) (by Cassie)
game questions
 
I am creating a game and I using classes for other things in my game, I was wondering if i should us...
[2 replies] Last: Need more information. (by SaiF PUNK)
I keep getting the fatal entry point must be defined error please help
 
I have done several programs already I don't know why this one is giving me that stupid error. Some ...
[2 replies] Last: remind me to kill myself (by wafflez)
Help with homework please
 
@wafflez Your declarations need to changed. int a = Mercury; int b = Venus; int c = Earth; int d =...
[1 reply] : wowowowow thank you so much I totally forgot about implementing the st... (by wafflez)
by kdeng
Confused as to how to pass array into if statement?
 
#include <iostream> #include <iomanip> using namespace std; double calculateCharges(double ...
[3 replies] Last: Ah I see thanks for the information my professor didn't explain that p... (by kdeng)
Terrain Deformation
 
I am creating a terrain deformation program that reacts to gameobjects colliding with the terrain an...
[3 replies] Last: Niiice! Thanks a lot! :) (by Anonagon)
Airplane Seating Program
 
#include <iostream> #include <iomanip> #include <fstream> #include <string> using namespace std;...
[3 replies] Last: Hey Daleth thanks man I really appreciate it. I've been working on thi... (by rosales5)
by therio
How to open a java layout from C++ archive
 
I want to open a .xml layout in my Android project from a .cpp archive. How can I do it please?
[2 replies] Last: XML is an old and well-known format, just find a small lightweight C++... (by LB)
Picking multiple objects from background
 
Hello, Quick version: Does anyone know of any image processing libraries/techniques that can pick ...
[no replies]
How to make this class? I'm struggling..
 
I've been asked to make this class by this requirement.. "Define a class called MonthData to rep...
[1 reply] : Any ideas on how I would do this? 1. Define a class called MonthDa... (by kbw)
[win32api] can't enter text since editcontrol is too small
 
when I enter enough characters to fill the edit control, it wont allow me to enter more, like this: ...
[14 replies] Last: okay, and what's the notification message for when I enter text that f... (by mekkatorqu)
Decorator Pattern Method. How to avoid these repetitions?
 
How to avoid the repeated lines indicated below? #include <iostream> class Player { private...
[3 replies] Last: Okay, here is my solution using template specialization for MagicUser,... (by prestokeys)
Pages: 1... 4344454647... 60
  Archived months: [feb2014]

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