General C++ Programming - August 2010 (Page 7)

How to find to the Max Repeated value in an array?
 
How to find to the Max Repeated value in an array in shortest time. The Value inside the array are r...
[3 replies] Last: New version, it is more easy to debug and it's faster #include <al... (by Denis)
by Muneeb
problem with cin
 
int main() { again: // a label int i; cout<<"enter i "<<endl; cin>>i ; if ( cin.fail()) {...
[4 replies] Last: You're right it can. By would you when you have other more contollable... (by mcleano)
I have difficulties with my project!
 
I m having some difficulties with my project and i would appreciate some help. The program is to ...
[10 replies] Last: Thanks for the advice!!! :D Some questions from my group is that we... (by LexenZ)
warning: multi-character character constant
 
Hey im just trying to make a simple game to impress my dad because i want to but i get this error "w...
[9 replies] Last: int is an integer. Unless the user inputs the numeric ASCII code for ... (by Disch)
Freelance Programming
 
Hi, I am a very new beginniner, but I was just thinking ahead... Is programming a good career to ...
[4 replies] Last: I would be tempted to do whatever interests you most at college. No po... (by Galik)
Problem to overload base methods in derived ?
 
There are three classes should inherit two overloaded functions here. The problem is that derived c...
[9 replies] Last: warrant wrote: What C++ class for? warrant wrote: What your soluti... (by LB)
My program don't add up ? Eg 0.5+0.2+0.2+0.1 not equal to 1
 
Problem Solved!!! Thanks for helping guys
[2 replies] Last: Also avoid using goto. main must return int. when posting code, pl... (by ne555)
D3D linker errors
 
Linker errors. They always seem to stop me in my tracks. Any help with this one? I have no idea what...
[2 replies] Last: Huh, it works now. I had to copy the entire Include directory and a li... (by Hilo890)
Design problem
 
I'm trying to figure out how an instant messaging program that I'm writing will work. I don't want t...
[9 replies] Last: It's not the software, it's the hardware to run it on. I won't be able... (by chrisname)
Using C++ dll in C#
 
Hi. I wrote a dll in C++ and I want to use it in C#. I have some questions: 1. Can I declare a ...
[4 replies] Last: Dudester meant that if you use VisualStudio and use C++ .NET to create... (by ainsoph)
_matherr does not get called when built into a DLL
 
I have a basic solution file (.sln) where I was able to reproduce a problem I have been facing recen...
[no replies]
by xabnu
On fread() and arrays, big/little endian integers.
 
A function in my program is intended to read a file for integer values. The values may take up 1 to ...
[5 replies] Last: Hi, Glad I helped out in some way and sorry I can't help. Endian... (by rwan)
Memory Compaction....
 
hey, I am basically writing a simple program which asks like 100KB from the system and then, we h...
[1 reply] : A highly useful book in general would be The C Programming Language by... (by xabnu)
GUI with SDL or OpenGL?
 
Hello, I'm looking for some opinions and advice. I'm working on learning SDL and OpenGL and using...
[1 reply] : SDL is easier for 2D applications, which are used for most interfaces.... (by NGen)
A C++ program to convert roman numerals to English ones
 
Hey, everyone. I wrote this C++ program to convert Roman Numerals into Ordinary English ones. It wor...
[3 replies] Last: #include<iostream.h> #include<conio.h> char input ; int a... (by qabil)
by thokra
Class design choices. class with static methods only and nested structs?
 
Hi folks! I'm working on an Wavefront OBJ loader written entirely in C++ and try to figure out th...
[2 replies] Last: First of all, thank you for your quick response! I'll leave the class ... (by thokra)
How come? error LNK2019
 
I had searched through the Internet and could not find a correct solution to solve my problem. It...
[3 replies] Last: SDL.h has a macro called main that renames the user's main() to SDL_ma... (by helios)
by Vexer
Writing an LED Matrix display driver
 
I was hoping you guys could give me a few suggestions on how to write a display driver. As I have me...
[4 replies] Last: Ok, thanks alot. Are you sure you need such compression? Yes. Th... (by Vexer)
setting value of a constant in the constructor
 
Hi guys. In my program, the value of a variable in a class of mine is defined in the constructor...
[8 replies] Last: thank you, thank you, thank you. that worked perfectly. thank ... (by yotama9)
by Null
friendship and inheritance problem
 
class MainClass { friend class Base; protected: int x; public: MainClass(int x) ...
[2 replies] Last: OK, thanks. (by Null)
August 2010 Pages: 1... 56789... 20
  Archived months: [jul2010] [sep2010]

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