General C++ Programming - July 2011 (Page 15)

Why can't this statement be compiled?
 
int Century ; Despite my memory being larger than 2 GB?
[17 replies] Last: Works on my 64 bit system. I even assigned values into it at runtime.... (by Anthony Brown)
by alhanz
Authentication output C++ using caesar cipher
 
Hey guys. I'm making a program which let user to login their details and passwords before enabling them to use it. Caesar Cipher Their login details are st...
[1 reply] : Bump (by alhanz)
Need Help with C++
 
I just started C++. I have to write a program where user is asked to enter multiple variables in the same line, I searched everywhere i couldn't find it can som...
[10 replies] Last: I guess the teacher wanted you to store the notes of the song into an ... (by Cody39e)
Important Thoughts on text rpg
 
Hello various people of this site. This is my first program/project and I was hoping for any and all comments (good or bad) to give thoughts on this. Also I w...
[3 replies] Last: Firstly: Use [co de] Code goes here [/co de] tags. That makes the co... (by Nisheeth)
Some Questions
 
I was thinking on trying to make a window using C++. I wanted to know that how much experience, and knowledge upto what topic must I have before I will be able...
[7 replies] Last: Interesting little tidbit. My father in law's father (so my grandfathe... (by ResidentBiscuit)
Help with analyzing numeric data in a two-dimensional array
 
I have to work on a the source code for a given project and I have finsihed my one set of code for the single dimensional arrays now I am just having a little d...
[1 reply] : As you iterate through each array assign high and low the value of the... (by buffbill)
Is it possible to convert CString to Binary
 
I have this program where I am storing data, which are binary values, into a CString variable. Once I am done storing all data into CString I want to convert it...
[4 replies] Last: You start by initializing the variable input with ="" which is unneces... (by buffbill)
Having Trouble with my program
 
Here is my program, I am having trouble with it. Whenever you type in 4.5 as an option, it should restate the menu and have you enter in a valid option. The onl...
[5 replies] Last: What a mess. You should rewrite and resubmit your code in line with Co... (by buffbill)
cant call my function
 
char findwords(char words ,char * pointer); //declare the find words function int main() { int test; char words ; //the users response char * p...
[3 replies] Last: [quote=Dougfunny]getwords(char words, char * pointer) A function cann... (by closed account zb0S216C)
Candidate Functions not availible error
 
Hi All, Basically what I'm trying to do here is to make a customizable message box form that is contained within a header. For ease, I designed and tested th...
[3 replies] Last: Ah, got my answer: I didn't realise that when definising a public clas... (by Hibblejaybob)
by yobbko
cpp (C++) read (use) Excel data?
 
I have .xls or .xlxs and there I have Bar with number and text.... I want to use number and text form this file.... e.g. boys in class (cell on form) 24 (other...
[1 reply] : Next time, you probably want to do a google search before posting :) ... (by h9uest)
permutations without recursion????
 
Hi, I wrote a program that created all the permutations of a given string. I'm trying to modify it to not use recursion while using a queue. I am not sure how t...
[10 replies] Last: This is a typical problem in a data structure and algorithm course, an... (by h9uest)
by kev82
Is this valid c++
 
This compiles under g++, but I'm not sure if it's just letting me get away with it. Y::x is a reference to an X. I can alter x through a constant member func...
[4 replies] Last: The justification in this case is the following. The library is respo... (by kev82)
Not using namespace?
 
Hi, I have a class where I am deliberately naming some of the member functions with the same name as common math library functions such as log , but using dif...
[5 replies] Last: math.h does not use the std namespace. It's the C header. cmath is the... (by Moschops)
mobile keypad
 
i want to make a mobile key pad,but no know how can i handle key bouncing or handle time interval between pressing key.i want if i press 2 for 3 time it writes ...
[1 reply] : I don't understand at all. Is 'mobile keypad' the keypad of a mobile ... (by hamsterman)
help
 
Solved the problem mentioned, but this code from one of the brothers, but I want outfitted in this project http://www.cplusplus.com/forum/general/46510/ p...
[1 reply] : That first sentence, starting from 'but' makes no sense. If you don't ... (by hamsterman)
How to get command prompt to close and reopen after 5 seconds.
 
Hello, I hope you are having a good day and thank you for taking the time to help me. I am trying to write a program that opens a command prompt, waits for a ...
[1 reply] : try http://msdn.microsoft.com/en-us/library/ms683150(v=vs.85).aspx h... (by hamsterman)
Calculation problem
 
I've to create a program that calculate tax based on gross pay. On the first 200$ the tax will be 10% of the pay, on the next 400$ the tax will be 15% and anyth...
[1 reply] : if you have more than 200, add 20 to tax and subtract 200 from money ... (by hamsterman)
Binary was not built with debug information
 
My program doesnt open the window. It just shows the command prompt and then it closes the command prompt. here are the headers i am using: #include "SD...
[3 replies] Last: try to run on console, there may be some error output (by morus)
logfile question
 
In my project, i generate a logfile (text file) to write the intermediate results. i use statement as a global declaration of an object of ofstream. ofstrea...
[2 replies] Last: What about opening it only once (in main or so)? (by morus)
July 2011 Pages: 1... 1314151617... 30
  Archived months: [jun2011] [aug2011]

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