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

by Senith
dynamic array problem odd
 
//ok so I made my own namespace with a function: namespace pwsRegEx{ char Regex_Replace(char * arrpt ,char * arrptreplace ,char * source){ int i_a...
[6 replies] Last: Using vector char Regex_Replace(vector<string> &arrpt,vector<string> ... (by ne555)
Passing data from C++ DLL to C# application
 
I have a application in which has following component - PushManager - This solution contains a class in which C++ DLL(PushCommon) is Imported using DllImpor...
[8 replies] Last: I am having a similar problem, and i have been looking for this for d... (by local)
static variables in class:please help
 
let i have a class class { static int a; public: void f() { // here is code } }; how can i use my private static variable in member fun...
[5 replies] Last: I was talking in general about static member variables. When the scope... (by navarromoral)
C++ Rectangle
 
It doesnt show up as a rectangle and I need to use for loop and a nested for loop for this. So far the code I've got is: #include<iostream> using namespace st...
[7 replies] Last: Post deleter: http://www.cplusplus.com/forum/general/45061/ And why ... (by Moschops)
composition problem
 
I am working on a project for school.I need to make a triangle rotate on one of it's points. I have done everything else that is needed but am stuck on this one...
[1 reply] : Here is the actual code. Any advise on how to do this would help. //* ... (by stretch)
by timmy
problem in file handling
 
in my program of file handling,i had stored different information of a student like name,marks,enrollment number,address etc in a text document...now if i want ...
[3 replies] Last: I'm not sure what you are talking about. If you run a program, enter s... (by hamsterman)
Stupid NOOB needs help with easy bool while program termination.
 
Hi, So I am trying to get my while loop to terminate the program with a Y/N question, but no matter what value is entered the loop keeps going :( any help ...
[2 replies] Last: #include <iostream> #include <stdio.h> #include <math.h> using name... (by Mamoon)
how to initialize single element in string
 
dear programmers i am new to c++ ...i was writing a program to output the string length removing spaces used
[1 reply] : Well, congrats. (by Athar)
c++
 
DONEEEE
[5 replies] Last: ASKALSKAS (by Lilcrew)
Need help function not working right
 
Im trying make calender that is valid troughout, and its not working? febuary only has 29 0r 28 days and when I put in 30 for days for month 2, it should not al...
[1 reply] : First, please use code tags like so: int getdaysInMonth( int theMont... (by sargon94)
I Dont understand the error.....
 
Guys im trying to make a valid calendar, i got the month and the year done, but when i did the days, and when i compile there is only one error thats appearing:...
[6 replies] Last: Im trying make calender that is valid troughout, and its not working? ... (by brashau)
Making a Scrabble Game, Need Assistance.
 
Well, I'm trying to make Scrabble in C++. I thought it'd be a nice challenge, but it's more challenging then I expected. -When a player enters a word, how ca...
[19 replies] Last: Hi guys. Can you help me with the scrabble game. I dont have idea wher... (by aykrasselle)
a code about inheritance
 
hi: I have a code below: #include<iostream> using namespace std; class A{ int x; public: A(int a):x(a){cout << "constructing A" << endl;}...
[2 replies] Last: I think there was a way to call the base class's constructor but I fo... (by Disch)
Programming Project Help
 
Hello c++, This is my first post, so I figure I would start by saying Hello. I'm a student at Auburn University in a C++ class, and I've come here to get s...
[1 reply] : Please only make a post one time. http://www.cplusplus.com/forum/begin... (by LB)
Design/Inheritance issue
 
Hello, I am programming a text-based RPG and I am having a little bit of an issue with being able to access data in a given derived class. I have designed...
[3 replies] Last: Ok i had a post written up and when I went to post it, it failed. So a... (by dak8361)
need soem ones help in solving my assignment
 
can some one help me out solving my assignment
[1 reply] : No. ;) http://cplusplus.com/forum/articles/31015/ -Albatross (by Albatross)
Declaring Variable
 
Can we Declare a variable between the closing paranthesis of a function and opening curly brackets?? like //////////////////////////////////////// void...
[3 replies] Last: Oh I C.... Thanks..... That was in a book...... So Just tried..... (by howtechstuffworks)
Checking when a key is pressed in the Console
 
I was working on making a Calculator. I decided to have the Add to memory as one function. Now I was thinking of setting it so that if I press A, during runti...
[11 replies] Last: Argh. Here's something for you to play with. #include <iostream> u... (by Duthomhas)
Problem with static functions
 
Hi, What I'm trying to do is recover information from a form in its parent class. Part of the code is shown below. //Some code before hand frmRemove^ remove...
[no replies]
by HenriK
How to design <game project>?
 
Hi, programmers . Title says pretty much what I´m looking after in this topic. There might be similiar topics out there in the wild, but I decided to put this...
[4 replies] Last: Thanks for the info. I think I should change namespace GameLogic to ... (by HenriK)
June 2011 Pages: 1... 1112131415... 28
  Archived months: [may2011] [jul2011]

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