Beginners (Page 95)

gag program
 
i would like to learn how to run a timer and this is my fun test code for now later i will use it fo...
[3 replies] Last: #include <windows.h> #include <conio.h> #include <cstdlib> int main(i... (by SorinAlex)
random number generator
 
My random number generator game. #include <iostream> #include <stdio.h> #include <stdlib.h> ...
[2 replies] Last: Where is the question Also you probably want to seed outside the loop. (by giblit)
by bbb718
help with simple function
 
does anyone know how to write a simple function that will take 3 ints and find the sum of the higher...
[3 replies] Last: void swap(int& a, int& b) { int temp = a; b = a; a = temp; } i... (by Stewbond)
Help With C++ Fraction Calculator Program Please
 
Hello, I'm currently writing a program that is supposed to add, subtract, divide, and multiply fract...
[1 reply] : For starter you're using an int with division, which is not good since... (by Peppercorn142)
by limyh
Swapping array contents of different size
 
Hi all... I'm stumped on this problem and my array contents are not swapping correctly. The outpu...
[8 replies] Last: > This is where tuple unpacking can come in handy To swap two objects... (by JLBorges)
Cannot produce output with this function
 
Everytime i run it...the value is always zero...can someone help me?edit the code #include <s...
[2 replies] Last: i try to use function operation...the body from 11-39 is for input and... (by saufi95)
Getting back to writing codes after 10+ years of break -- Which book(s) to study?
 
Greetings to all who happen to read this thread, This is my very first post here. I wrote, among m...
[9 replies] Last: > http://www.planetpdf.com/developer/article.asp?ContentID=6634 Downl... (by JLBorges)
by dan2n1
Need help with series for loop
 
Hello everyone, I am a newbie to C++ and programing. I am in need of help in a lab: Write a progra...
[2 replies] Last: Thank you for the help ats15. (by dan2n1)
Simple for loop question.
 
How do I get rid of that plus sign? http://postimg.org/image/5dfggoh3r/ #include <iostream> u...
[3 replies] Last: YEAHHHHHHHH!!!!!!!! it works!!! thank you "usandfriends"! (by frogmoney712)
by giblit
Code Optimization
 
I am trying to optimize my code fully because right now it is extremely slow. I tried a bunch of di...
[2 replies] Last: For the program I am going to be using it on I need that since the num... (by giblit)
by kiino
Employee Production Worker Problem
 
Hey guys, so I generated the header file for both the Employee and the Production worker classes and...
[2 replies] Last: Yeah I figured it was. I decided to turn the Worker array into a point... (by kiino)
by fc3s
do while looping problems
 
Hi all, this is a very novice post (and my very first post), but I am having a problem getting my do...
[4 replies] Last: Thanks I got it now! (by fc3s)
default constructor
 
So I have this problem and so far I came up below and needs some guidance in how to start this proje...
[no replies]
switching to code blocks
 
ok so i usually have been using dev c++ and am making a switch to code blocks. i uninstalled dev c++...
[no replies]
by dero
delete the last and first line in an interval
 
hey all well I have been facing this problem for days and I don't seem to get an answer to it. I h...
[1 reply] : @chervil can u plz help me out (by dero)
Tic Tac Toe problem
 
Hello all, forgive me for including my entire program, but the problem is very annoying and I can't ...
[2 replies] Last: Part 3 //tests to see if there is a winner or not int Draw::testWin... (by pilotnate)
Recursion confusion
 
I'm really stuck on this one: Write the definition of a function named copy that reads all the s...
[12 replies] Last: You could try something like this: #include <iostream> #include <stri... (by long double main)
Overloaded Equality Operator Question
 
In my program I am attempting to compare two "Contact" objects using the overloaded equality operato...
[9 replies] Last: Glad I could help :) If you have no more questions, you can change top... (by MatthewRock)
class
 
I want to write a class which keep to employee's informations.But I made a mistake somewhere but I d...
[1 reply] : What is the definition of "Employee"? (by keskiverto)
Why does this compile?
 
Why does this compile? Value isn`t known till run time? What if this was to return a variable that w...
[2 replies] Last: That value is known at compile-time, if the compiler is aggressive eno... (by keskiverto)
Pages: 1... 9394959697... 121
  Archived months: [feb2014]

Cannot post in this page. To post a new message, go to the first page.