General C++ Programming - March 2011 (Page 11)

Getting .exe to run on other computers.
 
This question has been asked many times, but all the answers I found on Google haven't helped. I com...
[8 replies] Last: It works now. Thanks. (by packetpirate)
pure virtual function
 
#include <iostream> 2 3 using namespace std; 4 5 6 class base 7 { 8 protec...
[5 replies] Last: my reply to fun2code: show() is virtual in all derived classes as in l... (by jackel7777)
Date arithmetic
 
Pls can someone help me with guideline on how to write a program to calculate date arithmetic (e.g. ...
[2 replies] Last: Thanks man. I appreciate it a lot. I'll just try it out now (by Emenyke)
Method that returns Object pointer
 
I have to use this header and I'm pretty sure it means that it returns a pointer to the object? H...
[1 reply] : // MenuItem Menu::*findItem(string code) I am a newbie, so just try: M... (by vencent)
by codist
tearing in opengl
 
My OpenGL application tears. I have no idea how to fix this, I have tried a lot of stuff. http://ww...
[3 replies] Last: I'm using the Win32 ways of doing things. this is my render function: ... (by codist)
overwrite text file data?
 
Can someone tell me how do I overwrite the first data on the text file? What function do I have to u...
[5 replies] Last: Basically that is the idea. By the way, I find a way to overwrite the ... (by student 123)
Simple stream cipher - key generation
 
So I have a simple (read not very effective) "stream cipher" program, with the encipher function def...
[6 replies] Last: Indeed - thanks for pointing that out. Previously I had been aware tha... (by closed account Lv0f92yv)
C++ book for Windows programming for a newbie.
 
Hi. I'd like to ask for a name of a nice book for a beginner. I'd like to learn C++ windows-based (n...
[1 reply] : 1. wrong forum 2. there's already topic(s) on this, e.g http://www.cpl... (by matsom)
soundex function question
 
This is my soundex code. It works great. My question is... In the soundexerize function, I crea...
[4 replies] Last: Oh, thank you. Now that you point it out, stopping the loop at 4 seem... (by closed account zwA4jE8b)
by ty98
here is a motly color project
 
this is the best C++ project that I'v ever made. #include <iostream> int main() { while(true)...
[3 replies] Last: what do you meen hanst99 ? ok onur then it is a good project. (by ty98)
function implementation outside the class
 
I have a class header with function declarations and want to implement these functions in a cpp file...
[17 replies] Last: ok i will do it ultifinitus thanks for your reminder... (by zulfikar)
by gabyam
For loop error
 
I have to write a program in which you enter 20 characters and the program counts how many times eac...
[2 replies] Last: And also, don't fflush() input streams! You get undefined behavior. (by firedraco)
Need help writing one member function in this code
 
Here is my code so far. I will bold the member function I need help with. If anyone knows what to wr...
[4 replies] Last: I would suggest using a map of morse code "characters" to alphabetical... (by Zhuge)
Windows 7
 
i have installed visual studio c++ express on windows 7 , when i try to compile any thing it says to...
[5 replies] Last: I have no re-installed it and it is working (by superman)
if statement do not work?
 
Why does my if statement do not work? void student::writeLongRecord_2() //add another student da...
[7 replies] Last: thanks for replying guys. I already sorted out my problem. Many thank ... (by student 123)
Please help me!
 
I'm in class right now and I know I have a problem with my program because it won't build. Please le...
[1 reply] : 1; 2; 3; 4; 5; 6; 7; 8; 9; 10; 91; 92; 93; 94; 95; 96; 97; 98; 99; 1... (by ModShop)
Virtual String Function problem
 
So here is my very long (I apologize) list of classes. There are two things I need to do 1. Creat...
[7 replies] Last: All I really had to do was add virtual string whatami(); to e... (by f00tiefan)
Assistance with Code Please
 
Hi Everyone I am new to this coding and I am strugeling with a code that I am testing. Can someb...
[2 replies] Last: Genius, thanks it is working. (by DeviantSpy)
Can someone help me
 
In a past life I could have knocked this out, but I've forgotten about 90 ercent of my c++ from coll...
[4 replies] Last: Thank you for your quick response! I will make that change. Hopefull... (by nmiltner)
3x3 by 3x2 Matrix Multiplication?
 
Hey guys, I'm working on a little project and I need to do a 3x3 by a 3x2 (3 rows, 2 columns) matrix...
[5 replies] Last: Oh crap I forgot you're doing the dot product. (by benjelly)
March 2011 Pages: 1... 910111213... 31
  Archived months: [feb2011] [apr2011]

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