Beginners (Page 106)

Classes vs Structures
Hey I am just a beginner in C++, though i have a little experience with C. Is the only difference b...
[1 reply] : 1. Yes. 2. Yes, but don't unless you have a good reason to. (by kbw)
While Statement
Can someone please explain further for me on this part of the code sum += val; //I understand tha...
[4 replies] Last: Stick a breakpoint on line 15, then add watches for the 2 variables. y... (by mutexe)
Geometry Calculator
My exercise asks me to write a program (geometry.cpp) that displays the following menu: Geometry C...
[4 replies] Last: now i know.. thanks a lot.. selenium.. :) (by aliasdan30)
by Legato
Run a program, change a folder name
Hi, i wondered if it were possible to point me in the direction of making a small program tha...
[4 replies] Last: Yes, i was a little confused, i didn't know if there was some windows ... (by Legato)
Recursive backtracking
I need the solution of following assignment .I have to use recursive backtracking in c++ .please can...
[3 replies] Last: That homework is clearly not the first "Hello world", so you must have... (by keskiverto)
linked lists problem2
Hey i write this function to add at the last of the link list but when a display them the first no...
[3 replies] Last: A diagram of what is happening: (by MiiNiPaa)
by mrxib
Skip to the main function from another.
I made a console application and defined a function given below to exit the program. It confirms if ...
[1 reply] : You can't do that in a single function that doesn't care about program... (by kbw)
by chofs
randomly selecting already inputed number
hey guys just want to know if i had a stream of numbers(1,1,2,5,8) and want to select at random one ...
[4 replies] Last: You kind of double posted. (by giblit)
by chofs
random number generation
hey guys lets say i have got a range of numbers (1,1,2,4,8) and want to select at random one of the...
[2 replies] Last: using rand() or srand() You will need srand() to seed the random gen... (by giblit)
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: > 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? #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)
Pages: 1... 104105106107108... 133
  Archived months: [feb2014]

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