Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #4K
~8K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Vllinator

I need to return the numbers of the lotto ticket to main, then call a print() to print the numbers. But the ticketGenerator only returns 1 number. Please help [code] #include <iostream> #include <ctime> using namespace std; int ticketGenerator(int); void printTicket(int,int); int main() { int size; int numbers; cout << …

Member Avatar for sid78669
0
109
Member Avatar for Vllinator

Hi i need help on searching an array for a match. They can be in any order, and does not need to be in a sequence. The theArray has 6 numbers in each row, with 10 lines (i have made 2 to keep things simple). The randArray has 8 numbers. …

Member Avatar for Lerner
0
98
Member Avatar for Vllinator

Hi i'm writing a program that reads records from a file, then sorts these records by the person's firstname, and stores the sorted data in a new file. Heres the code: Everything works fine, except it stores garbage at the end of the last record. If i set the array …

Member Avatar for Vllinator
0
142
Member Avatar for wintercold

I'm a newbie in C++. How can I create a game of tic-tac-toe game using simple codes in C++? Any answers would be much appreciated.. Thanks!:)

Member Avatar for Greywolf333
0
3K
Member Avatar for Vllinator

Hi im trying to store the current date and time to a file. When i print it, it is in the US format - MM/DD/YYYY [code=c] #include <time.h> _strdate( dateStr ); cout << "Current date: " << dateStr << endl; _strtime( timeStr ); cout << "Current time: " << timeStr; …

Member Avatar for Ancient Dragon
0
164
Member Avatar for Vllinator

Hi im writing a function in a program that lets the user delete a specific record in a file, the user is also able to recover this record. The easiest way i found is when the record is deleted, the record will be set to deleted using bool. Then in …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for winnie89

Hi! i was wondering how I could make sure that the user inputs the proper values in my code. I've been looking online and seen things like cin.good() and cin.fail() but the explanations aren't really straightforward and a little confusing. I was wondering if anyone could help me implement the …

Member Avatar for mrnutty
0
241
Member Avatar for glenn612991

this is the program #include <iostream> using namespace std; int main() { int digits; cout<<"Enter 10 digits wether positive or negative: "; cin>>digits; //i dont know what to use so that i can separate positive and negative numbers and display it on screen.. //help me pls.., }

Member Avatar for Vllinator
0
2K
Member Avatar for hurbano

so i wrote this small piece of code. it simply waits for the user to enter a command, and then, depending on the command, a different message appears. when i enter the simple words like debug and execute, it does what i want it to do. now, when i try …

Member Avatar for Vllinator
0
73