Search Results

Showing results 1 to 11 of 11
Search took 0.01 seconds.
Search: Posts Made By: Mac.Z
Forum: C++ May 16th, 2007
Replies: 3
Views: 1,501
Posted By Mac.Z
Hi everyone,

Sorry for the long title! What I want to know is whether it's possible to convert specified elements of array of char to int using some fuction ?
let's say we have char x[10],
x[0]...
Forum: C++ Apr 22nd, 2007
Replies: 2
Views: 1,834
Posted By Mac.Z
Thanks, I found solution .. I've to use cin.ignore() to clear the bufffer..
Forum: C Apr 22nd, 2007
Replies: 8
Views: 2,338
Posted By Mac.Z
Thanks guys, your replies were really useful :)
Forum: C++ Apr 22nd, 2007
Replies: 2
Views: 1,834
Posted By Mac.Z
Hi,
I can't get cin.getline to work properly, I'm using it inside a for loop.. it gets the input sucessfuly when the loop is executed for the first time(i=0), but it doesn't wait to take any input...
Forum: C Apr 19th, 2007
Replies: 8
Views: 2,338
Posted By Mac.Z
Hello,

let's say the user enters a value in this format xx:xx:xx
where xx is an integer, how can I assign each xx to integer vars?
I though of everything I know..
can't use getline(),getchar()...
Forum: C++ Mar 26th, 2007
Replies: 3
Views: 1,885
Posted By Mac.Z
Thanks for your response,
what's driving me crazy is getch() is being taught at college..it's non-standard and they didn't mention anything about that !
Forum: C++ Mar 26th, 2007
Replies: 3
Views: 1,885
Posted By Mac.Z
Hello,

How to read an input(string) from the user keyboard without displaying it on the I/S, but to disply a character that I specify like (*) instead of the actual inputted character.. and if...
Forum: C++ Feb 7th, 2007
Replies: 7
Views: 3,301
Posted By Mac.Z
to clarify what I meant,
maximum value for unsigned int: 4294967295

=====code4======

unsigned int a,b;
cout << "Enter a: ";
cin >> a;
cout << a << endl;
cout <<...
Forum: C++ Feb 7th, 2007
Replies: 7
Views: 3,301
Posted By Mac.Z
Thanks guys for your responses :)



This is REALLY INTERESTING, and explained many things but it lead to more MANY thoughts too..

for me it explains the output of the following:...
Forum: C++ Feb 7th, 2007
Replies: 7
Views: 3,301
Posted By Mac.Z
Sorry iamthewee, had problems with the forum posting the entire thread..
hope you read the rest and thanks for answering part of the Qs..
Forum: C++ Feb 7th, 2007
Replies: 7
Views: 3,301
Posted By Mac.Z
Hello,
I'm getting started with C++ and have some questions about the variable types:

1)The size of a variable type, is it defined by the compiler or computer or both? and why it differ from one...
Showing results 1 to 11 of 11

 


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

©2003 - 2009 DaniWeb® LLC