General C++ Programming - June 2011 (Page 7)

identifying whether a class is derived from another specific class?
 
HI, I would like to know if there is a way to know if a given class is a derived class of another class - ex: class a { // code }; class b: public a ...
[7 replies] Last: @L B, i am not sure if sizeof operator is foolproof way of identifying... (by anandnilkal)
by TSW
How Can I use farcalloc() ? I need help please
 
Hello . How Can I make a double buffer? I need array to 64000 bytes.
[no replies]
How to determine size of a function in main memory
 
Is it possible determine the memory size occupied by a function in main memory?
[1 reply] : Do you mean the memory that that function uses up, like parameters and... (by LB)
need some help
 
Hi Guys, Im following a tutorial but i've got a problem but i didn't know how to solve. Im using Dev C++. The error is: 12 C:\Dev-Cpp\pengo\main.cpp ...
[2 replies] Last: Thanks for your fast reaction. It works fine now. I have read the Art... (by hahatjie)
using gotoxy ();
 
using this; #include <iostream> using namespace std; #include <windows.h> void gotoxy (int x, int y) { COORD coord; coord.X = x; coord.Y = y; S...
[2 replies] Last: #include <iostream> usingstd :: cout; usingstd :: cin; usingstd :: end... (by potatofries5)
Treating 8-bit int array as 16-bit int array?
 
I am trying to see if there is a way to quickly convert an 8-bit array of numbers into a 16-bit array of numbers. Basically, I get data from an outside piece of...
[6 replies] Last: @WarPhalange Note that this will only work on LSB machines (like Inte... (by Caligulaminus)
Game Question - State System
 
So, I'm building a random platformer game using SFML for my first real graphical game, and I'm somewhat unsure of how to deal with input to the player and how t...
[1 reply] : Maybe a more event-based design? Your main loop could have access to a... (by helios)
by zile
RSA getting public key from modulus,decryptedstring and encrypted string
 
What is the formula for this? log realPass(fakePass inverseModulus n ) = publicExponent ? if thats even possible another thing is the modulus and keys are ...
[no replies]
by tition
Make a "for each" loop on all class members?
 
Hi all, I want to introduce store to file/read from file functionality to my class hierarchy. What I currently do is of the form: class Lattice { public:...
[5 replies] Last: Take a look at Boost.Preprocessor (*) first. You can do really cool ... (by m4ster r0shi)
by RKA
PDB files not found in HelloWorld program
 
This is the most basic program ever: #include <iostream> using namespace std; int main(){ cout << "Hello World!" << endl; return 0; } Output from debug...
[5 replies] Last: Also what is a symbol anyway? "Symbol" is a generic term for an inter... (by helios)
by same7n
source enigma plugin ERRORS
 
hello i want to build plugin that when i put a code the programme add this code to the url and connect to the host for activing account url = "http://www...
[3 replies] Last: waiting for help plz (by same7n)
Dynamic Objects!
 
Hi, How do I store dynamically generated lists in to files? This is my class ... #include<iostream> #include<string> using namespace std; class ...
[2 replies] Last: Agree that there is already code and classes for this. But in order t... (by webJose)
LNK2019 DLL trying to call into a Static Lib
 
Hello people, So I was given some code to fix and this is how it is set up. I have a Static Lib, lets call it A. So in a file that is compiled into A there i...
[9 replies] Last: Yeah that seems to be the problem. I included it to A.Lib, got some ne... (by Mastion)
Automatically setting file path to user's desktop
 
Hi, I have written a small program that basically takes a .txt file from the user's desktop and opens it for processing. My issue is that the file path is...
[8 replies] Last: Thx will try your solution instead. Regards, W (by wboustany)
Modification in C++ Classes program through Association
 
hello everyone... i need some help... how can i sett and get the values in two classes through association. here is my little code that i wrote just to understa...
[4 replies] Last: http://www.cplusplus.com/doc/tutorial/functions2/ (by LB)
by Brad1
Need help with my program please!!
 
I am new to c++ and need help writing a program that will sort three integers in descending order. My program will compile fine but if you mix up the integers ...
[6 replies] Last: It's probably going to be easiest if you put the three variables in an... (by get funky)
cmd
 
how to send commands to cmd from cpp
[1 reply] : system function is used to pass cmd. http://www.cplusplus.com/referenc... (by alwaysLearning0)
palindromic numbers
 
Is there a way to make the program stop when a variable is a palindromic number? A palindromic number is a number that is the same if u read it either forward o...
[7 replies] Last: I think this is what you are looking for : #include "stdafx.h" #in... (by NewDev)
by Bezi
doubel a[100] = {0, 1}
 
is there any standard that I can rely on about how the rest of array members would be initialized in initializations like double a = {0, 1} or double ...
[2 replies] Last: double myArray ={}; output 0 0 0 0 0 0 0 0 0 0 If the array... (by Janlan)
by jorgen
Program stops, maybe owing to gmp or mpfr
 
I have a program and no idea what's wrong. I'm using variables both from the gmp and mpfr libraries. The program worked fine the first time, but now when I run ...
[2 replies] Last: Thanks! Thought it might be something like that, since I'm unfamiliar ... (by jorgen)
June 2011 Pages: 1... 56789... 28
  Archived months: [may2011] [jul2011]

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