Forum: C++ Feb 2nd, 2008 |
| Replies: 5 Views: 713 |
Forum: C++ Feb 2nd, 2008 |
| Replies: 3 Views: 1,147 Re: simple while loop Yup...
and you cannot use a comparison for string using '==' or '!='.
The condition for your while should be && |
Forum: C++ Dec 19th, 2007 |
| Replies: 8 Views: 784 Re: Program with 2 arrays I like the way you think :icon_twisted:
But hey, it's not going to hurt just to share. Someone might learn something too, right? |
Forum: C++ Dec 18th, 2007 |
| Replies: 18 Views: 4,710 |
Forum: C++ Dec 18th, 2007 |
| Replies: 6 Views: 966 Re: encryption program I don't quite understand what are you trying to say....Could you make it a lil' bit more detail? |
Forum: C++ Dec 18th, 2007 |
| Replies: 10 Views: 869 |
Forum: C++ Dec 18th, 2007 |
| Replies: 8 Views: 784 |
Forum: C++ Dec 18th, 2007 |
| Replies: 18 Views: 4,710 |
Forum: C++ Dec 18th, 2007 |
| Replies: 18 Views: 4,710 |
Forum: C++ Dec 18th, 2007 |
| Replies: 18 Views: 4,710 |
Forum: C++ Dec 18th, 2007 |
| Replies: 18 Views: 4,710 |
Forum: C++ Dec 18th, 2007 |
| Replies: 18 Views: 4,710 |
Forum: C++ Dec 18th, 2007 |
| Replies: 6 Views: 749 Re: Using arrays and menus... This is the translation (in diagram) for WaltP explanations:
- Suppose you're declaring an array named food
- The declaration of an array:
double food[the_size_of_the_array];
- ALWAYS keep in... |
Forum: C++ Dec 18th, 2007 |
| Replies: 6 Views: 966 Re: encryption program What I don't get it, is what is the brackets does...? Are you trying to change the output value of i so the value of i is straightly changed to the encrypted value? |
Forum: C++ Dec 18th, 2007 |
| Replies: 10 Views: 869 Re: int * Help But I though DMA is for integers contain in an array only? Characters won't work for DMA....I've tried it before |
Forum: C++ Dec 18th, 2007 |
| Replies: 5 Views: 458 |
Forum: C++ Dec 18th, 2007 |
| Replies: 18 Views: 4,710 |
Forum: C++ Dec 18th, 2007 |
| Replies: 8 Views: 784 Re: Program with 2 arrays Specify your requirements more detail....whether it needs 2 dimensional array or what? Either way, it's simple....try this - Loop the array & inside the 1st loop, loop another array(a different... |
Forum: C++ Dec 18th, 2007 |
| Replies: 18 Views: 4,710 |
Forum: C++ Dec 18th, 2007 |
| Replies: 19 Views: 1,352 |
Forum: C++ Dec 18th, 2007 |
| Replies: 22 Views: 6,312 |
Forum: C++ Dec 18th, 2007 |
| Replies: 4 Views: 498 |
Forum: Community Introductions Dec 18th, 2007 |
| Replies: 14 Views: 842 Re: I come in Peace efmesch: Yup...I know they don't really mean what they say...HAH!
nav33n: I was pretty lazy + stress yesterday
I came from a decent, humble and low profile background. Sometimes, I got really soft... |
Forum: C++ Dec 17th, 2007 |
| Replies: 5 Views: 914 |
Forum: C++ Dec 17th, 2007 |
| Replies: 4 Views: 498 Re: I need help please This is how to store something into an array:
for(int i=0;i<25;i++){
string name[i];
cout<<"Enter student's name: ";
cin>>name[i];
}
for(i=0;i<25;i++)
cout<<name[i]; |
Forum: C++ Dec 17th, 2007 |
| Replies: 4 Views: 498 Re: I need help please Ok...firstly, u really should learn about <fstream>
Declaration:
#include <fstream>
..
...
//in your main() |
Forum: Community Introductions Dec 17th, 2007 |
| Replies: 14 Views: 842 Re: I come in Peace True, true....Besides, I hate to shake things up but some guys in here sure are 'meany'....:(
By the way, nav33n, I've done my homework....BY MYSELF....shish :@ |
Forum: C++ Dec 17th, 2007 |
| Replies: 5 Views: 914 |
Forum: C++ Dec 17th, 2007 |
| Replies: 19 Views: 1,352 |
Forum: C++ Dec 17th, 2007 |
| Replies: 19 Views: 1,352 |
Forum: C++ Dec 17th, 2007 |
| Replies: 15 Views: 1,350 Re: String Input & Output I don't quite understand your question....You required to break a statement, right?
E.g:
This is just a test
-After break the whole string-
This
is
just
a
test |
Forum: C++ Dec 17th, 2007 |
| Replies: 22 Views: 6,312 Re: remove extra blank spaces in a text file I was surfing around, looking for the same solutions. But few hours ago, I've managed to solve it. This is my code & please, comment my codings:
#include <iostream>
#include <string>
#include... |
Forum: Community Introductions Dec 17th, 2007 |
| Replies: 14 Views: 842 |
Forum: Community Introductions Dec 17th, 2007 |
| Replies: 14 Views: 842 |
Forum: Community Introductions Dec 17th, 2007 |
| Replies: 14 Views: 842 Re: I come in Peace Sounds like the job for me :*
BTW, can u help me with these:-
"Write a program that reads text from one file and writes an edited version of the
same text to another file. The edited version is... |
Forum: Community Introductions Dec 17th, 2007 |
| Replies: 14 Views: 842 Re: I come in Peace I was hoping u could spare some motivations....but that'll do ;)
Tell me, how was it like working as a software engineer? |
Forum: Community Introductions Dec 17th, 2007 |
| Replies: 14 Views: 842 I come in Peace Aloha...
I'm |acid| from Malaysia. I'm still new to programming....have no working experience but I know a lil' thing or two. I was lurking around DaniW since last few months but only registered... |