General C++ Programming (Page 65)

by NRoth
C++ Tic Tac Toe AI Help!?
 
I am in a C++ programming class right now, and I'm stuck. I made a Tic Tac Toe game (as shown below)...
[2 replies] Last: work on the game tree... for tic tac toe a game tree would be very sma... (by writetonsharma)
Matrix multiplication 3x3 for loops???
 
So basically I have to tell the user to input data and i use a for loop: for (i=0; i< 3; i++) cin ...
[no replies]
Which object's draw is being called in case of pointer pointing to NULL?
 
http://liveworkspace.org/code/lDYbz$0 Which object's draw is being called?
[6 replies] Last: I never said it wasn't undefined - I guess what I meant was 'nothing b... (by L B)
Help me with malloc
 
I have a little problem. I have these three structures: typedef struct Author{ char firstName ...
[8 replies] Last: Because my exercise (my teacher) wants to do it with malloc and reall... (by MikeyBoy)
3 Dimensional Arrays and Pointers
 
int a = { { {2,4}, {7,8}, {3,4} }, { {2,2}, {2,3}, {3,4} }; printf( "%u\n", a)...
[4 replies] Last: Wow, thank you for the clear explanations, was very helpful. (by NorFredrik)
inputFile and 2d array issues
 
So the premise of my code is to read in a 2d array from a .txt. The array is a game board but the fi...
[5 replies] Last: Then use std::vector instead of C-style arrays. They can be dynamical... (by MikeyBoy)
Storing data in a file
 
I am trying to store the Title, Artist, and date published of a list of CD's. I can't seem to be abl...
[2 replies] Last: or not sure if it is actually storing it you could open your text f... (by mutexe)
C++ HashTable
 
I'm new to C++ and this is my first time dealing with hash tables. I am doing this for a homework as...
[10 replies] Last: would some like this be along the lines of how print() should be? in... (by needhelp101)
Macro: pass the content of a variable (example: int) as argument to a macro call
 
Hi, I am trying to generate a couple of vectors, but the exact number of vectors that will be nee...
[1 reply] : Macros are expanded before compilation so they know nothing about what... (by Peter87)
Count no of 0's in the binary number.
 
Hello, this is my first post :). Anyway, i am writing a program that accepts a decimal number from ...
[7 replies] Last: Thanks for the reply guys. (by solidsnake)
How do you some a row and column of 2D arrays?
 
For example If I have the following how would I sum each row and column ?? For example 1 2 3...
[6 replies] Last: I was not rude, I said please, (by maeriden)
by tmlee2
Extract Certain Cells from an Excel File Using C++
 
Hey everyone, I was hoping you can help me figure out how to extract certain cells for an excel f...
[7 replies] Last: Please read this MSDN links: http://support.microsoft.com/kb/186120 ht... (by jackdark)
Calling a D3DXVECTOR3
 
i currently have this code for using the D3DXVECTOR3 to do some math, D3DXVECTOR3 TargetVector(D3...
[4 replies] Last: Ah Thanks :) (by Histerial)
Generator synchronisation
 
Hello! We are having a schoolproject were we are going to implement the functionality of some Co...
[1 reply] : I'm not sure this has something to do directly with a PLC, but I'm sur... (by EssGeEich)
What does this mean? Please help!
 
In my Book it says: It talks about the expr function in the code. "You could also analyze an arit...
[4 replies] Last: As for the original question the author of the book said that function... (by vlad from moscow)
What does this mean? Help please!
 
In my book it says: float max(float, const int&); This forces the creation of this version o...
[4 replies] Last: Explicit template instantiations can be used in large code bases to sp... (by JLBorges)
No need of cmath?
 
In the following code without cmath it still compiles with the pow function? Can anyone please ex...
[15 replies] Last: > In the following code without cmath it still compiles with the pow f... (by JLBorges)
by BillH
pngwriter using in vc++
 
Does anyone know how to setup pngwriter for use with vc++ in vs 2008? The instructions on the net se...
[no replies]
average and medians of arrays
 
I need to calculate the average and median of an array. I do not know how to put it in code. any hel...
[1 reply] : http://www.cplusplus.com/forum/articles/1295/ (by Zaita)
any help would be greatly appreciated
 
so first the software I am using is Microsoft visual studios....but here is the program I need to wr...
[5 replies] Last: john here is video that might help you out http://thenewboston.org/wat... (by latewrong)
Pages: 1... 6364656667... 86
  Archived months: [mar2013]

Cannot post in this page. To post a new message, go to the first page.