Forum: C++ Nov 22nd, 2008 |
| Replies: 2 Views: 918 How we can limit input data ? For example we only want the user to input 4 characters, user only can write up to 4 characters. Thank you fot your help. |
Forum: C++ Nov 22nd, 2008 |
| Replies: 2 Views: 304 How we can make a nice table in C++ ? I always use "|" and "___" to manually create a a table, but it often messed up. Please give me some tutorial and if possible table's screenshot. Thank you as... |
Forum: C++ Nov 22nd, 2008 |
| Replies: 8 Views: 542 ArKM your code is work better, thank you^^. But I have some code that i don't understand.
} else if (cin.eof()) { //<== what this code mean ?
cout << "cin closed." << endl;
else { // fail... |
Forum: C++ Nov 22nd, 2008 |
| Replies: 8 Views: 542 How I can convert it and know limit between numerical and string value ? |
Forum: C++ Nov 22nd, 2008 |
| Replies: 8 Views: 542 Hallo everyone, I have some problems with my assignment. I asked to provide some error-handling in my program. What I want to ask abou how we handle an input that isn't its type. For example i... |
Forum: C++ Oct 31st, 2008 |
| Replies: 11 Views: 2,898 Hmm...thank you for your suggestion, i already found some way^^. But i have difficulty combine this two code
This for make the blank spaces :
for ( int b=x;b>=0;b--){
for (int z=1;z<=b;z++){... |
Forum: C++ Oct 31st, 2008 |
| Replies: 11 Views: 2,898 @narue : i can't try that code of yours >.< I am using MinGw Developer Studio. Can you make the code so it can be executed in MinGw ? |
Forum: C++ Oct 31st, 2008 |
| Replies: 11 Views: 2,898 hmm if about how to make the blank space i already figured it out...The one that troubled me is how to write the "x" after the blank spaces. How can I do it ? |
Forum: C++ Oct 31st, 2008 |
| Replies: 11 Views: 2,898 Hello everyone, i have another assignments that i can't deal with my ability yet.
This is the assignment :
Make a pyramid from a character where you can define it's height !
Example : 4 characters... |
Forum: C++ Oct 21st, 2008 |
| Replies: 3 Views: 368 hmm an attempt....honestly, i really don't know how to write the code because functions that I know only conditional IF and increment and decrement for now. It really help me if you can show me some... |
Forum: C++ Oct 21st, 2008 |
| Replies: 3 Views: 368 Hello everyone, i am new in this forum and also in C++ programming. I just started learning C++ few months ago from my university then i stuck from some assignment they give me yesterday. I need to... |