User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 397,635 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,404 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 7 of 7
Search took 0.01 seconds.
Posts Made By: hike34
Forum: C++ Nov 24th, 2005
Replies: 2
Views: 1,227
Posted By hike34
adding a '\' to a CString object

I am programing in MFC .NET, and I am encountering a problum in adding the symbol '\' to a CString object. This is naturaly due to the fact that the symbol is used for such things as \n \t ect.

How...
Forum: C++ Jul 24th, 2005
Replies: 9
Views: 1,468
Posted By hike34
Re: handeling wrong input from user

That's no help, my program is suppose to be 'stupid user safe'.

I did slove the problem like this (reminder, x is a double variable):

if (!(cin>>x)){
cout<<"bad...
Forum: C++ Jul 24th, 2005
Replies: 9
Views: 1,468
Posted By hike34
Re: handeling wrong input from user

It's a possability, but a dirty one... (one that I am trying to avoide)
I guess a better question would be, why the program is ignoring all the other cin's
Forum: C++ Jul 24th, 2005
Replies: 9
Views: 1,468
Posted By hike34
Re: handeling wrong input from user

I can, but this doesn't solve the problum - The program still ignores the rest of the cin's without pausing for input.

for example, the following is an infinate loop on the input 'a':

while (!(cin...
Forum: C++ Jul 24th, 2005
Replies: 9
Views: 1,468
Posted By hike34
Re: handeling wrong input from user

couldn't edit, here is a program and it's resaults for example:
void main()
{
double x=1;
double y=2;
double z=3;
cout<<"x:"<<endl;
cin >> x;
cout<<"y:"<<endl;
cin>>y;
Forum: C++ Jul 24th, 2005
Replies: 9
Views: 1,468
Posted By hike34
handeling wrong input from user

Hi all and thanks in advance for any help.

I have a basic program that needs to read a number of inputs from a user.
To all these inputs I assign a default value before I call for the user to give...
Forum: ASP.NET Jul 17th, 2005
Replies: 3
Views: 7,593
Posted By hike34
Re: 'System.Security.Policy.PolicyException' compiler error on shared drive

How would I go about doing that? (dealing with the same problum now)
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 10:12 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC