Beginners - April 2013 (Page 54)

How to use MfcTestRunner in CppUnit
 
Hello How to use MfcTestRunner in CppUnit ? http://cppunit.sourceforge.net/doc/lastest/class_mfc_...
[1 reply] : How to use CppUnit in MFC projects? (by Observer)
Function Overloading
 
hi all While learning function overloading i came across the following example to illustrate a corr...
[3 replies] Last: You can think of the examples this way: when you call the function and... (by Daleth)
Structure within a class
 
I'm trying to create a class called "team" that has a structure called "player" as one of its member...
[1 reply] : It is team::player totalplayers ; (by MiiNiPaa)
Calling a function from a function
 
I am having trouble calling the function isPurePalindrome() from inside the function isPalindrome()....
[3 replies] Last: char *begin, *end; *begin = *sentence; //points to first character ... (by jim80y)
netbean and visual studio 2010
 
can i ask why my program able to run in visual studio 2010 and output those all working fine total...
[3 replies] Last: netbeans is an IDE, not a compiler. Usually it uses gcc as a compiler.... (by MiiNiPaa)
Need help with Structs and Functions!
 
So I have been doing well in my C++ class all year, but nearing finals I sort of got behind on this ...
[4 replies] Last: Thanks for the help, I had some help from someone else on another site... (by NeroNova)
Temperature Conversion Program
 
Hi all beginner hear and im having trouble with the program im writing, below is my code. #inclu...
[12 replies] Last: The code works, but I get a weird value for an answer and i am unsure ... (by TECKSPEED)
Problem with an "else" statement
 
Total rookie here. I did the Cola Machine exercise and without the "else" statement it works fine b...
[4 replies] Last: Understood, thanks! (by Soulgin)
Reading, writing, and modifying a txt file
 
Hello. I haven't done any c/c++ in quite some time and I'm rusty so please bear with me. It's been e...
[3 replies] Last: I think I have almost gotten this working with two .txt files. Would r... (by razezar)
MY CODE TURNED INTO SYMBOLS
 
I just finished my program and in textpad and now its all in random symbols and I cant UNDO it any h...
[8 replies] Last: Try reformatting it to UTF-8 ... . (by closed account 3CXz8vqX)
by zukias
How to load PNG images in SDL?
 
I tried googling it and suprisingly nothing useful comes up. I can upload BMP images using the IMG_L...
[5 replies] Last: or "some.gif" and so on... (by closed account 3CXz8vqX)
For loop
 
# include <iostream> # include <cmath> int main () { using namespace std; for (int i ...
[3 replies] Last: for (unsigned i = 1; i <= 10; i += 2) cout << i << " "; ... (by Zaita)
by moneef
check for prime numbers using only IF-ELSE
 
hello guys i'm trying to make a program to check for a user input if it prime or not, by only using ...
[8 replies] Last: I actually think you can do it using template recursion too, the numbe... (by Zaita)
by Zexd
A few questions...
 
I have some questions about C++... What keywords explicit, virtual, protected, continue, volatile,...
[2 replies] Last: Yea, I know what are classes. However, I do not know what those keywor... (by Zexd)
question
 
can you tell me if these are true -an array is a list in which each element is accessed using a ...
[2 replies] Last: int array ; int access = 0; cout << array ; cout << array[access+... (by closed account 3CXz8vqX)
Vector
 
What is wrong with this? #include <iostream> using namespace std; #include <vector> #incl...
[2 replies] Last: I don't think he meant anything. Looks like a "Find the error in th... (by cnoeval)
confusion with pre and post increment)
 
I commented next to the code how I worked out the output for this code. However actual output is dif...
[1 reply] : This statement x = y++ + x++; has undefined behav... (by vlad from moscow)
Function
 
What is wrong with this? // gascheck.cpp #include <iostream> using namespace std; // func...
[1 reply] : The closing curly brace of the else block is missing. char print_w... (by Catfish3)
Functions
 
Why is this wrong? #include <iostream> using namespace std; void neg_msg(string a); s...
[1 reply] : Declaration int a; hides global declaration string a = "Negative"; ... (by vlad from moscow)
by brheat
2D Array as parameter
 
I want to create a function that accepts a 2D array as a parameter and modify/add the values to it, ...
[1 reply] : If the argument will be a statical array then you can define the funct... (by vlad from moscow)
April 2013 Pages: 1... 5253545556... 83
  Archived months: [mar2013] [may2013]

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