Not really sure how to implement this. I guess that is where I am running into issues. I for some reason am having trouble conceptually understanding what needs done.
:confused:
Type: Posts; User: RP319
Not really sure how to implement this. I guess that is where I am running into issues. I for some reason am having trouble conceptually understanding what needs done.
:confused:
What I am trying to do is create a random 9x9 matrix. Ultimately working towards randomly generating a Sudoku puzzle. I am very new to array usage/manipulation so this problem is baffling me.
If...
Haha... It has been a long day.
Thanks a lot for the help . :o
Well basically I am supposed to create a program that reads a specific file and counts the words,lines, and paragraphs (Paragraphs are considered to be anything with a full line of blank space...
Ok, well thank you.
The only thing that still baffles me is that it is reading in every line in the txt document. Just placing whatever word searched.
Thanks for the help though :cool:
All this seems to do is count every single line and imply that whatever is searched for is located on every line. And it reads through the entire document and prints.
However it still is failing...
Well how would I implement that, in the code I have placed above?
Well trying to replace the getline in my program results in compile errors. Just not sure on how to work it. :eek:
Well, Ive been struggling trying to get a few of these concepts to work using the getline command and others.
I want to allow a user to enter any search string, including blanks.
**Ive done...
Still having trouble actually showing the output to the screen.
Not familar with the peek command and a few others. Is there another way of implementing those.
Presently the code wont read in...
Basically in this program I am opening a text file (most likely a book or something).
I want the user to enter in a word or phrase they wish to search for. Then I want to output the file that...
Hmm, Wow thanks a ton.
I guess the only thing im really confused on thus far, is how can i get it to ask the user for what file input they want?
Instead of having it already in the program.
Any ideas on what exactly is causing my compile errors, Or what should be done to fix this issue.
Yeah, I was having troubles with errors. Was not sure If I could pass by reference on arrays or what have you.
The eleven is just a mistake on my part ... Thinking 0- 11 = 12. However I guess 0 -...
I've been trying to complete a program to the following specs. Although a lot of it is stumping me, and im wondering what im doing that is incorrect.
Below is basically what needs to be done.
Well basically I need to find a way to fix this problem I keep on having.
Here is my code.
Triangle calculateTriangleType(int &sOne,int &sTwo,int &sThree)
{
Wow thanks a lot for the great detail in explanation and help thus far. It has helped me greatly actually understand what their purpose is and how they are implemented. :D
Thank you ALL very...
Still very lost as to where the switch statement gets placed as well as the placement of other items mentioned.
This is how it looks at the moment.
How exactly do I use this switch statement to...
Where is that placed , is basically my confusion?
I'm supposed to use Enumeration (Switch Statements) to determine from the user input three values which type of triangle is used. A Isoceles , Scalene, Equilateral, and last but not least values that...
Durrr, Haha thanks everybody. Simple Logic Errors. :mad:
Thanks a lot for the help.
My goal with this program is to get input for four values.
(A, B , C , D) and just rotate them so that:
A ----> B
B ----> C
C-----> D
D-----> A
However in my program, all my code appears...
Awesome, Thanks a ton! I knew it was something minor I just couldn't handle sitting there any longer. Needed some outside input. Thanks for all who helped. :cool:
Still isn't compiling. Not sure at all what else to do.
Won't Compile while using :
return p * pow ( (1+ (i / q))), (n * q)) );
:(