Beginners - August 2013 (Page 40)

File I/O semantic error
 
Hello Here's my code: #include <iostream> #include <fstream> using namespace std; in...
[6 replies] Last: @The Illusionist mirage Incidentally, unless you invented that yoursel... (by Cubbi)
Making own exception out of std::logic_error
 
Hi, I am trying to define my own exceptions derived from logic_error. I am trying to make tw...
[3 replies] Last: To quote the standard, the exception hierarchy in stdexcept is: excep... (by kbw)
Silo Cylinder
 
Make a silo cylinder and fill with color red between 0 to 100 % level and manipulate the level with ...
[1 reply] : [quote=ervinako]Make a silo cylinder and fill with color red between 0... (by closed account z05DSL3A)
declaration of 2 dimensional array having different type (one column float, anothe int)
 
Is there any way to declare 2 dim array that one column data type is int and the other is float in o...
[4 replies] Last: then The only way is using structure definition? There are other wa... (by MikeyBoy)
by knn9
When to use class constructor Vs. Create() method
 
Could someone explain which situations it is better to use the constructor vs. a Create() method? I ...
[1 reply] : The first one is just your regular object creation. The second one is... (by Cubbi)
C++ Classes and Arrays
 
Is the statement below legal. Can I implement an array like this when working with a derived class...
[11 replies] Last: It's very time-of-day dependent I think. (by S G H)
Issue with dereferencing pointers
 
Greetings, I'm having an issue with dereferencing pointers: main.cpp: #include <iostream> #...
[2 replies] Last: Thank you for your fast response. I changed my code as you suggested a... (by Constipator)
Game Test
 
There is an error that says "undefined reference to WinMain@16. What does this mean? If anyone can f...
[3 replies] Last: Also, WinMain belongs in a windows application. An ordinary console ... (by Chervil)
How do I iterate through clustered switches?
 
Hi there, first post. I am having a huge issue wrapping my mind around a problem in a program I am ...
[17 replies] Last: InnerState is the integer that will hold the flags. (by Rechard3)
Overloading Functions
 
Hi There I have a Code that I wrote to calculate Salaries for weekly and hourly paid employess. The ...
[3 replies] Last: on line 19: double annualSalary is declaring a variable. For passing... (by coder777)
by xhxh00
Need help for my project.
 
1 part of my programme was to check if the booking time is occupied. anyone can help me with this? ...
[no replies]
by mkahn2
C++ project with online database
 
I am looking to develop a c++ application that interacts with an online sql database. Could someone...
[2 replies] Last: Qt is a cross platform development tool that includes lots of differen... (by TheIdeasMan)
Need Help with this mini game
 
I need help with this program it wont work and I don't know how to fix it can anyone help please? ...
[7 replies] Last: Thx I got it cire. I'm gonna try and make this into a simple text base... (by Jarbear)
by Codeez
Using string::size_type to direct init. another string
 
I can't seem to figure this. For a Hangman game, I have a string for the objective word and I want t...
[3 replies] Last: Oh my oh my! How did I forget to use single quotes? Thanks guys! :) (by Codeez)
by fx11
Using goto is OK? (1,2)
 
Previously: Strange list - how to start? http://www.cplusplus.com/forum/beginner/102439/ I ...
[36 replies] Last: With the nested loop problem, there are 2 things I can see: Consider ... (by TheIdeasMan)
Tic Tac Toe- help and advice
 
I am making a tic tac toe game with competitive AI and having quite a bit of trouble. I can't figur...
[2 replies] Last: Yeah I have noticed that. I messed around with it for a while because ... (by PoBurly)
C++ program that inputs two integers then calls a function subtract.
 
"Write a C++ program that inputs two integers then calls a function subtract, use pass by reference ...
[10 replies] Last: Yes you're right, it's just in Code::Blocks I only see the warnings in... (by Codeez)
Tic Tac toe game: issue with random number generator function which is generating number as player inputs.
 
I am writing a tic tac toe game for 1 player vs computer. While placing the random numbers from gene...
[no replies]
starting C++ and intimadated
 
hey so im finally starting a C++ class next semester and im wondering what do i need for the class??...
[12 replies] Last: @Chervil : true, some of my posts may be inaccurate and i don't know ... (by Rechard3)
Employee Loop Problem
 
#include <iostream> #include<cstdlib> using namespace std; int main () { float payrate,hours...
[4 replies] Last: that is what my teacher had said but he wants us to hold off on using... (by cnoeval)
August 2013 Pages: 1... 3839404142... 51
  Archived months: [jul2013] [sep2013]

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