General C++ Programming - April 2014 (Page 10)

Need help writing my methods!
 
Here is the methods I need to write. I wrote the rest of the program and just need help with the methods to finish...PLEASE HELP! Methods void print() ...
[no replies]
time based entry
 
i want to do a time based entry like the user should be allowed to enter only in the given time say 10 sec and if they enters anything within the time it will b...
[5 replies] Last: my purpose would be fulfilled by Disch's method...thanks..i ll try and... (by praneshiitm)
Stumped on debugging LNK2019 and LNK2001 errors
 
I have two linking errors i cant figure out: Error 1 error LNK2019: unresolved external symbol "void __cdecl AppendText(struct HWND__ * const &,wchar_t)" (?App...
[5 replies] Last: Note: Opinion and arguably unhelpful suggestions below. Feel free to... (by Disch)
Help with Postfix++ and Prefix++
 
I need some help with prefix and postfix. I had a program which basically takes in a number 1 - 365 and converts it into month and day in which i had no proble...
[2 replies] Last: For to add a constructor that takes two parameters: a string represen... (by codewalker)
Invalid types 'int[int]' for array subscript (help)
 
#include <iostream> #include <math.h> using namespace std; void menu(); void simplemenu(); void trigmenu(); void areamenu(); void trapazoidpic(); double...
[2 replies] Last: case 6: { int numnum=0, numf, num=0; //numf is defined as int type v... (by wildblue)
by vrivas
32767!?!?!?!
 
Hi this is my first time creating a C++ code. The task is to ask the user for ten numbers, determine whether each is even or odd and determine the max, min, and...
[6 replies] Last: Disch, I tried moving when I assigned a value to min and max (lines 1... (by Disch)
(a function-definition is not allowed here before ‘{’) What's wrong?
 
My code is supposed to guess a number the user thought of that is between 0 and 100. It generates a different number each time, and prompts the user if it is th...
[4 replies] Last: Well, sorry I didn't know that . Thanks. (by Just Me)
by rgt13
Last Program Help
 
I have to do this username, password, and PIN program, and i need help for the last part. I need to set up an array for 50 users and 3 attempts for 1 user. Here...
[5 replies] Last: Did you read what I wrote above? while(typeid(pin) != typeid(... (by AbstractionAnon)
a repeated handling with different methods calls but same parameters
 
I have several functions doing similar things, inside their implementations, the parameters are the same, but they call different methods. I want to create o...
[1 reply] : If you had a pointer to member function, you could move that stuff int... (by kbw)
3D Graphics Programming Problem
 
Hi all Ive been experimenting with 3d graphics by using SDL only and lines to draw 3d shapes ( no OpenGL or extension libraries, just pure math ) Ive used...
[1 reply] : Alright, for anyone else who reads this i found one of the errors, it ... (by SuperStinger)
show pictures randomly
 
i was making a quiz and i want to show some pictures as questions to recognize i but i don't know how to show different pictures without listing the names of th...
[9 replies] Last: i got what i wanted thanks... (by praneshiitm)
[Linker Error] Unresolved external ....
 
Hi, My Borland C++ /ver.6/ gives this message [Linker Error] Unresolved external '_cteca_row' referenced from D:\PCS\OBJ\PCSCB_DB_COM.OBJ How could I solv i...
[1 reply] : you've missed a semi-colon on line 72. (by mutexe)
Input File and sorting alphabetically
 
I have a lab with the following instructions: Manually create an input text file called Lab22BInput.txt with the following data: Dove Doe Alston Zebra Egg...
[2 replies] Last: My teacher hasn't taught us vectors and algorithms yet, so I am sure s... (by lordhalomaster)
by dl45
Operator overloading
 
How would i be able to overload a multiplication operator that if, in the main example(0, 5, 0) * example (0, 5, 0) is given, it gives me 25?
[1 reply] : What is this apparent example(int,int,int) ? (by keskiverto)
Pass the from function to main
 
I dont why the vuale does not return; here is code #include <iostream> #include <string> #include <ctime> // to use the time function #include <cstdlib>...
[5 replies] Last: A few of your comparisons are using assignment (=) instead of comparis... (by Zhuge)
embeding image
 
How can some one embed image in C++ with graphic?
[2 replies] Last: Are you talking about the same thing? http://www.cplusplus.com/foru... (by eddcook)
Sentinel Value to determine Type of Character
 
Hello everyone. I have the following lab instructions: Write a program that will prompt a user to enter a single character, the prompting will continue till ...
[2 replies] Last: Thank you so much! That did the trick. I can't believe I forgot to put... (by lordhalomaster)
by dl45
c++ operator overloading, division
 
I need to create an overloaded operator / that will divide a number by n. how would I do that if example(0, 5, 0) cout << example << " divided by 2 is ...
[1 reply] : There are a few options. The easiest would be to define another overlo... (by TwilightSpectre)
making a choice
 
im writing a source for a choice program that does the commands in its function and the program runs fine. the only sections not working is : Above Average #...
[no replies]
i have a problem
 
ok, so my program is a array size 16 and i filled the array with A-P to output it forward using a for loop, it works. but when i try to output the array in reve...
[1 reply] : On the last loop of the first for loop, you increment mychr one more t... (by wildblue)
April 2014 Pages: 1... 89101112... 41
  Archived months: [mar2014] [may2014]

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