Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~63.4K People Reached

10 Posted Topics

Member Avatar for samaru
Member Avatar for lara_

i just want to whether there is a replacement for getch() in C++. my friend said getch() is C function. thanks!

Member Avatar for nootan.ghimire_1
0
7K
Member Avatar for lara_

i dunno whether this question has been ask before but i've try to search but didn't found. so i ask it here... very simple... if i declare [B]int Z; cin >> Z;[/b] if I enter integer, it works fine but i enter character it's looping. :sad: how to prevent it …

Member Avatar for Hymppis
0
346
Member Avatar for coolmel55

[QUOTE=djextazy]It'll be something like this: #include <iostream.h> #include <conio.h> void main() { clrscr(); int a[50],b[50],i,n,g; cout<<"Give the number of elements of both vectors: "; cin>>n; for(i=1;i<=n;i++) { cout<<"a["<<i<<"]= "; cin>>a[i]; } /* give the elements of the first vector */ for(i=1;i<=n;i++) { cout<<"b["<<i<<"]= "; cin>>b[i]; } /* give the elements …

Member Avatar for arkoenig
0
304
Member Avatar for lara_

Hi, I'm using IE6 in my PC. 6 mths ago, I have install Visio Viewer 2003 and I'm able to view Visio files in IE. After some time did not open any visio files, my IE now cannot display visio files anymore. All I see is a small image with …

Member Avatar for dragonrider0
0
146
Member Avatar for lara_

Hi All, I'm using a Toshiba Laptop with Windows Vista Home Premium. Strangely my USB mouse will suddenly freeze after 3-5 minutes in use. I cannot move my cursor but I can click (left or right). Have tried with several mouse, all having the same problem. However, touchpad got no …

Member Avatar for lara_
0
230
Member Avatar for lara_

Hi, I have a VB.Net system that connect to SQL Server through ODBC. When I try to raiseerror from an IF...ELSE statement, it does not triggered the exception handling. I have done some raise error testing at my side. Below is my finding: 1. RaiseError did not triggered exception: [code] …

Member Avatar for lara_
0
182
Member Avatar for lara_

I've just wrote this program and when i compile, the gets() function is skip before i can enter the string. i have try cin.getline but the same problem occurs. Can anybody tells me what's the problem and to solve it? [code] #include<iostream> #include<cctype> using namespace std; int main () { …

Member Avatar for Narue
0
2K
Member Avatar for jags

[QUOTE=Narue]>now check if the input is valid or not by an if statement giving right parameters This is okay if the OP is forced to use such a braindead approach. Otherwise a series of 50 if statements is silly, and a table driven approach is far better.[/QUOTE] actually i also …

Member Avatar for Narue
0
885
Member Avatar for lara_

why i have to press "enter" twice before getline can read the string... can anybody help me to solve this problem... [code] #include <iostream> #include <string> #include <new> using namespace std; int main() { string *name, hold; int num, i, j; cout << "----------------------------------------------------\n" << "This program creates a dynamic …

Member Avatar for Dave Sinkula
0
323

The End.