
please wait
by SeanTL
Need help with a simple AI
|
I created a TicTacToe game, and the AI in it is difficult, but predictable. Not only that, but it is buggy. I want your opinion on the AI, and any tips to make ... |
May 2, 2014 at 6:28am
[2 replies] Last: The main loop // Ugh. int main() { gameStart: int ttts_board = {... (by SeanTL)
|
by LCIrecordz
Interested In Video Game Programming
|
Hey I am new here. I eventually want to program my own studio software DAW for musical and audio based production. Till then, I wish to learn more about vide... |
May 2, 2014 at 6:18am
[2 replies] Last: Personally I feel that programming, as a skill, is simply another mean... (by closed account j3Rz8vqX)
|
by Goblue89
Basic Chess problem
|
nevermind |
May 2, 2014 at 5:11am
[2 replies] Last: nevermind (by vasilenko93)
|
by joegrizzly
NEED ATOI HELP
|
hey,I'm in my first programming class and i cant figure out how to use atoi to change from a string to an integer. please let me know what i'm doing wrong!!!!... |
May 2, 2014 at 5:06am
[3 replies] Last: I'm on gcc 4.7.1, no errors with the code below: #include <iostream> ... (by closed account j3Rz8vqX)
|
by football52
Guess My Number
|
How do I make this so it wont guess the same number more than once? In reality, it should only have to guess a maximum times of 100 because the numbers range fr... |
May 2, 2014 at 4:38am
[7 replies] Last: Thanks giblit, I`ll take a look (by closed account 2AoiNwbp)
|
by isuckatthis
I/O reading the next line in input file?
|
Hello, Im a newb so please go easy on me. Im trying to get my program to display a persons name (lastname, FirstName) whether they are high blood pressure or no... |
May 2, 2014 at 4:22am
[6 replies] Last: Uhmm, it worked on mine. http://coliru.stacked-crooked.com/a/f2c15de1... (by nvrmnd)
|
by Bass581
Help with matrix problem?
|
ok so i have a test tomorrow and i cannot seem to get the final part of this practice problem right. 4. Write a program to open a file for reading that has tw... |
May 2, 2014 at 4:18am
[no replies]
|
Modifying code to reference function instead of return function |
I'm using a function getProductCode to read a product code from the keyboard. This function uses a return statement to send the product code to main. My ass... |
May 2, 2014 at 2:57am
[9 replies] Last: productCode = getProductCode(code); You were expecting a string to r... (by closed account j3Rz8vqX)
|
by elite zero
Char* vs String comparisons
|
Quick question Can char* be compared using <, >, and ==. If not should they be converted to strings. I am pretty sure they can be compared, however, I cannot... |
May 2, 2014 at 2:52am
[1 reply] : Every character has an ascii decimal value: http://www.asciitable.com/... (by closed account j3Rz8vqX)
|
by Void life
Quicksort pivot & quicksort complexity
|
So I have an assignment to validate the complexity of quicksort. Here is my quicksort code below. It works fine when I set the pivot as the left most element in... |
May 2, 2014 at 2:43am
[10 replies] Last: You are welcome Void life, I wish I was more useful to you. regards, ... (by closed account 2AoiNwbp)
|
by cfm310
Help: expected unqualified id
|
can someone help me figure out this error? rosterapp.cpp:253: error: expected `}' at end of input rosterapp.cpp:253: error: expected unqualified-id at end of ... |
May 2, 2014 at 2:41am
[2 replies] Last: rosterapp.cpp:253: error: expected `}' at end of input rosterapp.cpp... (by CodeGoggles)
|
by cfm310
classroom roster struct
|
Problem Scenario: A basic class roster application is to be developed. The application has the following functionalities: 1. ADD Adds a new Student record if... |
May 2, 2014 at 2:38am
[1 reply] : Edit student function: --Prompt for student id #. --Pass the roster ... (by closed account j3Rz8vqX)
|
by Novicius
problem with char *array[]declaration
|
//I get the warning from compiler about this declaration(global): //copy/paste both: my declaration and warning. char *S = {"Ellen","Catherine","Aleks","... |
May 2, 2014 at 2:17am
[2 replies] Last: Thank you for (quick btw) reply; string type is working without warn... (by Novicius)
|
by NOMNOM
Issues with linked list addition
|
I'm writing a program that is supposed to add two linked lists together and display their sum in vigesimal digits. The problem is that when I have a carry it wi... |
May 2, 2014 at 2:01am
[2 replies] Last: Thanks that helped a lot! Here is my updated add function, now it work... (by NOMNOM)
|
by Pmiccich1
error "fatal error LNK1107: invalid or corrupt file: cannot read at 0x368"
|
so I just installed a bunch of MySQL libraries. I create links to all the libraries and since I have done that, this error message has been popping up.I did a l... |
May 2, 2014 at 1:14am
[6 replies] Last: Really having trouble with this still (by Pmiccich1)
|
by MRangel
arrays and functions -changin the array (1,2)
|
So I am trying to load this array with numbers from a data file (just random numbers). Then I need to have the function call the array and display the contents.... |
May 2, 2014 at 1:03am
[29 replies] Last: ok I think I got it now. Thanks for all your help! (by MRangel)
|
by nsmith1779
got problems with class code
|
This should be pretty simple, but I cant figure it out. I will give you all three of my files and the error code I am getting, if someone could help. .h f... |
May 2, 2014 at 12:23am
[1 reply] : Use code tags!!! http://www.cplusplus.com/articles/jEywvCM9/ Error C... (by Aceix)
|
by aguku
undefined reference to function
|
Hi I wrote the following code to : #include <iostream> #include "pila.h" #include "string.h" using namespace std; int main() { char ecuaci... |
May 2, 2014 at 12:15am
[2 replies] Last: [quote=OP]undefined reference to `void CrearPila<char>(TNodoPila<char>... (by Aceix)
|
by chofs
counting characters per line
|
hey guys am trying to count the number of letters in each line e.g the following input like beats output should count as follows 4 5 here is what i have... |
May 2, 2014 at 12:05am
[3 replies] Last: Something like this: //C++11 code vector<string> vec{"peace","war"};... (by Aceix)
|
by Darryl123
Question
|
Hello, Since I'm working on a generator and I don't want to have to put the same lines at every category, since that takes to much time and I haven't got that... |
May 1, 2014 at 11:35pm
[3 replies] Last: Just put the stuff you want to be repeated in functions like I mention... (by giblit)
|