Forum: C++ Jun 19th, 2004 |
| Replies: 11 Views: 15,636 |
Forum: C++ Jun 18th, 2004 |
| Replies: 6 Views: 16,303 I have another question if you dont mind me asking - (last one).
If (b) was -array name and the array size- it would be accurate(?)
I think is (a) even if I dont quite understand why.
I... |
Forum: C++ Jun 17th, 2004 |
| Replies: 6 Views: 16,303 I already had but still a bit confused about the questions.
Ok, I think the answer is a), but why not b)? |
Forum: C++ Jun 17th, 2004 |
| Replies: 1 Views: 6,388 Hello fellow members,
it's me again with the silly questions.
I was give a scenario to write a program for and I finished it (I think).
Although is pretty simple (first program) I had a hard... |
Forum: C++ Jun 17th, 2004 |
| Replies: 6 Views: 16,303 Hello all,
what do you think the answer following question is?
The cin.getline function:
a) reads a fixed number of characters as a string into a character array. |
Forum: C++ Jun 2nd, 2004 |
| Replies: 4 Views: 18,404 Wow!
I really can use this stuff too.
Thank a lot. :) |
Forum: C++ May 29th, 2004 |
| Replies: 9 Views: 3,983 I guess I could use local variables for that function, could I not?
sorry about that. |
Forum: C++ May 29th, 2004 |
| Replies: 9 Views: 3,983 Im using the function in a switch statement and the other functions return float numbers. |
Forum: C++ May 29th, 2004 |
| Replies: 9 Views: 3,983 Hello guys,
is there a way to declare global variables as float and then convert them to int to be used in a function? i.e.
float num1, num2, result;
float Mod(){
num1%num2=result;... |
Forum: C++ May 27th, 2004 |
| Replies: 5 Views: 2,928 Oh... I got it. I'm using strcmp to compare a char variable. :) |
Forum: C++ May 27th, 2004 |
| Replies: 5 Views: 2,928 Hello guys,
This code returns 2 errors and I dont understand why.
#include <iostream>
#include <string>
using namespace std;
char choice;
void M();
void C(); |