General C++ Programming - September 2014 (Page 9)

by nz881
Having trouble determining the winner of tic tac toe game c++
 
Hi,so i have made a game of tic tac toe where the user plays against the computer. And so far everyt...
[no replies]
Output Array to CSV
 
So I have an array portfolio where i and j are determined by inputs by the user. I can get the co...
[1 reply] : You do not want to reopen the file each time you loop. IIRC the file i... (by maeriden)
<FSTREAM>
 
Hello, i'm having a problem. the text does not is written. i don't know how to solve. so please, ...
[1 reply] : http://stackoverflow.com/a/15673510/3410396 it's also worth noting th... (by MiiNiPaa)
by bebu
Empty Output Array file
 
I am writing this program that is supposed to read a file, put the data into an array, alphabetize, ...
[3 replies] Last: That's a good sign. Can you explain to me: bool displayDataArray(co... (by cire)
Error Code 139
 
Hello, I am implementing a Hash Table based on a given function. I have coded most of it, but whene...
[6 replies] Last: Cool. I kept the HashTab as a pointer and made my Element array out o... (by iamtpage)
by sidei
Trouble with array and calculation
 
How can the program pick the number automatically from the array after i enter an answer for it and ...
[no replies]
URGENT HELP NEEDED !!
 
1. if f(n)=O(n), what is the running time of the following recursive function? function Recurse(A...
[1 reply] : Infinity for both functions. Also, the functions are ill-typed. (by helios)
How do I use a .h file for a class?
 
I wrote a simple date class and could not get it to work until I put all the code in main(). Then it...
[2 replies] Last: header: //myClass.h #ifndef MY_CLASS_H #define MY_CLASS_H class my... (by JayhawkZombie)
by csharp
Struct Array Report
 
Hello, I don't know why this code is crashing and not running, although the text files are placed...
[3 replies] Last: I tried most the very basic things and there is no indications of any ... (by csharp)
Trouble with searching through array in Templated class
 
Hi All! I'm working on a program where I have to alter an Add function in a class. In my main.cpp...
[2 replies] Last: Thank you, MiiNiPaa. Works like a charm! (by Macalay7777)
by wade1
best language to learn before C++?
 
Can anyone who is experiences with C++ recommend a language to learn BEFORE taking on C++? I am a to...
[1 reply] : I went through HTML CSS JavaScript and PHP before taking on C++. (yes ... (by Homberto)
class template question
 
Hi! I'm wondering what should be the syntax for this: #include "functions.h" #include "enums.h" e...
[no replies]
How to add different label for different columns?
 
Hello, everybody! I am trying to add labels to the data. I have data in a file divided by space: ...
[1 reply] : hi, if i understand the algorithm that labeling will be for is : label... (by ARWA)
C++ Website Blocker
 
How would I go about making a Website Blocker in C++?
[5 replies] Last: [quote=Stewbond]Of course it's possible, but it's more about your netw... (by TheUnholy)
c - how read binary files?
 
i'm trying read a binary file, but i'm getting problems :( a binary files is contitued with bytes(a...
[13 replies] Last: finally i put it to work like i need.. the problem was the DrawIcon() ... (by Cambalinho)
Turtle Graphics
 
I have the most of this program set up but I do not know how to set it up in two classes like I need...
[no replies]
Qt issues
 
Tried to run a main.cpp with a qt creator 2.0.1 but the compile output was 'could not find make comm...
[1 reply] : Maybe you only installed QT Creator, or didn't install MinGW/VS. Go he... (by S G H)
Error in calculation of time. Pls help! urgent!
 
This is for an assignment given by our teacher. The question is to write a program to add two time o...
[5 replies] Last: I am asking you about single line: cout<<Sum.seconds<<" : "<<Sum.minu... (by MiiNiPaa)
no valid kits found
 
I tried to create a new project with Qt creator, but after choosing the type of project, location, c...
[1 reply] : Please go to Tools->Options->Build & Run->Kits and set up one kit to u... (by zxrp)
by nz881
C++ tic tac toe problem
 
HI, i am trying to make a tic tac toe 2d array game.The game that i am making is actually human vs c...
[1 reply] : please make sure to add every new detail in the main function,please ... (by closed account 48T7M4Gy)
September 2014 Pages: 1... 7891011... 28
  Archived months: [aug2014] [oct2014]

This is an archived page. To post a new message, go to the current page.