Beginners - August 2014 (Page 22)

Tic Tac Toe Problem in code
 
Write your question here. Hi,i am trying to create Tic Tac Toe game for my scholl,but something in my code is bad,and dont know what.Please help my. #incl...
[9 replies] Last: Thanks. It works now. I can play the game now. (by Clearner14)
Project Euler #5
 
This question was incredibly easy to "program" though I feel like my way was the most inefficient way of doing it and was curious as to how I should have went a...
[4 replies] Last: You don't need to check all the numbers from 1-20 anyways..Also why ar... (by giblit)
circular include dependency?
 
so i believe this bit of code suffers from circular include dependency after researching pretty much you don't want a blank.h to appear within the same set of ...
[13 replies] Last: createprofilew.h line 6: You're defining makenew as a global. If you... (by AbstractionAnon)
by fi50
Singleton Classes
 
Hi all, I've been programming in C++ for a while now and recently came across the idea of a singleton class. I've done a bit of research and now understand t...
[no replies]
why string doesn't read my end of file ?
 
i have a question, i'm studyng the string library type and i have to write this program : std::string word; while (std::cin >> word) { std::cout << w...
[1 reply] : The terminals that I do use, don't have ^Z as EOF. Try this. Write t... (by keskiverto)
The && operator
 
I'm having a problem with this code. If both items are true, I want the first line to run, but if one of the items are false, I want the "else" to run. Ive run ...
[1 reply] : If both items are true, I want the first line to run, but if one of t... (by Disch)
copy constructors
 
hey guys i have a question why do we need copy assignment operator if we have copy constructor doing the job??? please tell me ??
[4 replies] Last: Yes, both statements copy the contents of a into c, BUT C++ has differ... (by helios)
Operator overloading
 
Hey guys i m realy in need of help i was learning about copy constructor and now i m stuck here it says Error 1 error C2679: binary '<<' : no operator foun...
[4 replies] Last: Thanks bro its working now as i included <string> thanks for your su... (by MRKSalman0349)
Writing a program for background correction of experimental data
 
Hello everyone, I happen to need to write a program that imports a x,y-Graph, fits an exponetial function to said graph, substracts it and stores the result...
[2 replies] Last: How about using existing applications, like gnuplot for some steps?... (by keskiverto)
syntax funtion problem
 
Good morning to everyone, I have a problem for interpret a source code in c++. Can someone help to me. What mean: scope_abc::function_name ( ) (&a,&b...
[2 replies] Last: I'm sorry but I have not explained correctly my problem or I didn't un... (by skyrunner83)
by vxk
Linked stack question
 
I was working on solving questions for the linked stack implementation for the first time and I am running into problems and feeling under-confident about the k...
[3 replies] Last: The current implementation of bottom() removes items from the stack.... (by JLBorges)
Made a tic tac toe game Allegro 5 and i need help
 
Ok so i am making a simple tic tac toe game. and it works out alright. sort of. I can get the game going but for some reason some of the squares dont go righ...
[1 reply] : I am not sure. but can i solve this by adding a timer to the program? ... (by Antone333)
why won't char work for + - * /?
 
Hi, I'm pretty new at c++ and I was making a calculator and tried to have the user enter an algorithm but when I make the variable: char algorithm = +; It al...
[7 replies] Last: It takes a while to wrap your head around this stuff but one you do it... (by Duthomhas)
Add/Remove element in array
 
I want to learn how to add or remove elements in arrays. Anyone know?
[6 replies] Last: Please don't bump old threads for spam. (by Duthomhas)
Pulling in data from .CSV file
 
I'm having an issue were I'm trying pulling in data from the .CSV file into the xCol , yCol , etc.... Arrays and for some reason they wont be read. The number o...
[10 replies] Last: I was torn between "lets use the default, because user of ignore() mus... (by keskiverto)
Whats the difference between list and array?
 
Wants the difference between a list and an array. I know how to use both, but I don't the difference. I tried searching everywhere on every website, but I still...
[4 replies] Last: MCLovinit is in my class. :) (by long int main)
Ordering numbers (1,2)
 
Hi, I'm a beginner and I am trying to order arrays. This is what I have so far #include <iostream> using namespace std; int main() { int arr ; int ...
[23 replies] Last: In the first three lines of code: int arr ; //... (by long int main)
by aggsyb
Enum Windows, finding only parent of a child window?
 
Sorry for the confusing title! , Ok I have a window that has about 20 windows that come from that, of that 20 only one of them has child windows , 3 of them (an...
[3 replies] Last: EnumWindowsProc function pointers are meant to be passed to EnumWindow... (by kevinkjt2000)
off to a good start?
 
i am just getting started and am not nearly done and havent even gotten around to getting the 'O' to happen yet. but am i at least getting there? tips? only ...
[2 replies] Last: I don't personally use allegro but I think there could be some improve... (by giblit)
Google test, classes and objects.
 
Hello all, i've been busy with this excersize for quiete some time now, i'm using the google test framework and i'm trying to write code for the test below T...
[3 replies] Last: It is a test, I think that's why he is commenting so often, he is test... (by jasonwynn10)
August 2014 Pages: 1... 2021222324... 40
  Archived months: [jul2014] [sep2014]

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