General C++ Programming - September 2012 (Page 6)

Overloading new and delete
 
Hi there , Overloading new and delete usually involves assigning memory using malloc(size) and deal...
[4 replies] Last: What kind of speed difference are you expecting Raman? It's done in ga... (by JellyFox)
inline bool operator < declaration
 
Hi all, i am doing the following. struct Adjacent { string name1; int distance1,fare1; };...
[6 replies] Last: Could any one please post some link where I can read about the functi... (by bikram07)
Recursive Function
 
The program should be able to read a file and reverse all the words inside, using recursive function...
[no replies]
Checking if a variable is assigned to another one
 
Alright, so I'm wondering how I can check whether one variable is ASSIGNED to another variable (as i...
[12 replies] Last: Ah I missed that bit. Okay that make sense. (by Disch)
by iky
output problem?
 
hi. im having a problem with my program. i want to print the final score but if it is negative i wan...
[2 replies] Last: thank you. you are awesome :) (by iky)
Cross-Platform
 
Heyy everybody, I was wondering how i could get a program i made to work on windows (Im on mac). Ev...
[5 replies] Last: You can run 32-bit apps on a 64-bit Mac just fine, it's the other way ... (by Computergeek01)
by iky
can someone take a look at this and help me?
 
when i run this program i am not getting an answer for the equations. i dont know how to put the pro...
[2 replies] Last: youre right. thank you so much. (by iky)
please i need help
 
im Rodney from South Africa, i need help with a C++ programming assignment, if you can help please s...
[1 reply] : This is a forum, so: Why don't you post your problems and questions he... (by Fransje)
Parameter Help
 
I made this loop, but how do I make it so it doesn't output numbers below 0 or over 10? It asks f...
[11 replies] Last: thanks a ton for all the help guys. I got it to work! +1 point for all... (by skittlesaddictx50v)
Encryption: The Binary side of things... (1,2)
 
Hello. I am 'teaching' myself C++ (internet/forums, etc...) and have written some pretty nice progr...
[21 replies] Last: It's a ballot program, so it doesn't matter what encryption it has. I... (by helios)
2nd and 3rd place in my program
 
// Includes #include "stdafx.h" #include <iostream> #include <stdio.h> #include <conio.h> us...
[2 replies] Last: Thank you, it works now. (by Reaper1)
Vector of C style strings
 
I really need some help. this is a simple program, its supposed to create a vector of c style string...
[12 replies] Last: Oops. Corrected. (by cire)
Please help
 
The Biggest Loser A new weight loss competition called The Biggest Loser has been initiated. The ob...
[1 reply] : http://www.cplusplus.com/articles/Ny86b7Xj/ (by helios)
rand
 
Your advise to change the range of the return value of rand() by using the modulus is not a good ide...
[10 replies] Last: //////////////////////// boost ///////////////////////////////// te... (by JLBorges)
by Feyy
Copy Constructor
 
I have some code like the following which is causing me some confusion: #include "OtherClass.h" ...
[2 replies] Last: Thanks Peter. I also found another explanation here after a bit of se... (by Feyy)
Fatal IO error 11
 
Hi All, I am getting an error during the execution of a program. XIO: fatal IO error 11 (Re...
[5 replies] Last: I didn't say WINDOWS: I said X-Windows. Google that term. The first ... (by kooth)
Making a command line argument function
 
deleted
[2 replies] Last: 1. You need to pass thru argc, and argv to foo(). 2. You shouldn't wri... (by kbw)
Translating entire program to goto's
 
Hi guys, Having some issues here. I am required to translate an entire program into SIMPLE C, (g...
[1 reply] : First - could you please use code tags - the <> button on the right. ... (by TheIdeasMan)
Weird errors when using .cpp file
 
I have created a header file for an application I am writing but now that it receives more functiona...
[11 replies] Last: I am wondering why you have implementation code a header file. Norma... (by TheIdeasMan)
by iky
need help please!!!
 
hi. i have an assignment due tomorrow and i am a beginner and i need help. i started it and i think ...
[2 replies] Last: Pleas use code tags - the <> button on the right. Have you heard of ... (by TheIdeasMan)
September 2012 Pages: 1... 45678... 32
  Archived months: [aug2012] [oct2012]

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