Beginners (Page 9)

Give parent class a pointer to an object for all child classes?
 
I need every game object to have a pointer to my render window, but I want to do it in the base clas...
[1 reply] : assign it in the constructor in the base class? class GameObject { p... (by Gamer2015)
using "system()" is bad ?
 
I am not a beginner in C++ anymore, but I am not also that good at it. but I have seen dudes and guy...
[3 replies] Last: The system() is a standard C function. Platform independent. Yeah, t... (by Gamer2015)
by kunz
Arrays
 
Write your question here. int sandwitch_type; cout << "\tTypes of Sandwitch Availab...
[2 replies] Last: The simplest solution to use would be a struct. http://www.cplusplus.c... (by andywestken)
class inside a class?
 
I'm trying to write a class definition inside another class definition but I'm having some trouble...
[3 replies] Last: Thanks coder, got it now. (by dominover)
Process Name not Outputed?
 
I appear to be having a strange problem, when I run the program, nothing gets outputed, could someon...
[no replies]
Process Problem?
 
I appear to be having a problem due to the last function. It is mainly about the pe32.th32ProcessId ...
[1 reply] : I was able to fix it, just a problem with a curly brace messed it up e... (by icemewtwo64)
Help with C Xor encrypting
 
All I know that is Im suppose to turn both keys and the string into raw data and xor them The ...
[1 reply] : so i changed my unhex function I still have problem my string is not a... (by maximumcapacity)
Clear 'ENTER'
 
So, I have this on my code: cout << "Push 'ENTER' to continue"; while (GetAsyncKey...
[8 replies] Last: You are correct: GetAsyncKeyState() does not modify the input buffer. ... (by Duoas)
Where does Visual Studio 2015 look for header files?
 
Where should one put the header file so that visual studio automatically finds it when I open the pr...
[3 replies] Last: I put all headers in a folder under Projects-> ConsoleApplication, doe... (by LayMuon)
quotient
 
There is no quotient function for two double-s? remquo doesn't round to nearest zero. I have to use ...
[2 replies] Last: No, but you can write your own easily enough: inline double iquotie... (by Duoas)
by Crogn
looping objects?
 
any reason why I cant do this? #include<iostream> #include<string> using namespace std; cla...
[3 replies] Last: i'll point you to http://www.cplusplus.com/doc/tutorial/dynamic/ which... (by BlatantlyX)
by ehe
Shutdown program
 
Hello This is my first program. It works by using the windows command: shutdown -s -t *variable i...
[4 replies] Last: What would you do different and why? Check for errors. Otherwise a t... (by dhayden)
Can you retrieve header file location at runtime?
 
I am wondering if it's possible to retrieve the location of a header file at runtime. For example, ...
[2 replies] Last: I am wondering if it's possible to retrieve the location of a header ... (by andywestken)
long double in pow
 
Why does the i=10 case output wrongly? Shouldn't long double handle it? #include <iostream> ...
[3 replies] Last: No problem. Don't forget to mark the thread as complete. (by usandfriends)
by xxz
sorting linked list
 
I have a problem with sorting the list alphabetically. Have I correctly written a sorting function?...
[3 replies] Last: Why sort of numbers going on, and there is no sort of words? struct e... (by xxz)
by HelenI
Is that correct?
 
int aCheckpoint ; IModel* aCheckpoints;
[8 replies] Last: ok :) thank you :) (by HelenI)
by xxz
read from file into 2d array
 
Write your question here. I try to read digits from file txt. ,but I can not open it.Where I made ...
[6 replies] Last: use std::vector (by anup30)
RSA Algorithm C++ Implementation
 
Hi guys ... i am having a serious problem here..... i will be thankfull if you realy help me out. A...
[2 replies] Last: So what's going on here? (line 135, in your decrypt() function) for ... (by andywestken)
Process Problem?
 
I appear to be having a problem due to the last function. It is mainly about the pe32.th32ProcessId ...
[no replies]
COFF error?
 
It shows the error: error LNK1123: failure during conversion to COFF: file invalid or corrupt C:\Use...
[2 replies] Last: Thanks, it actually showed the errors when I downloaded it, I was able... (by icemewtwo64)
Pages: 1... 7891011... 91
  Archived months: [mar2015]

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