i've written a program that will multiply two matrices, and as of right now it outputs the answers all in column..I was attempting to be able to output the answers in another matrix, matrix C, but I...
Type: Posts; User: RenderedAwake
i've written a program that will multiply two matrices, and as of right now it outputs the answers all in column..I was attempting to be able to output the answers in another matrix, matrix C, but I...
ok, I tested the if statements that contain the string comparisons in order to determine whether the computer or player wins and it worked fine, yet when I put it in the program everything works up...
Hmm...that works for this portion of the game, but further in the game I use strcmp, i get a error message that says "function call 'strcmp({1val} char[15],{1val} std:basic_string"....ect. Im...
I am trying figure out how to generate random choices by the computer. I think I know what I'm doing in theory but I need someone to point me in the right direction as far as coding. I know the...
#include <conio.h>
#include <iostream>
#include <stdlib.h>
#include <ctime>
int User_Score, Comp_Score;
int User_Option, Comp_Option;
char name[15]; ...
ah that did the trick! thank you
...k i just went back thro my programs and looked at this again, i had thought i finished it with this but the program only prints out "not primes". ive been through this several times but i cant...
first of all, thanks for your help so far :) i think ive gotten ive figured this out for the most part, I just need help with two things. (ill paste my code below)
Number one, Ive got the intro...
Im trying to familiarize myself with the string thing, char, comparing strings, ect. by writing a program that allows a user to play rock paper scissors against a computer who obviously is going to...
Thanks a bunch for your help :) ...
I had just one more question on this..when I check numbers 2 through 20 it works and outputs everything just fine but when I get up to numbers like 2 through...
Ive just started learning c++ and I've been working on writing a program for over a week now, at this point I've pretty much lost hope and have no clue what to do. Im trying to write a program that...