Search Results

Showing results 1 to 40 of 434
Search took 0.03 seconds.
Search: Posts Made By: zandiago ; Forum: C++ and child forums
Forum: C++ Oct 7th, 2008
Replies: 6
Views: 1,454
Posted By zandiago
It would be good if you could tell us what problems you're facing. So i'm presuming that employee.txt is an infile? Please upload it.
Forum: C++ Jul 5th, 2008
Replies: 1
Views: 1,008
Posted By zandiago
Good day to you. Please post youe question in the C++ section of this forum along with your code so it can be reviewed....sorry....no free answers here.
Forum: C++ May 1st, 2008
Replies: 6
Views: 688
Posted By zandiago
Does the infile consist of strings and characters jumbled?
Forum: C++ May 1st, 2008
Replies: 2
Views: 997
Posted By zandiago
Entering a keypress without pressing <Enter>

The following header must be added to the template:
#include <conio.h>

if one wants to continue keypresses until the ampersand (&) is pressed.
...
Forum: C++ Feb 18th, 2008
Replies: 3
Views: 1,370
Posted By zandiago
Just so that you can verify. Please see the following snippet (You'd have to change the dates to your specifications):
http://www.daniweb.com/code/snippet792.html
Forum: C++ Feb 12th, 2008
Replies: 3
Views: 433
Posted By zandiago
You're welcome...By the way, on your assignment sheet, it said the language was C, please don't confuse C with C++.
Forum: C++ Feb 12th, 2008
Replies: 25
Views: 5,569
Posted By zandiago
Think it out a bit more, you almost got it:

Let say 123 is the number you enter
after (123%10)*100+(123%100)/10+(123)/100
you'll get 321
Forum: C++ Feb 12th, 2008
Replies: 3
Views: 433
Posted By zandiago
Good day. In your attachment i couldn't see how the output should be, but here some basic info:

<includes>//put all req headers here

using namespace std;
int main()

{
float fah
float cel
Forum: C++ Feb 11th, 2008
Replies: 3
Code Snippet: Another use of substr
Views: 3,007
Posted By zandiago
Thank you guys for your comment, will be posting a few more within the next week or so.
Forum: C++ Feb 8th, 2008
Replies: 4
Views: 1,386
Posted By zandiago
Glad to have you with us!
Forum: C++ Feb 8th, 2008
Replies: 3
Views: 817
Posted By zandiago
also...where is the question?
Forum: C++ Feb 7th, 2008
Replies: 10
Views: 1,380
Posted By zandiago
Please post what you've tried...start out with a pen & paper! Write out an algorithm....which part of the assignment are you stuck?
Forum: C++ Jan 31st, 2008
Replies: 7
Views: 1,006
Posted By zandiago
#include <string>
#include <cmath>

using namespace std;

int main()

{
cout<<"Press x to get the answer"<<endl;
cin>>x;
Forum: C++ Jan 30th, 2008
Replies: 11
Views: 1,205
Posted By zandiago
We use:

#include <string>

Just remember that the term "string" generally means an ordered sequence of characters.
In an assignment, you could use something like:

sting actor = "Dani";...
Forum: C++ Jan 30th, 2008
Replies: 14
Views: 1,871
Posted By zandiago
Guys...stop being so harsh on him...here is the answer:

#include <string>
#include <cmath>

using namespace std;

int main()

{
Forum: C++ Jan 15th, 2008
Replies: 21
Views: 4,030
Posted By zandiago
I'm personally going to recommend the use of latitude and longitude as mentioned above...i did this a few weeks ago, so i'll guide you as you go along!
Forum: C++ Jan 14th, 2008
Replies: 2
Views: 2,933
Posted By zandiago
Good day, here is one of the commands that will allow you to get sound in your program. It was compiled using DevC++.
Forum: C++ Jan 6th, 2008
Replies: 6
Views: 2,801
Posted By zandiago
Welcome aboard...if your going to be reading in the sentence from an infile, you check this and see if it helps...but you need to show what you've got to get additional help:...
Forum: C++ Jan 4th, 2008
Replies: 2
Views: 2,096
Posted By zandiago
So will I...But I won't be hard on you like some of the other guys around here..so here is your answer:

/* Program Name: Project.cpp

Description:Class 11 assg for project
Name:...
Forum: C++ Jan 1st, 2008
Replies: 7
Views: 911
Posted By zandiago
Yes, you can download it....try a little searching on google and you'll find it. Microsoft visual c++ is also a good compiler!
Forum: C++ Dec 28th, 2007
Replies: 21
Views: 2,060
Posted By zandiago
conio.h works fine for me in Borland DevC++
Forum: C++ Dec 27th, 2007
Replies: 12
Views: 2,592
Posted By zandiago
Please post what you have so far so that we can review it....again...we won't do your assignment for you!
Forum: C++ Dec 27th, 2007
Replies: 2
Views: 1,942
Posted By zandiago
Use <iomanip>, not <iomanip.h>. It is used to produce formatted output, or to perform operations like flushing the stream, the stream classes provide member functions. 2. stdlib.h "general purpose...
Forum: C++ Dec 26th, 2007
Replies: 12
Views: 2,592
Posted By zandiago
Forgot to add you'll need some switch statements & functions to go along with the above mentioned.
Forum: C++ Dec 26th, 2007
Replies: 12
Views: 2,592
Posted By zandiago
@Narue: Your good...i didn't comprehend what he was saying initially.
@anumalayil: We wont do your homework for you! However, you need to start. These are what i think you should include in your...
Forum: C++ Dec 18th, 2007
Replies: 16
Views: 2,176
Posted By zandiago
A random number guessing game...or a program that can allow you to tell the distance between two major cities in the world?
Forum: C++ Dec 13th, 2007
Replies: 9
Views: 920
Posted By zandiago
Get a torch and flash your own light...you got to do your work, what happens when you have your final exam/tests...are you going to post those questions here?
Forum: C++ Dec 12th, 2007
Replies: 9
Views: 920
Posted By zandiago
Interesting...well, a few things:
You'll need the headers and main function as AD pointed out.
2. You need to declare a few variables.
3. You need to create input/output statements..i.e.cout<<...
Forum: C++ Dec 11th, 2007
Replies: 5
Views: 694
Posted By zandiago
A random number guessing number could suffice to some extent...
Forum: C++ Dec 9th, 2007
Replies: 2
Views: 542
Posted By zandiago
Could you please be more detailed and tell what the requirements of the program are?
Forum: C++ Dec 8th, 2007
Replies: 11
Views: 1,558
Posted By zandiago
Please post the error that you get.
Forum: C++ Dec 7th, 2007
Replies: 6
Views: 3,859
Posted By zandiago
Could you please your code for the benefit of the entire daniweb community! Glad your program is working!
Forum: C++ Dec 6th, 2007
Replies: 3
Code Snippet: Another use of substr
Views: 3,007
Posted By zandiago
Frequently, you may need to isolate words in a phrase. In this example, we'll use substr to carry out this task.
Forum: C++ Dec 6th, 2007
Replies: 1
Views: 2,765
Posted By zandiago
This is a neat little program to calculate the date of easter in any given year. The principle is based on the julian calendar.
Forum: C++ Dec 6th, 2007
Replies: 2
Solved: Thanks
Views: 488
Posted By zandiago
Yess..thx AD, I actually got one of the highest grades in the class! However, I'll be posting a few questions where he took off points to see where I went wrong..but most professors want things their...
Forum: C++ Dec 5th, 2007
Replies: 2
Solved: Thanks
Views: 488
Posted By zandiago
2
Thanks
Good day to all of you who assisted me. I never thought I'd pass this class, but with all your help, I made it. This is the only C++ course that I needed...so I really wont have any c++ questions to...
Forum: C++ Dec 4th, 2007
Replies: 7
Views: 6,883
Posted By zandiago
Maybe this will give you an idea:
http://www.daniweb.com/forums/thread93146.html&highlight=min+max+number
Forum: C++ Dec 4th, 2007
Replies: 6
Views: 3,859
Posted By zandiago
Good day and welcome aboard. With regards to checking to see if a char is a letter, we use the isalpha() function. It's also good to post your code here, so that we can look it over. More information...
Forum: C++ Dec 2nd, 2007
Replies: 7
Views: 1,081
Posted By zandiago
Great link..thx again!
Forum: C++ Dec 2nd, 2007
Replies: 9
Views: 2,811
Posted By zandiago
Thanks for spotting those out!
Showing results 1 to 40 of 434

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC