Beginners - February 2012 (Page 39)

Using Functions and arrays
 
Driver's license exam has 20 multiple choice questions. I have the questions and answers. The progra...
[1 reply] : Store users answers in array. When user has finished: set score to ... (by Moschops)
Read output of /proc/[pid]/status
 
This question is kind of a C question, rather than C++, but I figured this would still be an appropr...
[no replies]
by NYK
string problems
 
#include <iostream> #include <string> #include <strings.h>// just to make sure. using namespace...
[8 replies] Last: // yes, I was not able to implement a sub-function that I had found: ... (by NYK)
Validate user input
 
Hi all, I am new to the forum. I am trying to validate user input to be between 1 to 100. Anythin...
[14 replies] Last: Chipp, because it is a C header. (by LB)
Cimg library
 
hi does anyone worked with cimg library? (http://cimg.sourceforge.net/index.shtml) if you did ple...
[9 replies] Last: Download the whole package http://sourceforge.net/projects/cimg/file... (by Moschops)
Class problem
 
I was watching this tutorial: http://thenewboston.org/watch.php?cat=16&number=55 I understood it al...
[2 replies] Last: Wow, that was fast! Thanks! (by Exispistis)
by atjm88
N=P?
 
Original program #include <iostream> #include <conio> int main() { int N, itemCnt=0; doub...
[11 replies] Last: Thanks chipp for the library provided...it do help in Visual Studio 20... (by atjm88)
Why the 5 random characters?
 
Can anyone tell me why my output for this program looks like this: (The 5 characters underlined are...
[1 reply] : Lol. Thanks for all the help. I've figured out how to fix everything... (by ErinCorona)
by Lio
Ambigous constructor
 
I have problem with ambiguous constractor When I call the empty cosntractor ,I have an error call ...
[1 reply] : You gave a default value to the double constructor, so two constructor... (by hamsterman)
vector!! push_back bug in c++ prog.
 
Hello there. Im working with a bank program in console c++. I have faced a problem i can't solve now...
[2 replies] Last: Yes thank you it worked :) (by It3rat0r)
array of derived classes problems
 
Hi, I'm trying to learn how to have an array of derived classes. The code below shows a simplifi...
[4 replies] Last: Thanks Peter, that was just what I was looking for. Cheers (by mscashmore)
Can't get simple "write" function to work
 
Hello all, first post here having a bit of trouble figuring out what i am doing wrong. I'll start...
[2 replies] Last: You are not actually initializing the data members in the default cons... (by Peter87)
by atjm88
Why need this line before go into loop?
 
Hi, the following code from C++ book, but I don't know why need this line of code at line 11 and 12 ...
[11 replies] Last: Thanks for the explanation, I will try to look in details at the link ... (by atjm88)
string-array functions
 
Hey out there, I would like you to ask if you could use a string-array as return type. I'd thi...
[3 replies] Last: cool! thanks a lot you two. (by FlashDrive)
Why isn't my infile.get working?
 
My program is supposed to read in numbers from a file, one character at a time. When ran, the progr...
[5 replies] Last: For future reference (for myself, really) it wasn't working because my... (by ErinCorona)
by atjm88
Boolean Flag??
 
Hi, may I know how to implement the proceed as a Boolean flag? I not really know what is Boolean f...
[2 replies] Last: Thanks yasar, means that if I enter "1", it will consider as "true" an... (by atjm88)
union of two strings A and B
 
I need to write the function which return the union of two strings in C++. public string union(s...
[9 replies] Last: @ne555, I'm hardly in any kind of position to enforce learning. (by hamsterman)
by atjm88
Failed to load image
 
Hi, I tried to run the following code in Visual Studio 2010 C++ but then it give an error: fatal err...
[3 replies] Last: I need an advice from u guy too, now I'm doing the project related to ... (by atjm88)
How to concatenate macro definition and a string
 
Can I make something like this work? // consider that macro PARENT defined when compiling usin...
[4 replies] Last: Because I want it to be decided by configuration script. I have made c... (by yasar11732)
by atjm88
Borland C++ Tracing?
 
Hi, can the Borland C++ trace the code line by line? Is there any function like that? TQ...
[no replies]
February 2012 Pages: 1... 3738394041... 64
  Archived months: [jan2012] [mar2012]

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