General C++ Programming

by admin
news Welcome to this board! closed
 
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any t...
[no replies]
question Function pointers and inheritance
 
Hi All, This is more of an aesthetic problem I have. My project (in bold the class names): Cre...
[1 reply] : You seem to have gotten yourself into quite a bit of a mess. Your sol... (by helios)
by hohums
post Compressing an array of shorts
 
I've got an array of shorts I want to compress. The probability of one short being close to the nex...
[2 replies] Last: Thanks for the suggestion Helios. How would u suggest that I maintain... (by hohums)
post EOF marker and EOF signal
 
I'm about to have a quiz on this, but I'm still a little confused about what is EOF marker and what ...
[2 replies] Last: EOF is a carry-over from C, equivalent to std::char... (by Duoas)
by kiki89
post Character in C++ with OpenGL
 
We need to do a character using Opengl in C++ but we don't really know how to program in C++ (only C...
[2 replies] Last: Judging from the phrasing, I infer this is either for school or work. ... (by helios)
by qabil
question Make a driver
 
hey all, I want to know.. is it possible to make a driver? please give me the concept.. (note: ...
[2 replies] Last: I see.. thank you raskell (by qabil)
post Where are strupr and strlwr?
 
In what library are the strupr() and strlwr() prototyped?
[1 reply] : string.h (by kbw)
solved system("ping" ) fails!
 
Hi! I'm trying to ping a target , and i use string pingStr = "ping " + target ; system( ...
[8 replies] Last: Never use the system function. It's bad practice and is a huuuge secur... (by Seraphimsan)
post problems with std::vector
 
Hi: I have the following problem: im trying to use std:vector, but im having some troubles. I dec...
[8 replies] Last: yes yes dont worry. im aware of it. i think that by tomorrow ill post ... (by Meyer9000)
post recursive descent parser
 
anyone have an RDP program that can handle the following grammar? <elist> -> <elist>,<e...
[no replies]
questionsolved Calculate time of a snippet of a code... c++
 
How can be time calculated of a snippet or part of a c++ code(execution time of program)? in millise...
[1 reply] : #include <ctime> clock_t start = clock(); /*Time consumi... (by R0mai)
post i hate linker errors!!!
 
can anyone help me figure out why these following linker errors occur: 1>------ Build st...
[1 reply] : [quote=jayhick]i hate linker errors!!! Why? There are on... (by guestgulkan)
question HOw will i make a 5 X 5 2D array w/ diagonal sum.
 
5 X 5 Two dimensional integer array in the main function and its diagonal sum.should i use 3 pre-def...
[4 replies] Last: 1) This is the General C++ Forum 2) Why don't you watch your mouth? ... (by psault)
post Accessing file on another computer with Authentication
 
Hi All, I want to access a file on another computer using a UNC Path in a Win PE Task Sequence en...
[1 reply] : Hi, I just found out the answer to my question. What I did was map ... (by waterborne)
post Can anyone spot a problem with this code?
 
#include<iostream> using namespace std; class DumbBell { int weight; public: ...
[4 replies] Last: #include<iostream> using namespace std; class DumbBell { ... (by guestgulkan)
by bymaks
post External Applications Running Turbo C + +
 
Hello turbo c + + with a command that I compile a program how can I run extension xxx.exe.
[2 replies] Last: haha that's awesome! ~psault (by psault)
post STRSTR searching
 
I'm writing a program that searches 5 words in 30 lines to text, but I need to start out small so i'...
[1 reply] : You've got some bugs to fix. But first off, what you're passing to st... (by psault)
post Using string as part of a structure variable
 
I'm working on a project, and I need your help. I want to call the first part of a structure vari...
[4 replies] Last: meh... store the name in the structure too. #include <iostr... (by psault)
by dkaip
post An include problem
 
Hello all. I have a problem with a structs.h file. Compiler gcc say that `wstring' does n...
[3 replies] Last: Compiler take both. Need using namespace std; Thank's Jim (by dkaip)
post A Question of Template class
 
Hi all, there is link error confuse me, I have a rbtree.h file like this: template <class K...
[1 reply] : You have to put the code for the template in the header file; it canno... (by jsmith)
by Vidus
post Question about audio programming
 
Hello i was wondering what part of the audio file is used to make a spectrum, or the effect's in win...
[7 replies] Last: I got an idea of how it works now. I started coding it earlier today, ... (by Vidus)
post pointers and objects, another question.
 
Hi, I am confused with pointers to objects. Suppose I have a class by name "be_int". Now, when I...
[1 reply] : -> takes a pointer on the left side . takes an object on the left sid... (by Disch)
post Syntax error i think
 
Ok so Im trying to see if the vlaue is not a null assingment and I think that it is set up like this...
[1 reply] : C++ is case-sensitive. The null value is NULL . However, a... (by Duoas)
post Find maximum number!
 
I am trying to find the maximum number from the numbers entered from a keyboard.Anyone with a short ...
[11 replies] Last: This is the shortest and simplyest solution: #include <ios... (by sprecho)
questionsolved relating classes
 
Aloha... In my current program I have a few classes which need to call methods from other classes...
[1 reply] : hmmm... well... if anyone is interested... I add an wrapper-clas... (by Incubbus)
post free a pointer object
 
Hi, Suppose I have a class as shown below (I know it is very basic, no constructor etc..). [code...
[2 replies] Last: Great! thank you very much (by pozdrav)
by caldin
post defining insertion operator (1,2)
 
hey guys, working on a project for school, and i'm getting 5 errors from one function definition. h...
[24 replies] Last: yes, because you still have to change the declaration in your class. I... (by maikel)
by sporx
post Big O notation
 
how do you figure out the Big O notation order of magnitude for something? for example, whats the or...
[2 replies] Last: See also http://www.cplusplus.com/forum/beginner/15528/ (by jsmith)
by JRevor
solved Problem with STL
 
In this program, I'm doing some byte/bit level management ( Im working with bits instead of bytes). ...
[5 replies] Last: Thanks a lot for the answers. There's a lot to be learnt from you, guy... (by JRevor)
by Mee
post A better way?
 
Hello, I was recently given a task in which I had a file which followed the format: Clause so...
[4 replies] Last: That would be a neater looking way to store it, but would it speed it ... (by Mee)
post Assist explain 3 dimentional arrays.
 
Can any one explain to me in some details about 3 dimensional arrays please, and show me how I can a...
[5 replies] Last: Disch digged out a very nice thread about lots of the evil things of M... (by imi)
Pages: [1] [2] [3] ... [24]   Archived months: [jan2010]

Registered users can post in this forum.