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

program accepts only one value
 
I have written a small program to allow the user to enter 10 student data. Now, my loop exits after ...
[12 replies] Last: Try: int i; for(i = 0; i < 5; i++) (by ciphermagi)
Questions about Chatbots and Self-Modifying Code
 
So I know a lot of general C++ code but I'm still, by most standards, a novice. My dream is to write...
[2 replies] Last: The answer is yes, and at the same time, no. C++ is not a self-refl... (by ciphermagi)
If/Switch statement that always runs
 
I am making a project, and there are multiple areas in the project where the user enters something, ...
[3 replies] Last: Actually, you could include cin in your function: bool checkSomethi... (by iperetta)
Help with a problem! mainly getting started
 
You found an exciting summer job for five weeks. It pays, say, $15.50 per hour. Suppose that the tot...
[5 replies] Last: const double SAVING_BONDS = 0.25 needs a semi-colon. (by whitenite1)
Returning Pointer-to-Member from a Class Method
 
Gentlemen, I need to work with pointer-to-functions, specially pointer-to-members of a class, and...
[2 replies] Last: Nope :-( The first error is still there. A new error on lines 32, 33... (by iperetta)
Operator 'delete' applied to 'new' created variables needed as return of a function
 
Greetings, I'm doing some matrices operations and I need to dinamically create 2-D arrays inside ...
[8 replies] Last: Thank you, guys! (by iperetta)
confused about classes
 
So I get the whole class symntex and everything for classes BUT the thing i dont get is the construc...
[9 replies] Last: Tolerated, look at this constructor: MyClass(int c){ i = c; }... (by ciphermagi)
Help ! [C++]
 
Hi Guys, I Wanna make something for connect to telnet ... i want to make input for program for ...
[3 replies] Last: np, message me on your progress (by strongdrink)
by ToniAz
#pragma comment GCC equivelent
 
Hello Everyone! I was finding an equivelent for MSVC #pragma comment GCC equivelent. Someone was ...
[5 replies] Last: At the command line, you compile by typing "make". Different environme... (by Duthomhas)
by unbdd
difference between list::insert() and list::splice()
 
This might be a stupid question. But is there any difference between list::insert() and list::spl...
[1 reply] : Yes. insert() inserts an element of the list, and splice() inserts ano... (by Zhuge)
How to disable minimize box
 
how to disable minimize box. i don't how to do it. help plz...
[4 replies] Last: +1 Duoas (by Disch)
file read picking up linefeed as numeric value
 
Hi - This question is more philosophical than technical, but I'd be interested in hearing people'...
[no replies]
syntax error
 
here is my code #include <iostream> using namespace std; const double SUMMER_JOB_INCOME = 0.14;...
[6 replies] Last: Consider each statement in C++ as the axis of time. You cannot solve ... (by moorecm)
Sentinel Value Controlled Loops
 
I'm having issues figuring out a program I need to write. I can't figure out exactly how to start it...
[14 replies] Last: I created a while loop for finding the lowest score... You don't nee... (by shacktar)
How to print out all scores user inputs? For loop
 
for(counter=2;counter<=20;counter++) { cin>>score; if(score>max) ...
[10 replies] Last: i know that main should always be int, but i only practice this when t... (by Ng Han Seng)
Peculiar Structure Array Bug
 
Hi, a description: - It's a 3D structure array, like voxels . - It has been constructed correc...
[6 replies] Last: Found it. A check used && instead of ||, which caused the array to acc... (by ForeignCurs)
TEMPLATE linked list , HELP !!!!!!!!!!!
 
I'm new to generic programming and I just cant figure out what is wrong in this . The program is su...
[1 reply] : I've corrected only compile errors: #include<iostream> #include<stdli... (by Syuf)
Exception vs. Return Value
 
I have a question about when to use exception. Usually, return value can represent if the functio...
[4 replies] Last: Exceptions and error handling http://www.parashift.com/c++-faq-lite/... (by closed account 1vRz3TCk)
Having trouble with passing array of pointers to functions to other functions
 
I'm getting the error for the following code "error C2664: 'KaibaMainPhase' : cannot convert paramet...
[2 replies] Last: I only want KaibaMainPhase to call how ever many arrays the user asks ... (by larry burns)
four digit code in C++
 
Hi I am trying to find an example of code for a four digit number eg 5556 that will be entered b...
[11 replies] Last: I guess, it would depend on what the requirements are. Is it importan... (by closed account 1vRz3TCk)
October 2011 Pages: 1... 1112131415... 36
  Archived months: [sep2011] [nov2011]

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