General C++ Programming - March 2013 (Page 4)

Implementation of A* Pathfinding
Sorry in advance for this being a long post. I am making (for my degree) a snake game (you know t...
[no replies]
Text game help, how can I make player go back to previous location?
Hello, I have started making a text adventure game, I need help with some code. if (Choice == 2) {...
[5 replies] Last: Bump. (by smithy311)
using array elements to perform calculations
[no replies]
Implementation of Sieve of Eratosthenes Algorithm in C
Okay, so this function I created uses the Sieve of Eratosthenes algorithm to compute all the primes ...
[no replies]
Prinitng to many times to the screen
Hi, got an assignment from varsity. I've got most of the program to work but its printing to the scr...
[4 replies] Last: I did do that. Module modules ; then I called it too - modules .set... (by nobodyza)
Hey Guys ! i have a question related to classes .. s played using the standard French deck with 52 ...
[6 replies] Last: Why don't you use the counter in you for loops instead of creating a... (by doug4)
Beginner Question about exit or return
Hi, I have a really simple program in C++ that is supposed to run in DOS real mode (not Windows D...
[15 replies] Last: @EssGeEich : Thanks! (by tcs)
Hash table
I read about hash tables and is unable to get the syntax for it...i tried to search on the net but t...
[no replies]
infix to postfix
StackException.h #ifndef STACKEXCEPTION_H_INCLUDED #define STACKEXCEPTION_H_INCLUDED #include ...
[9 replies] Last: #include <iostream> #include <stack> #include <cstring> #include "Sta... (by antiflag)
by ET21
Chi Blackhawks Array Help
I'm having issues trying to input data from a .txt file into my array program. The whole program tak...
[5 replies] Last: The initial list is supposed to be unsorted and only alphabetical name... (by ET21)
Passing a struct to function
if we want to pass an object to function we pass it as returntype func(student s) //student is cla...
[2 replies] Last: Thanks for the reply @maeriden (by venkatacplpl)
Relating to Cygwin
Does anyone know why I come across an error trying to compile on cygwin: -bash: g++: command not fo...
[1 reply] : The shell is saying that it does not have a "g++" command in its curre... (by moorecm)
help command line arguments.....
how to display "correct" if argv ="c" display "wrong" if argv ="c123" ...
[5 replies] Last: Try using strtod ( (by doug4)
by tomz6
Most efficient way to load data from file to RAM?
What is the most efficient (fastest) way to load data from a file on HDD to RAM? (which would allow ...
[3 replies] Last: It depends on what you want to do with it. If you want an unformatted... (by kbw)
FTP program compiling a c/c++ file
Guys, I'm not so good at network coding. I have a FTP server, client program and thus I can easily t...
[9 replies] Last: (by MiiNiPaa)
Rectangle Class.
The question is: create a rectangle class with attributes length and width, each of which default...
[3 replies] Last: Input validation can be interesting. The validation statement in the ... (by doug4)
by Banhas
Jacobi Iterative Method
Good evening guys. For the past few days I have been working on what is basically, a Jacobi Iterati...
[5 replies] Last: I'm testing if my xi vectors (possible solution vectors) are the same ... (by Banhas)
by coder1
To check if a string is a sub string of a string , i use a for loop and check every character. i wa...
[1 reply] : check meth... (by tath)
by erga
if, char array and or operator question
is it possible to make a statement like this: if( A == 'a' || 'b' ) when I want to do this stat...
[3 replies] Last: Thanks a lot guys, you are right. That solved my problem. *cheers* (by erga)
by RiHdz1
Tony Gaddis Book
I am studying Starting Out C++ 6th Edition by Tony Gaddis. I on chapter 4, problem 8 (Sorted Names)...
[4 replies] Last: @JLBorges-Thanks. I will study your code. Everything that you coded is... (by RiHdz1)
March 2013 Pages: 123456... 51
  Archived months: [feb2013] [apr2013]

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