-
Began Watching Corrections Turbo C++ Conversion
Ok this program is almost done. Some correction are still needed. Can anyone here put this in character array. #include<iostream.h> #include<conio.h> #include<stdio.h> char value; char t, u, v; char answer; … -
Replied To a Post in Corrections Turbo C++ Conversion
See other post ... Please ensure all your example code is placed with indenting preserved. NO one wants to try to read C++ code that has NO proper indentation !!! … -
Began Watching Need major help and correction.
Hi I need help to correct this program :( NOTE THIS IS "TURBO C++" #include<iostream.h> #include<conio.h> #include<stdio.h> char value; char t, u, v; char answer; void Binary2Decimal() { gotoxy(1,17);printf("[BINARY TO … -
Replied To a Post in Need major help and correction.
Ok ... you still need to clean it up a lot ... I only edited enough so that I could compile it with an up to date C++ compiler ... … -
Edited C readLine and readWord (like getline and cin >> ... in C++)
In the last few days, I have noticed a very old thread ... resurrected ... about a non-standard C getline function. To all who may like a C readLine function … -
Created C readLine and readWord (like getline and cin >> ... in C++)
In the last few days, I have noticed a very old thread ... resurrected ... about a non-standard C getline function. To all who may like a C readLine function … -
Began Watching C readLine and readWord (like getline and cin >> ... in C++)
In the last few days, I have noticed a very old thread ... resurrected ... about a non-standard C getline function. To all who may like a C readLine function … -
Began Watching Base Conversions
I'm trying to convert a number from any base between 2-36 to any base between 2-36. I have the conversion to base 10, but I'm having trouble getting it from … -
Replied To a Post in Base Conversions
Since you are coding in C++, why don't you use C++ string to hold your 'numbers' ... of ANY LENGTH? -
Replied To a Post in String comparison (string manipulation) and sorting, need help
I just noticed ... that you have posted the very same problem at ... at least two other help sites ... That is NOT the way to learn how to … -
Replied To a Post in Vectors/Classes Program, Need Help
Maybe something like this ... (that uses C++ string, stringstream objects, etc...) // distanceTwoCitiesList_sort3.cpp // // 2014-03-04 // #include <iostream> #include <fstream> #include <string> #include <sstream> // re. istringstream objects … -
Replied To a Post in String comparison (string manipulation) and sorting, need help
Here is an example ... (that instead of using C++ string, includes its own class String ... the same class String that I supplied you the link to ... above.) … -
Replied To a Post in String comparison (string manipulation) and sorting, need help
> I do not have your non-standard version of C++ string... > So how can I help you with it? -
Replied To a Post in Vectors/Classes Program, Need Help
> My code works exactly as you mentioned above, I need help with the following: >Make sure you allow them to choose their options by both the number and the … -
Replied To a Post in String comparison (string manipulation) and sorting, need help
> Need some help ASAP, so I emailed my teacher to verify my code and this is what he said: > "There is so much wrong, it is hard to … -
Replied To a Post in Parsing a date
/* parseOutDate.c */ /* 2014-03-03 */ /* I am trying to parse a date stored as an array of characters. I have a problem to parse the date with a … -
Replied To a Post in Parsing a date
> I am trying to parse a date stored as an array of characters. I have a problem (to parse the date) with a loop ... This may help you … -
Replied To a Post in Vectors/Classes Program, Need Help
Recall when using /* ... */ that ... /* code here does NOT GET COMPILED into executable code */ So you can add comments ... or ... comment OUT CODE … -
Replied To a Post in From any base to base 10
You are *way over-due* to UPDATE to a modern C++ compiler ... So many are free ... and *UP-TO-DATE !!!* Or ... since you are really using a lot of … -
Began Watching theory question.
what are the difference between the access specifiers and private and protected ? -
Replied To a Post in theory question.
[see](http://www.daniweb.com/software-development/cpp/threads/474369/how-to-make-program-of-this-question) -
Began Watching theory question.
what is visibility mode?explain all -
Replied To a Post in theory question.
[link](http://www.daniweb.com/software-development/cpp/threads/474369/how-to-make-program-of-this-question) -
Began Watching theory question.
what are the different form of inheritance supported by c++? -
Replied To a Post in theory question.
http://www.daniweb.com/software-development/cpp/threads/474369/how-to-make-program-of-this-question[Click Here](http://www.daniweb.com/software-development/cpp/threads/474369/how-to-make-program-of-this-question) -
Began Watching how to make program of this question.
write a program which explain the use of reference variable. -
Replied To a Post in how to make program of this question.
Do you know how to use Google ... or some other search site ... to do a search? That is a 'basic tool' to master ... in learning computer programming … -
Began Watching theory question.
explain pure virtual function. -
Replied To a Post in theory question.
When I just did a Google Search, on *[pure virtual function](http://www.learncpp.com/cpp-tutorial/126-pure-virtual-functions-abstract-base-classes-and-interface-classes/)* right now, this was at the top: (You can do that too ... Yes ?) >When we add a … -
Began Watching Parsing a date
I am trying to parse a date stored as an array of characters. I have a problem to paerse the date with a loop otherwise it works fine. char date[]="20141018"; … -
Replied To a Post in Parsing a date
You may have other errors ... best to post the whole section (or program). /* char year= "YYYY"; char month="MM"; char day= "DD"; */ /* But ... I suspect you … -
Stopped Watching What is wrong with my code?
I have no idea what I'm doing wrong, any help is very much appreciated! #include <iostream> #include <string> using namespace std; int main() int hours, mins, minutes; char day1, day2, … -
Began Watching What is wrong with my code?
I have no idea what I'm doing wrong, any help is very much appreciated! #include <iostream> #include <string> using namespace std; int main() int hours, mins, minutes; char day1, day2, … -
Replied To a Post in What is wrong with my code?
You are also using a C getchar() call with no C/C++ header <cstdio> to match. But since ... coding in C++ ... use cin.get() instead. -
Replied To a Post in From any base to base 10
Try this, popular with beginning students for ease of use ... [http://sourceforge.net/projects/orwelldevcpp/](http://sourceforge.net/projects/orwelldevcpp/) -
Began Watching From any base to base 10
Can anyone edit this program from "Base 10 to any base" --->>> to "From any base to base 10 with character array" .I would really appreciate this a lot. I … -
Replied To a Post in From any base to base 10
Oops ... see below ... -
Replied To a Post in C++ Payroll
Maybe this will give you some more ideas ... // beginnerPayProgram.cpp // // 2014-03-02 // // Note the added loop, comments, keeping cin stream 'flushed as we go' // and … -
Began Watching Login and profile pages are now secure
As you may know, I've been putting a lot of work into the DaniPad website @ http://www.daniweb.com/danipad over the past few days. Because DaniPad accepts credit cards, I had to … -
Replied To a Post in Login and profile pages are now secure
Hope 'your new web site' bristols with bright business. Are you thinking of franchises yet ... like one near Toronto Ontario Canada area :) Best regards, David W Zavitz P.S. … -
Replied To a Post in Need help with C-strings/Library program
Also ... you may like to see this (revised) ... [class String:](http://www.4shared.com/folder/xPqGQHPl/class_String.html) -
Began Watching Menu() & Switch() ; switch() doesn't work properly..
Here the switch() isn't working properly;not executing the function; & morever the while loop run twice when an invalid choice is given.. #include<stdio.h> #include<stdlib.h> #include<ctype.h> #include<string.h> #define MAX 100 int … -
Replied To a Post in Menu() & Switch() ; switch() doesn't work properly..
You may like to see this version using fixedFgets ... to see another way to handle input problems in C. /* demo 'fixedFgets' and 'keeping flushed' the stdin stream... */ … -
Replied To a Post in column major not shown right
I had thought, (maybe wrongly, it seems now), that you had wanted to multiply Matrix A ... by a Matrix B ... where both were input as one long vector … -
Began Watching C++ Payroll
Please, i need a teacher to help me out...i am at the intro stage and i was wondering if someone would walk me through this please..i would appreciate it. Mr. … -
Replied To a Post in C++ Payroll
Did you realize that you are taking in your 3 data elements twice? And that the 2nd 'take in' set of data ... over-write the first? Also ... do you … -
Began Watching opp
i want to learn OOP programing.specialy oprater overloading -
Replied To a Post in opp
A common student 'overload' ... is, overloading operator << to output the data in a (student) data set ... See the following: Data file: myData.txt 1 20000101 Jane Doe 4 … -
Began Watching looking for reference source code
Hi, I'm looking for embedded system or os source code example. Just to learn some common error or good way to write some device process. Probably in C or C++. … -
Replied To a Post in looking for reference source code
To the OP: Have you thought about doing some assembly coding? HLA (High Level Assembly by Randy Hyde) is a great way to start to get a feel for what …
The End.