General C++ Programming - February 2010 (Page 13)

List of C++ compilers
 
Some compilers that can be downloaded for free (do check their conditions/licenses before attempting...
[1 reply] : The official compilers list for this website, which focuses on all the... (by tummychow)
compiler support for partial template specialization
 
Hi all. I am working on a class that I would like to specialize on a single template parameter, b...
[2 replies] Last: Yes, I had looked at that, but I'm not so sure it is very complete. Bo... (by Duthomhas)
Tic-Tac-Toe error
 
I wrote a tic-tac-toe game and it works good except the program returns 88 intead of X and i don't s...
[7 replies] Last: Heres a Tic-Tac-Toe game I made with A.I. awile ago, dodnt know if it ... (by blindsiner)
Classes and 2D arrays
 
SO i have to make a 2D array of type Organism for my class, this is my code, we are using C++ and vi...
[5 replies] Last: Thank you for clearing that Up...i've been programming in c++ for 4 ye... (by Seraphimsan)
Comparing portions of strings?
 
I am trying to write a version of bubblesort that will take in an array of strings and sort the stri...
[2 replies] Last: Ah, I forgot all about substr! Thanks! (by psychocowtipper)
project
 
I am having a problem for how to let the user enters coordinates in the range of 1 though 15 for the...
[3 replies] Last: I know that part but how can we count the hit times in order to make o... (by william)
hangman
 
i have stored 50 words in .txt file and now want to any 5 random words in the memory using this code...
[5 replies] Last: Also, a big ass array like that on stack isn't the best way to go. The... (by closed account S6k9GNh0)
goto statement
 
Hello Experts, I am not a programming savvy. I need a help from you guys can someone help me t...
[8 replies] Last: Yes. (by chrisname)
can someone use a bubblesort function on my project ?
 
i arranged the sequence for the program and the teacher doesnt allow arrange sequence and then runni...
[6 replies] Last: I can argue with you too, because our algorithms are different. Jus... (by closed account 1yR4jE8b)
method overriding -text save function
 
this is a small segment using method overriding,,but shows error: #include <vector> #include <i...
[2 replies] Last: yes, it got corrected..but can u tell me why was it wrong? (by tomararun)
PC-Lint
 
I am using Microsoft Visual Studio 2008 v9.0 Do anyone here know how to use lint? I already te...
[3 replies] Last: Actually I don't have the PC Lint installed now, but I remember that i... (by Denis)
address in-class enum
 
Hi, I am trying to pass some command line parameters to my class, I was wondering what is the proper...
[3 replies] Last: according to OOP conceptions yes, it's a good style(it's encapsulation... (by Denis)
Heap Corrupted in Writing to file(Urgent )
 
Goal of my program is : 1. To do some file operations. 2. if an error is thrown,i will capture t...
[2 replies] Last: refer to the topic http://www.cplusplus.com/forum/general/19143/ (by somshekhar)
advantage of static_cast
 
What is the advantage of static_cast ??
[8 replies] Last: This is quite weird. C++ never stops to suprise me. BTW, using stat... (by Abramus)
Triangulation
 
Just looking through this pseudocode for minimum weight triangulation of a convex polygon... what ar...
[1 reply] : There isn't enough information given to really tell... (by Seraphimsan)
Delcaration syntax Error
 
#include <bios.h> #include <stdio.h> #include <conio.h> #define SETTING (0x00 | 0x02 | 0xC0 | 0x0...
[7 replies] Last: kk, Soo, You're still making the exact same mistake. You can't impleme... (by Seraphimsan)
print string function
 
Alright, I would like to foreword with the fact that I cannot simply use the printf() function. I am...
[6 replies] Last: heh, nevermind, no use. I'm gonna use a template function I wrote to r... (by Seraphimsan)
by geoldr
Random words from file
 
Hello, so I'm fairly new to C++ but not to programming overall. I have created a simple TXT file wit...
[3 replies] Last: what I would do is use the function getline, or simply get, and pull i... (by Seraphimsan)
Math Question
 
Hello, I have a math question. If anyone could help me it would be appreciated. Lets say I ha...
[8 replies] Last: Here is the implementation. for(int i=0; i<iSteps; i++) { float ... (by JesusFan)
by tnngo
Reading from file into multidimensional array
 
I need some advice on how to get past a huddle in my Homework. I am to write C++ program to read the...
[no replies]
February 2010 Pages: 1... 1112131415... 21
  Archived months: [jan2010] [mar2010]

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