General C++ Programming - October 2013 (Page 2)

2 player craps game
 
This is the problem statement: (1) One of the players goes first. That player announces the size ...
[1 reply] : Post your code. (by Shren)
C++ project help please
 
Write a program to convert the time from 24-hour notation and vice versa. Your program must be menu ...
[2 replies] Last: Im guessing you are going to write this in C++. Here are a few things ... (by Shren)
by guesto
Craps game C++ need help??
 
For this program, simulate a craps game for a total of at most 20 wagers. That is, the first player ...
[3 replies] Last: I made this program for you that might help. It randomly generates a n... (by megasnorlax)
by GCODE
Error LNK1120: 4 unresolved externals --Initializing class vector variable inside constructor
 
I am trying to link a vector of vectors from my header file to my .cpp file, but I am getting a coup...
[2 replies] Last: ¿what's worst than a multidimensional array? A pointer to a multidi... (by ne555)
Codeblocks not finding libs, permission denied (1,2)
 
I upgraded to code::blocks and now I have the errors while trying to install sfml and sdl (to use in...
[28 replies] Last: What do you mean? I am on the admin account. (by closed account NUj6URfi)
Combinational Logic Simulation using QThreads
 
Hello! I'm trying to create program that reads in commands from an input file, and accordingly creat...
[6 replies] Last: Oh wow, you're right. And now I feel silly. Thanks a ton to everyone! (by mistabob)
difference between cout and cerr
 
Other than the theoretical difference between cout and cerr where the former puts values to the moni...
[7 replies] Last: Disch, I don't care much about the topic, I just remembered I had read... (by SmeeAfshin)
problem with my lexer
 
im having trouble writing my lexer. i want it to find for right now just strings and identifiers, bu...
[5 replies] Last: Old habit of forgetting to use std::clog, which by default on Unixes r... (by Albatross)
x and y wont work
 
Hello here is my code so far: #include <cstdlib> #include <ctime> #include <iostream> #include <win...
[3 replies] Last: Thanks a lot. It works great now. (by megasnorlax)
Structure and Rational Numbers HELP!!
 
So I have to create a program that follows these guidelines and i dont know where to start please he...
[no replies]
by Juicej
Using pointers an string arrays
 
im supposed to build a simple traffic control program.. i'm done but i kno its full of errors it run...
[2 replies] Last: i've done a course on data structures last semester. got a b-.. i took... (by Juicej)
by algo89
Floating point numbers / numerical analysis
 
Hi, I have the problem of trying to find the smallest natural number that makes two consecutive ter...
[2 replies] Last: Thanks for pointing that out.^^ No idea what I was doing there. (by algo89)
need help trying to implement a linked list, but it failed to compile.
 
I need to write a permute class that will take first and second strings to rearrange letters in firs...
[no replies]
Arrays getting random numbers
 
Ok so Im suppose to make this program were the user inputs the size of the array then the user sets ...
[1 reply] : > whenever i run the program i keep on getting a loop for the size of ... (by ne555)
by razr
Class templates - strange constructor behavior
 
Hey, I am currently studying the use of class templates in C++. I created the class template<cl...
[3 replies] Last: No problem. And don't feel like that. Sometimes a fresh set of eyes ... (by Disch)
please help me with this!
 
hi im a student in college and stuck with a programming teacher who really doesn't know how to teach...
[8 replies] Last: You can find a pretty good example of a C++ state machine here: http:... (by mistabob)
Iterators, need help.
 
I keep getting this error and I dont know why. Line 107: Just before my main. cast from 'NodeTy...
[2 replies] Last: My apologies, I will repost. I am just in a rush. (by hsprogrammer)
help with bubblesort
 
i have to sort golfers using bubble sort here my code: #include <iostream> #include <cstdio> ...
[2 replies] Last: i want to include bubble sort function in my code that will arrange go... (by GokuK97)
Exiting the program borland turbo c++
 
need to exit the program when wrong inputs how to do it?? #include<iostream.h> #include<con...
[4 replies] Last: indentation <nolyc> indentation is optional whitespace. see also: !vow... (by ne555)
by Rbroke
Linked list output incorrect
 
Were are to implement a method countValue() that counts the number of times an item occurs in a link...
[1 reply] : ¿do you understand what `random' means? (by ne555)
October 2013 Pages: 1234... 46
  Archived months: [sep2013] [nov2013]

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