please wait
by justhappy
question
|
int vs double vs short i understand that computers dont really have limited memory problems, so what is the standard that everyone uses now? |
Apr 2, 2015 at 3:09pm
[2 replies] Last: good info! Thank you! (by justhappy)
|
by cotro
Loop stop condition not working due to "invisible" characters
|
Hello I am currently reading a file that has a format like this: 2.5437667456 0.38745628423 0.342573653788 2 0.538756284345 -1.37875463465 -3.4747457474... |
Apr 2, 2015 at 2:18pm
[11 replies] Last: It might be the way you are reading your string are affecting it, or y... (by MiiNiPaa)
|
by prestokeys
How to benchmark a compile-time action?
|
I've written the following binary search of a sorted template pack of integers. std::cout << BinarySearch<65, 1,5,7,8,11,12,18,25,32,65,111,150>::value << std... |
Apr 2, 2015 at 12:30pm
[3 replies] Last: Another question I have is suppose I want to write a meta binary searc... (by prestokeys)
|
by wh1t3crayon
How to cast an abstract object as an object of a derived class? (1,2)
|
So I have a vector of abstract clas objects and I'm trying to cast a specific element as an object of a derived class, but I'm not sure how. Here's some pseudoc... |
Apr 2, 2015 at 8:56am
[21 replies] Last: [quote=wh1t3crayon ]The code example that you provided is no doubt a g... (by TheIdeasMan)
|
by Tay123
Credit Card Program
|
My professor wants us to write a program that computes and outputs the penalty on an unpaid credit card balance. The program prompts the user to enter payment ... |
Apr 2, 2015 at 8:38am
[4 replies] Last: penalty = balance + balance * 0.02 create a function that takes a bal... (by Smac89)
|
run length coding |
how can i create run length coding using dynamic arrays |
Apr 2, 2015 at 8:27am
[4 replies] Last: yeah it gives me a little idea thankx (by myeninkululeko)
|
by Aadi Aadi
Please help out me to correct this program please.
|
Write a program that takes a four digits integer from user and shows the digits on the screen separately i.e. if user enters 7531, it displays 7,5,3,1 separate... |
Apr 2, 2015 at 5:11am
[2 replies] Last: Please explain it more (by Aadi Aadi)
|
by rockgtr
Function Overloading
|
I keep getting the error ") expected". #include<iostream.h> #include<math.h> float area(float x) { float z; z=3.14*x*x; return z; } float area(f... |
Apr 2, 2015 at 4:00am
[2 replies] Last: Thanks a lot Ashely Brown. (by rockgtr)
|
by ub40boy
Pseudocode Help PLEASE
|
Hi guys need help with 2 questions Out of the following the most important layout in Pseudocode is: a. Variable initialization b. Indentation c. How wel... |
Apr 2, 2015 at 1:17am
[3 replies] Last: you can always PM me bro.... (by shadder)
|
by DragonOsman
Help Needed with Visual Studio Express IDE
|
I need some help compiling code in the Visual Studio Express 2013 IDE. I'm trying to compile this code: #include <iostream> using namespace std; ... |
Apr 1, 2015 at 10:36pm
[1 reply] : Nothing to do with visual studios. You have to #include <string> to ... (by TarikNeaj)
|
by N495t4r
Code lines
|
I have been wondering, can I call a code line just as I can call a function by writing its name with parentheses? for example 5. int main ( ) { ... |
Apr 1, 2015 at 10:07pm
[13 replies] Last: There is labels and the goto option, but usually it's not considered g... (by DaBOSS)
|
Postfix Vs. Prefix |
OK, So I understand for built-in data types, it doesn't really matter -- in terms of optimization -- which operator you use: postfix or prefix; as the compiler ... |
Apr 1, 2015 at 8:46pm
[14 replies] Last: I just told the compiler to emit assembly instead of object code. How ... (by Albatross)
|
by trials26
Does catch(...) really catch everything?
|
I was doing some messing around with exceptions, to test whether they did what I wanted, and to get a better feel for how they work. I was surprised that I coul... |
Apr 1, 2015 at 8:39pm
[1 reply] : So would you say that catch(...) only catches C++ language exceptions... (by Peter87)
|
by trials26
move semantics/constructor
|
discussion pertains to this video: https://www.youtube.com/watch?v=7LxepUEcXA4 I'm just starting on move semantics, r-values, etc. I get most of this video ... |
Apr 1, 2015 at 7:08pm
[3 replies] Last: Yes that sounds about right. (by Peter87)
|
by n1becker
this pointer does not update when vector resizes
|
I have a vector of objects. The objects have several members(several ints, a couple bools, and a string). One of the member functions has a chance to spawn a ... |
Apr 1, 2015 at 6:22pm
[no replies]
|
by KrtinN
While Loop Does Not End
|
My while loop does not seem to end: while (check=1) { cout<<"Please enter the number of people: "<<endl; cin>>people; if (people<6000&&people>0); { che... |
Apr 1, 2015 at 4:41pm
[10 replies] Last: Any time (by shruti Biradar)
|
by rajcrec
Need to open an instance of excel from C++ code and then attach to it
|
My software is an excel plug-in. I need to do some unit-testing through Visual Studio ( debug mode ). We are using the C++ unit test framework embedded within V... |
Apr 1, 2015 at 4:01pm
[8 replies] Last: If you're going to go that route then I can say from experience that i... (by Computergeek01)
|
by Indianna32
Help with program for class!!!
|
So I am writing a program for class and cannot seem to get anywhere else with this. It is supposed to be all in main and open a document and then do a series of... |
Apr 1, 2015 at 3:31pm
[2 replies] Last: Ok, even I can read it now. Let's just talk about D, "Find the sum of... (by kbw)
|
by TpkEnix
Study Guide Help C++
|
*Am I right? : Square::print(); *Am I right? : Rectangle::print(); |
Apr 1, 2015 at 2:16pm
[3 replies] Last: We're not going to do your homework for you. Have a go at writing the... (by MikeyBoy)
|
by gunman353
[HELP] Vector of vectors or structs
|
So I took on a project which is beyond my current level and understanding of C++. Basically I am writing a program to accept user defined matrices, then to perf... |
Apr 1, 2015 at 2:06pm
[1 reply] : Here: vector < vector <double> > fullMatrix(int); you're declaring... (by MikeyBoy)
|