General C++ Programming - April 2012 (Page 40)

C++ Tic Tac Toe help
 
how would you make tic tac toe game using classes and algorithms I wrote a code but theres only one...
[7 replies] Last: idhjs (by hgill93)
Expression must be a modified l-value
 
I am having some proplems with my code - I am told to create a mouse and apple game and I am h...
[no replies]
crash in strcmp(f(), g()) if g() returns NULL.
 
I see that strcmp does not crash when NULL is passed as an argument. But the same stuff , if the sa...
[4 replies] Last: I think it's undefined and it doesn't matter if the pointer comes from... (by Peter87)
recoding a irc bot from mirc to c++
 
Heyas and good eve totally new to this coding scene have had some small experience in ruby and php ...
[no replies]
by Bouya
Virtual fonction
 
Hi I want to herit from a class that declare virtual fonctions in the header file. So should i men...
[2 replies] Last: I like to declare every virtual function virtual. That includes the ba... (by iDontGetIt)
GA and EA algoritm examples
 
I need some examples for Genetic and Evolutionary algorithms in C++. For solving different problems...
[4 replies] Last: I don't need a library. I need an example for something like tetris, c... (by Mtutnid)
by Grbe
Statistical function - upper incomplete gamma function
 
I need upper incomplete gamma function for C++.. I have here lower incomplete gamma function.. But i...
[3 replies] Last: Is there somewhere a function itself, without the whole package .. as ... (by Grbe)
how to control if two vectors have the same values
 
Hi everybody's here, i need to write a function to control if two vectors have the same values and ...
[5 replies] Last: If you don't care about the order you can sort the two vectors before ... (by Peter87)
by Janman
Reading from file to bitset
 
Hi, I have an enciphering function: encipher(long data , long key ) This function is called when...
[1 reply] : This demontrates the syntax. #include <fstream> int main() { lon... (by kbw)
by applee
Inheritance
 
Hi! I'm having trouble with multiple inheritance. I'm supposed to write a program for chatrooms, ...
[no replies]
Could someone please correct this code for me?
 
Hello all! Okay, so I was going to write a map-builder for my text-based game. The file structure g...
[6 replies] Last: Never knew that (but, thinking about it, it does make sense binary cou... (by Exispistis)
File or Folder?
 
Hello forum! I'm looking to determine if a filename is either a folder or a file. I can list the f...
[1 reply] : Unix: // http://www.freebsd.org/cgi/man.cgi?query=stat&apropos=0&sekti... (by JLBorges)
visual basics?
 
Ok lets get straight to the point my question is do i want to leanr visual basic is it worth anythin...
[7 replies] Last: ok thanks... i started to learn VB im half way in? but im stoping and ... (by hulibarri)
Moving an image using a IR sensor(MFC)?
 
Hey guys,I have an IR sensor here and I was wondering would it be posssible to create some sort of m...
[no replies]
Binary tree traversal
 
So I'm reading up on binary trees (I wanted to challenge myself and learn a new topic in c++) and as...
[no replies]
by zkype
How can I initialize array in Class's constructor
 
Hi , As far as I know if we want to pass array to function there are two ways. One is we need to ...
[1 reply] : In this case, the assumption is that you are always passing a fixed si... (by PanGalactic)
by shaggy
Vector of Bullets - support needed
 
Hello and thank you for reading this and helping me. I am using SDL and openGL. I want to get my ...
[4 replies] Last: thankyou very much for all the replies. I do not no much about vectors... (by shaggy)
Merge sort header resulting in random values
 
Ok so, I created a simple merge sort header as you can see below. I am however having some issues w...
[2 replies] Last: this is obviously a test i was using for the merge sort header Ran... (by GFreak45)
No assistance from compiler
 
It will not compile. The compiler is not highlighting errors. Is this normal? It is giving me mes...
[5 replies] Last: I believe it's called IntelliSense. Anyways, he didn't actually say he... (by hanst99)
by kready
Replacing words in a string from a text file.
 
Hi. I am new to programming and im having a problem with this code. I have to write a program that r...
[1 reply] : You open the file, create an array of chars. Read in every file's ch... (by Ortonas)
April 2012 Pages: 1... 3839404142... 49
  Archived months: [mar2012] [may2012]

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