Beginners - April 2012 (Page 27)

Tic Tac Toe console game help
 
I've been making my own little tic tac toe game lately but ive come across some problems, i feel like a lot of the code im making could easily be compressed int...
[2 replies] Last: Thanks a lot L B, saves me a lot of time programming this! (by Need4Sleep)
Slight problem "n00b"
 
Hi guys im just playing about, now heres my code // operating with variables #include "stdafx.h" #include <iostream> using namespace std; int main ()...
[6 replies] Last: Thanks for your help. Tried the green play button and still get the s... (by jamesc22)
which is best c++ compiler for beginner?
 
I do not care of how much money it is,just tell me the best one.
[16 replies] Last: What's the one on linux? That's the one I use, and I haven't had any p... (by Fumbles)
Problems with Structs
 
On the keyboard type sequence records containing data of a medical examination of schoolchildren: Full name, date of birth, height and weight.Print out entered ...
[16 replies] Last: Summarize what Gaminic has said in the last post and then post your up... (by clanmjc)
Need info on Dynamic array of classes
 
I am trying to create a dynamic array of classes that do not have default constructors. void Battlefield::Battle() { unsigned NumMnstrsSpawned=...
[6 replies] Last: That works as long as no exceptions are involved. The main problem is ... (by Athar)
What does this code mean and do?
 
I am in a intro to C ++ class this semester and our final project is to write the game Master Mind. I have that done and it works but for extra credit we can ad...
[1 reply] : HANDLE is a handle to an object. This type is declared in WinNT.h as ... (by frema)
reading a file filling the words into array prblm
 
int main() { // Open the dictionary file and fill it here ifstream in_file; in_file.open("words.txt"); vector<string> store; st...
[1 reply] : oh and this is the pseudocode: Open words.txt dictionary Read the file... (by daniel2012)
Absolute Difference?
 
Hi again; as you guys can probably guess, my teacher is not very nice. He likes saying things like "I'll leave you to figure it out" without going over somethin...
[3 replies] Last: Nevermind! I screwed around with it a bit and I got it! Thank you so m... (by xerinex)
by AARGH
class template / want Node to store physical object not just pointer to it
 
the more i learn the more fundamentals i forget, at least i think. maybe i am just a stupid idiot. this is really ticking me off as i hate it when i fail at s...
[2 replies] Last: thanks for the reply. yes the multiple inheritance is setup exactly a... (by AARGH)
Functions - Logic Error?
 
Here is the code: #include <iostream> using namespace std; //declare functions void getInfo(double, double, double); double aTax(double, doubl...
[2 replies] Last: @Zhuge - I thought so - using the '&' symbol. Thanks. (by badkaykay)
Setters, Getters, into Array
 
I teach tech (databases) but c++ is not my specialty. This was given to me as preparation for a mini workshop and I am having a great deal of trouble turning it...
[4 replies] Last: Again, thank you so much! I taught SQL last year and this is NOTHING l... (by FuzzyNavel)
linked list with a 2d array
 
I am making a board game with a 2D array of char's to represent pieces of the board. I am trying to implement a linked list so I can undo moves. This is what ...
[no replies]
by GulHK
Multi-level algorithms for date-driven scheduling
 
Hi all Can anyone please tell me what is Multi-level algorithms for date-driven scheduling? Thanks
[1 reply] : The only other references to this phrase is you asking the same questi... (by cnoeval)
methods of sorting vectors of objects
 
so i am trying to sort 5 cards based on its suit and then its number. the method of determining how to order works i am just having trouble thinking of how to s...
[4 replies] Last: Ok thank you. That makes so much more sense now. Dice is the card numb... (by ui uiho)
by hk613
Visual C++ 6.0 Text to Binary
 
Hey i'm using visual C++ 6.0 to try and create a program that converts text to binary. i cant seem to find any code online that deals with a program like 6.0 C+...
[1 reply] : Text to binary as in text to a series of '1' and '0' characters? To s... (by Albatross)
Pls can anyone help me with this
 
Decision-Making and Iterations Sr. No. Assignment Question 1 Howell University is an accredited European university, which offers a range of...
[2 replies] Last: please try first and come back when you get stuck (by Jikax)
by ravian
print a text file
 
I want to print a text document using c++ . anybody can tell me how is it possible.
[7 replies] Last: > yes i want to print it physically on paper. Use the appropriate nam... (by JLBorges)
Templated Linked List help
 
Greetings, I am tasked with a challenging linked list assignment. As I'm reading through my book I'm trying to incorporate what I learn in my compiler as I g...
[5 replies] Last: Interesting. You're right, it works in Dev. Thanks for letting me kno... (by iDontGetIt)
help with if statements
 
I know that if(5){ //rest of code here } is legal, but why would the c++ developers make it this way and how does this work? what are the benefits and s...
[4 replies] Last: thanks for all the help :), it's tough because my computer science tea... (by ui uiho)
c++ using stacks problem
 
I am working on a C++ program using stacks. The program is to check and see if an experssion entered by the user is well-formed or not. There are 3 different se...
[1 reply] : you have some issue in main.cpp: On line 33: What's your intention? I... (by coder777)
April 2012 Pages: 1... 2526272829... 66
  Archived months: [mar2012] [may2012]

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