
please wait
by dp13
Passing objects by ref
|
Hi and thanks for any help! I am trying to pass an array of objects but when I use by ref it wont compile. I know it's probably simple syntax but that's why ... |
Dec 17, 2013 at 4:19pm
[3 replies] Last: can you post Invoice.h, also the version of code that fails, i.e what ... (by tipaye)
|
by aish96
Data file
|
i need the variable recno to store the last value in the file called rfile . but when i run the following code, the other recno does not get stored in the fi... |
Dec 17, 2013 at 2:37pm
[4 replies] Last: oh thanks :D i got it. :) thank you very much :D (by aish96)
|
by wadee
one or more multiplied symbols
|
hello everybody I cant find where the error is in my simple code .... #include<iostream> #include<conio.h> using namespace std ; int Num(int z){ i... |
Dec 17, 2013 at 1:51pm
[10 replies] Last: ok, I admit you lost me on this one cire. what does while(value) mea... (by MikeyBoy)
|
by halimdeki
help me
|
// A PROGRAM FOR PASSENGER FARE, THE SYSTEM MUST ASK THE USER TO ENTER AGE OF PASSENGER.IF AGE IS BELOW 12,THERE IS A 10% DISCOUNT, ELSE 5% DISCOUNT // THE USE... |
Dec 17, 2013 at 1:15pm
[5 replies] Last: post your latest code please. in code tags too :) (by mutexe)
|
by Sharan123
Small problem
|
if you have pointer to char how do you call it for example void create(char *fname)//function prototype char name ="name"; create(name);//should call be... |
Dec 17, 2013 at 12:49pm
[5 replies] Last: Thank you :) (by Sharan123)
|
by Rockyy
How to access Abstract class function
|
In my code i want to access some function from a Abstract class.I have created a pointer for that class but, tResult CTest_QtFilter::OnPaint() { ICanvas... |
Dec 17, 2013 at 12:18pm
[3 replies] Last: So it unnecessay to inherit the class. In that case, where are the ... (by TwilightSpectre)
|
by RadWayne
Calling member function pointers from a member function
|
Here's roughly what I'm trying to do. //A.h---------------------------- #include <map> class A{ map <int,int(A::*)()> mymap; void fill_map(); public... |
Dec 17, 2013 at 12:06pm
[4 replies] Last: That did it, Thanks! For the second time tonight I've over-complicate... (by RadWayne)
|
by halimdeki
Where do i put the curly braces in this else if statement?
|
#include <iostream> #include <string> using namespace std; int main() { int age,china_fare,japan_fare; double discount,discounted_fare; char ... |
Dec 17, 2013 at 11:20am
[1 reply] : if statements check for the condition in the ( )'s is true. If the con... (by RadWayne)
|
by alicech
Open File Explorer for .obj file
|
Hi, I'm a new cpp beginning and would appreciate your help. I am making a 3D renderer using Win32 and currently working on importing .obj files. My program ... |
Dec 17, 2013 at 10:30am
[no replies]
|
by athrun200
Unexpected output of a Call-by-Reference
|
In the code below, the function will be first executed, producing the following data x = 15 y = 11 x+y = 26 as there is a "&" operator in front of x, so t... |
Dec 17, 2013 at 9:53am
[4 replies] Last: Do you mean that the computer read from right to left? It may begi... (by cire)
|
by kikolak
structure
|
please, why is this not working? #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define MAX 9 typedef struct { int m... |
Dec 17, 2013 at 9:02am
[4 replies] Last: [quote=kikolak]but this is C not C++, there is not something like new ... (by closed account z05DSL3A)
|
by RadWayne
Function Pointers
|
I'm trying to make a map of ints and function pointers. I had never heard of function pointers until now and I have a few questions. Here's what I've got so fa... |
Dec 17, 2013 at 8:48am
[2 replies] Last: Seems I over complicated things and confused myself. Thanks! (by RadWayne)
|
by gibnihtmus
Help making a hat game
|
Hi. I have a homework assignment that asks me to make a game (The Hat Game). The game works like this: A hat contains 5 white tokens, 3 blue tokens, and 2 red... |
Dec 17, 2013 at 7:26am
[2 replies] Last: So there are 5 whites, 3 blues and 2 reds. If I draw a white one I get... (by gibnihtmus)
|
by athrun200
How to display special symbols by using C++?
|
I accidentally wrote a program that contains some bugs but it displays some lovely symbols. The caption of the output is shown in the link below http://posti... |
Dec 17, 2013 at 5:36am
[1 reply] : Take a look here. http://www.asciitable.com/ Your standard char is ... (by xismn)
|
by ArnoldRich
Book for creating OS
|
Which book is the best for creating your own OS ? Free OS |
Dec 17, 2013 at 4:35am
[1 reply] : http://wiki.osdev.org/ (by Duthomhas)
|
by Jap Singh
Creating a recursive function help.
|
So for one of my assignments, I have to call a recursive function that determines if the string is a palindrome. *Examples of palindromes (for this program):... |
Dec 17, 2013 at 4:10am
[3 replies] Last: So a recursive function is a function that calls itself until a termin... (by yulingo)
|
by ArnoldRich
ODBC and Oracle book
|
Which book is best for creating C or C++ applications using ODBC and Oracle? ODBC |
Dec 17, 2013 at 3:45am
[no replies]
|
by ArnoldRich
Writing to a file
|
How to write to txt file with DOS codepage using class FILE? |
Dec 17, 2013 at 3:39am
[1 reply] : CharToOem(src,dst); (by ArnoldRich)
|
by acerscout
How can I go to beginning and repeat code?
|
I'm new to C++, and I made a simple code to multiply two numbers, but I don't know how to return to the beginning to repeat the code without restarting it. Shou... |
Dec 17, 2013 at 3:29am
[15 replies] Last: It should, if I'm right just keep on adding to the stack without ever ... (by Protomega)
|
by Blank
Bank Charges, help is needed
|
need help..can someone check out my program and give me advice please A bank charges $10 per month plus the following check fees for a commercial c... |
Dec 17, 2013 at 1:59am
[2 replies] Last: well i just wanted to see if there was a shorter way to code this prog... (by Blank)
|