- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 4
- Posts with Downvotes
- 3
- Downvoting Members
- 2
27 Posted Topics
Hello, so this user input all in one line string , i need to parse the input into two categories: user age and user name. for example , the user input -->> [23:Frank] [15:Jack] [45:] [33:sofia] [] in this case i have more than one argument (delimiter, total of 3 … | |
Re: some other good reference if interested -->> [http://www.cplusplus.com/doc/oldtutorial/templates/](http://www.cplusplus.com/doc/oldtutorial/templates/) | |
Hello everyone, If i need my program to create as much vectors as needed based on the user first input , assuming each vectors will hold an int value like a combinations of numbers, so latter those vectors will be compared for higher value. EX: prompt the user to enter … | |
Re: a function with data type initiated will return a value , in this case , the main function which is int main() { return 0; } will return integer value , zero or true meaning your program execute without problems or errors, if non found after you compile your code. | |
Re: although you did not specify the range for your random numbers i assumed 1-100 should be just fine. #include <iostream> #include <cstdlib> #include <string> using namespace std; void sumFunction() // sumFunction will generate five random numbers [1-100] , then display the sum of all { int rand1, rand2, rand3, rand4, … | |
Re: YOUTUBE , there is many channels that specificly demonstrate the graphing part in college algebra or algebra in general. goodluck. | |
Re: break your problem into manageable pieces , think of it in term of x and y , start with the basic statement requiring user to enter the initial value then move into the next steps. if you got stuck or some compiler error post your code or ask specific questions? … | |
Re: Need more details !!! are you trying to use fileinput & fileoutput kinda program or what you mean by coding file C++ ? | |
Re: Welcome to community , any OO language is in demand now adays and many years to come I GUESS!!, so goodluck. | |
![]() | Re: need an `int` before your main method as well !! |
Re: even tho both gentleman before did provide great help i just wanted to participate since i'm still a student like you . #include <iostream> #include <string> using namespace std; int main() { string inputNum; int numCount = 0; cout << "Please enter an 8 digit number" << endl; cin >> … | |
Hello everyone , i'm a new member here , looking forward to learn C++ . |
The End.