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

problem with code
 
im trying to practice coding and my programe wont compile. i also would like to know why. thanks :) // #include<iostream> #include<ctype.h> #include<Stri...
[2 replies] Last: i see!! thanks i know exactly what your saying. (by MaseratiDeluxe)
help with a question please.
 
hello, i need help with a C++ question. Assume that all of the following functions calls return a value. of the four example lines list all that handle the r...
[3 replies] Last: Well, simply put, the only returned value that's not handled is the th... (by Ramses12)
getting weird error when building clang from source
 
so i tried the official #llvm irc channel, but they couldnt help, so im hoping you guys can. my issue is this: i am using this site to build clang: http://clang...
[no replies]
by bgmnk
Loop
 
I (a self-taught beginner, please attempt to keep it simple) am currently having problems creating a loop that will allow my user to choose to return to the beg...
[13 replies] Last: After you have explained it now, I see the point of it. I had just th... (by bgmnk)
Help! need to solve with function overloading.
 
I am quite confused to solve this problem. The requirement was to solve by using function overloading. The variables that needed to pass are Name,ID,Phone. Ple...
[no replies]
Help! how can i fix this error??
 
Alright the question is in the following... Using (Microsoft Visual Studio C++ 6.0) software, follow the sample output to write and run a program that uses a ...
[4 replies] Last: I know right?!!! our college made us use this old c++ version ughh... ... (by Chihaya)
Mixing Static Definitions and Classes
 
Hi, I'm interested in cataloguing some information in my classes into a static data base that I can search through without initializing all of my classes where...
[no replies]
Need help with stack program!!
 
Hello, my questions is two parts. first, why am i getting errors with my brackets that break up the else if statements? Second, i need to have have those same i...
[5 replies] Last: Thanks! (by bbunn77)
MergeSort Desructor
 
How can I use "delete " on all pointers on the stack, using a mixture of top and pop functions or variables
[2 replies] Last: while( notEmpty() ) { topNode = top(); pop(); delete topNode... (by Smac89)
by Mercur
Kruskal algoritm
 
hello friends:)i have a code for kruskal algoritm its working and i know how is the kruskal on paper.but i dont understand this codes.can anyone explain me how ...
[no replies]
How do I create a count down timer for 1hr 30mins
 
I want to add a count down timer to my testing software 1hr and 30min Its a 32bit console application, I want the countdown timer outputted above each question...
[10 replies] Last: here you have it explained http://stackoverflow.com/questions/7531650... (by tath)
Template function (with string) problem.
 
Hi guys, I'm doing an assignment fro my engineering class and I need a bit of help with the following assignment. " Write a template function, print, that ta...
[2 replies] Last: Hi Booreadley, I really appreciate the reply thanks. :) I actually w... (by Eyore91)
by stanz
Can anyone help me?
 
Ok
[2 replies] Last: Help you with what??? You never post any code or ask any questions. ... (by cnoeval)
please help!!!
 
hello im studying C++ and i have some questions that i cant seem to answers to. 1. what is meant by variable data type? 2. what is meant by function da...
[2 replies] Last: great thanks :) (by MaseratiDeluxe)
by doc17
Setting up grid for and array & user initialization of array
 
Trying to get code to look like Row 1: ^^^ Row 2: ^^^ Row 3: ^^^ const int siz = 3; for (int t=0; t<siz;t++) { cout << "Row" << t+1 << ":";...
[3 replies] Last: I specifically want to as the user for Row Then the Column that they w... (by doc17)
Meyers singleton--Why cant we create two objects?
 
Singleton& Singleton::getInstance() { static Singleton instance; return instance; } When We define getInstance() method like above...then int mai...
[1 reply] : getInstance() is called twice, but both calls return the address of th... (by kbw)
Return type for an assignment operator
 
Hi All, I am wondering why return type for an assignment opearator cant be a void or int? Cant I write assignment operator for student class like this as we...
[2 replies] Last: @KBW Thanks alot for the clearest and concise reply. (by venkatacplpl)
constructors in derived classes
 
As long as no base class constructor takes any arguments, the derived class need not have any constructor, if one or more arguments are used then it is mand...
[1 reply] : Not quite right. You have not considered the impact of default args. (by kbw)
by Kauto
Const data member initizialisation
 
Im writing a class Book, which has several data members and 1 const data member. My problem is that i need to put conditions on the const data members but I hav...
[2 replies] Last: Thank you very much. (by Kauto)
function program
 
I am taking my first programming class in c++ and I am struggling my way through it I am having some trouble with one of my programs it is suppose to be a funct...
[4 replies] Last: It works fine. Getting correct result/output for a couple of tests (pl... (by kannanmj)
April 2014 Pages: 1... 3132333435... 41
  Archived months: [mar2014] [may2014]

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