- Upvotes Received
- 3
- Posts with Upvotes
- 2
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
6 Posted Topics
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. b) reads a line as a string into a character array. c) reads a string up to the first blank space. d) … | |
Re: [QUOTE=FireNet]I dont think so,it will be of some use to someone[/QUOTE] Thank you :cheesy: | |
[FONT=Verdana]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 time trying to assemble it. It’s exactly as the scenario I was given ( … | |
Hello guys, This code returns 2 errors and I dont understand why. [CODE] #include <iostream> #include <string> using namespace std; char choice; void M(); void C(); void Process(); void M(){ cout <<"Multiplication\n"; } void C(){ cout << "Calculation\n"; } void Process(){ cout << "Make a choice\n" << "C or M … | |
Hello guys, is there a way to declare global variables as [B]float[/B] and then convert them to [B]int[/B] to be used in a function? i.e. [CODE] float num1, num2, result; float Mod(){ num1%num2=result; //Wrong, (%) requires [B]int[/B] type) } [/CODE] | |
Re: Wow! I really can use this stuff too. Thank a lot. :) |
The End.