Beginners - October 2010 (Page 39)

Glitch in Total Distance Ran Program
 
i am a beginner to C++ , jus started taking a course on it. I was trying to create a program where you can enter strides in first minute of running, strides in ...
[4 replies] Last: thanks for the help, it got it working. i changed the name of the fun... (by Rumbolt24)
matching Braces error
 
I cannot seem to find the problem in this. I have been through most of the error messages in the forum but can't seem to find one that fits this. The code is...
[4 replies] Last: Thanks guys it's working now. I took a break and came back with some f... (by alpha49er)
by unseen
cant find a problem in this
 
#include <iostream> #include <iomanip> #include <fstream> #include <string> #include <cstdlib> using namespace std ; const int MAX_KENO = ...
[5 replies] Last: You are using kenoB as a bitset (0 if it wasn't choose). So iterate o... (by ne555)
assignment from iterator
 
Greetings ! I would like to ask a question about yielding the value of an object and assigning it to a string or a char* array. Here's what I have so far....
[2 replies] Last: Hello Disch, I've tried that, and it works, I'm a little confused a... (by joseplusplus)
none
 
removed
[1 reply] : // Can't use *swap* because it's part of the STL grumble grumble ... (by Disch)
by wasabi
Warnings on enum type usage
 
I am finally getting the hang of enum lists, but am now getting the following warnings on my code: warning C4482: nonstandard extension used: enum 'Dialog::Ty...
[3 replies] Last: This fails to compile: #include <iostream> using namespace std; ... (by m4ster r0shi)
iterators in lists
 
Hello , how do i set the iterator i to directly point at the last element of the list without stepping through the list in the usual way shown below. std::...
[3 replies] Last: What exactly do you want to do in that loop? ( And with the last objec... (by Bazzy)
by vlad61
VC++
 
could anyone clue me in on how I can get a real time timer while using the GUI part of VC++? i can get a time stamp down with - DateTime::Now.ToString(); but ...
[no replies]
Difference between
 
Hello there, While trying to solve an exercise, I stumbled upon a definition which I don't understand, What's an array of character pointers ? When d...
[7 replies] Last: Good ! Thank you all very much for the responses. Have a nice d... (by joseplusplus)
need examples
 
...cant fully understand looping,, kindly give an example please.. the one with... the program ask to enter an number repeatedly until it reach a certain poin...
[2 replies] Last: like this? int input = 0; int nInput = 0; while (nInput <= 100) ... (by liyarax)
by Gui726
How to separate line by using "strtok"?
 
I have to read txt file which data is number. For example, my txt file is "1 2 3 4 2 3 4 5 6 7" that is it has to rows and each row has different numbe...
[3 replies] Last: Thanks you guys so much. (by Gui726)
understanding check boxes in VS2008 MFC
 
I have check boxes and they have BOOL variables tied to them (I right clicked on it and added the variable to each check box). When I put the code in OnBnClicke...
[no replies]
Tutorials on Linking
 
Ok, I thought I understood linking as I have done it before on other occasions, but it seems that I'm wrong. What frustrates me this time is that I can't seem t...
[1 reply] : This is for a linux system (gcc): http://www.network-theory.co.uk/docs... (by closed account Lv0f92yv)
gota problem!!!
 
how to take every digit of six digit number seprately.....i dont know where to start frm.... it would have been easy if it was six consecutive numbers but it i...
[4 replies] Last: % is the modulo operator. Given X 1 %X 2 , the outcome would be simila... (by Kyon)
by fikri
floating point (invalid)
 
hey guys, i need help with this question. i need to write a program to get the output which is : i) there will be two class which is info_student and mar...
[3 replies] Last: Are you sure that this does not work? #include <iostream> int mai... (by ne555)
by sekops
expected constructor, destructor, or type conversion before '(' token
 
Hi All, Im trying to declare the members of an element within my class * object . Here is a sample of the code. But I cant seem to get the context right... ...
[1 reply] : 1) You need to declare the size of the products array in the class. ... (by Disch)
by GRoss
Inheritance and Constructor
 
Hi everybody! I'm stuck yet again.. This time with inheritance and calling child constructors. Trying to call a PhysicsObject(int i) constructor from the ...
[7 replies] Last: GameObject( int i ) :PhysicsObject( i ) { } If inside the ... (by jsmith)
GROUPING OF NAMES :(
 
guys pls help me how to random this program that will result in grouping of names into three groups. pls help me guys.. the problem of my program is only one na...
[4 replies] Last: ahh tnx sir.. (by jonjondavid)
how to program a random names??
 
guys pls help me how to program a random names with groupings in C++ i have here a code.. my problem is i dont know how to random the names in once only, and i...
[12 replies] Last: tnx sir.. i am a beginer.. can you pls help me? my problem is how to ... (by jonjondavid)
by top68
saving a plot in BMP file
 
I use Borland C++ 3.1 DOS version. I have written a program that plots a series of numbers versus time axis using graphic functions of C++ 3.1 DOS. Now I want...
[2 replies] Last: see http://en.wikipedia.org/wiki/BMP_file_format#BMP_File_Header (by hamsterman)
October 2010 Pages: 1... 373839404142
  Archived months: [sep2010] [nov2010]

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