Beginners - July 2013 (Page 16)

hELP PLEASE.
 
So I created my menu, and menu items like this case WM_CREATE: { Sleep(1000); AppendMenu(Men1,MF_POPUP, (UINT_PTR)Options1, "Game Type"); Append...
[no replies]
I'm new to C++ was wondering about functions
 
Hey, i'm attempting to create a crude circumference program with a radius and a diameter mode. I'm under the impression I can create the modes with functions. I...
[2 replies] Last: Nevermind fixed it. turns out I forgot to prototype it. I feel silly. (by splendorman)
From an old thread I came upon
 
Found a very messed up version of this on an old thread, and cleaned it up a bit. Actually got it to run but it's not doing what it's supposed to which is, for ...
[11 replies] Last: Ok thanks for explaining it. Crystal clear now, thanks everybody! (by TurtleFlip)
Classes-Wat
 
I have no idea where to begin with OO. My book spent 3 chapters explaining it, but I retained nothing. And whenever i try to go back and reread it, It still do...
[6 replies] Last: Hm, I think I get it. I'll try some stuff out when I get home (by undeadsoldier)
Issue with a program on Classes
 
Hey everybody, I am very much a beginner of C++ and I have been working through some problems on Dev-C++ from a book. One of the exercises is to write a program...
[3 replies] Last: Wonderful! Thanks guys! (by Jimbob1192)
C++ without IDE?
 
Hello! So far used Code::Blocks for my projects. But now I want to do that with a simple editor and a compiler, because I find that much better somehow. But wh...
[15 replies] Last: Listening to most of your good advices, I decided to use Notepad++ for... (by Kapichu)
Headers for functions?
 
What if I wanted to make a header to include a list of functions for someone to use, how would I attempt that?
[1 reply] : And what is the problem? Create a text file and place there the functi... (by vlad from moscow)
by krutuk
Constructor doesn't work
 
Hi everybody! I have a little program, but Derived constructor doesn't work. Please, can somebody help me? #include <iostream> class Base { public: Base(...
[3 replies] Last: Thanks for a help (by krutuk)
Program for file is crashing
 
Program is crashing, if the DAT file exists. Please help! #include<iostream> #include<fstream> #include<iomanip> #include<string> using namespace ...
[9 replies] Last: Thanks everyone, it worked. I used char arrays instead of strings. (by vishesh92)
Assigning Variables to Pulled Data
 
Basically what I'm trying to do is take coordinate data from a txt file and assign variables to them so I can later calculate distances between those coordinate...
[6 replies] Last: An old code of mine! Am too lazy to go through the hole lot so I just ... (by Tertius Kgatla)
fstream: closing a file
 
What happens if you don't close a file (with example.close(); )that you've opened? For example if one would run this code down below, what would happen? Would ...
[7 replies] Last: The reason you need to call close() at the end of the loop is that tr... (by cire)
by leo255
Trying to loop craps game multiple times to find house advantage
 
The craps game below is correct...I just wanted to know what I would need to do to loop the game, say, 1000 times. I want to see what the house advantage would ...
[no replies]
by nasser
i want to complete this game
 
i want to make a computer turn and make the game close when the fortune is less than 0 or =0 #include<iostream> #include<ctime> #include<string> #inclu...
[no replies]
Using arrow keys and mouse in console window
 
Hello I am making a program that consists of a menu. One way to do this is as follows: . . . int choice; cout << "\n\t\tMENU\n"; cout << "\n1....
[2 replies] Last: @The illusionist mirage Your request intrigued me, so I checked aroun... (by whitenite1)
If Else Statement
 
if gender is male and grade is 70 and above,display "goodboy"; if gender is female and grade is 70 above, display "goodgirl"; but if grade is below 70 regardl...
[7 replies] Last: That also works but line 16 should be cout<<"\n badchild "; If I ha... (by MikeyBoy)
Visual Studio problem
 
Hi guys, I've been doing me homework and I closed the Project bar(Visual Studio 2012 Ultimate) by mistake. This is the left-side bar with all the information ...
[1 reply] : VEIW->solution explorer (by LaLaLaBaBaBaRaRaRa)
Looking for help with windows apps
 
Write your question here. ok here goes... i did visual basic at school ages ago and ive always had an interest in programing and decided to learn c++ just for...
[5 replies] Last: Qt can either be used under LGPL licence for free or its proprietory l... (by abhishekm71)
i don't understand this program
 
void change() { int c; char tmp ; clrscr(); cout<<"\nENTER CURRENT PASSWORD:"; int t=0; char ch; while(ch!=13) { ch=getch(); if(ch==8) { clrscr(); ...
[6 replies] Last: @ gobiking clrscr() is part of the non-standard <conio.h> library. It... (by Chervil)
Child of child of Abstract class
 
I have an abstract Base Class A that has some normal virtual functions and some pure virtual functions. Class B : Class A (but in this class there is not any...
[2 replies] Last: Thank you MikeyBoy, that clarifies my doubt. (by abhishekm71)
by Dalos
Why is my basic file program not working?
 
Hello I've worked with files before so why now does this one not work? #include <iostream> #include <windows.h> #include <fstream> using namespace std...
[2 replies] Last: Thanks I don't know why I didn't think about that. (by Dalos)
July 2013 Pages: 1... 1415161718... 53
  Archived months: [jun2013] [aug2013]

This is an archived page. To post a new message, go to the current page.