Beginners (Page 89)

file i/o
so i know how to open and close files with the fstream objects. But what about opening a file and j...
[2 replies] Last: easy! thanks ! (by donvigor)
by wrylan
Can anyone help?
Could someone please thoroughly explain c++ ?
[3 replies] Last: Don't feed the trolls. (by MikeyBoy)
Is this co-dependency or bad overall design?
Hi I'm trying to write a chess program for one of my classes. Data encapsulation has been a serio...
[2 replies] Last: That was very insightful. Thank you. (by keanedawg)
Second Largest Array Sort
Given the following code which outputs the second biggest integer in an array of 4 integers why do y...
[2 replies] Last: Hmmm. Let array = { 1, 2, 4, 3 } fm=1, sm=2 i=0 1 !> 2 1 !> 1 i=1 2... (by keskiverto)
Nested loop shape help
Hi I'm trying to get this design done here and I'd love some help finished result or possible steps ...
[3 replies] Last: Google nested loops. Youtube nested loops. (by TarikNeaj)
Still open for suggestions....
First, why can I not get this code to highlight and format to code tags? Second, can anyone show me...
[8 replies] Last: you are correct, I missed the space correction... thanks again (by justhappy)
constructors and destructor
Hi, I'm having problems understanding this 1 example. Author of the book that I'm reading suggested ...
[4 replies] Last: Sorry if I couldn't answer in time. Yes, every object that has been co... (by S G H)
by bagol
What is next to do after learn basic of C++?
First, I will say that I'm new in C++ and this forum too. What I mean by new is that I still can't c...
[no replies]
Scope operator changing.
Why is it that in the second cout stmt of the main function, ::abc is printed out as 11? Doesn't :: ...
[3 replies] Last: But now I see, that main has been manipulating the global variable UN... (by Yanson)
Menu Based Programs and Nested Switch.
Nevermind, ty for the replies though.
[6 replies] Last: case 1: // NESTED CASE 1, CAN'T USE 1 FOR INPUT? Why wouldn't you b... (by fg109)
nested for loops simple question
Write a program to display following output by using nested for loop A9 A8 A7 A6 A5 B9 B8 B7 B6 B...
[4 replies] Last: Here you go.... char ch='A'; int num=9,i,j; for(i=0;i<5;i++) { n... (by programmer007)
By applying for loop, your program should find and display the largest and the lowest of the numbers.
Q)Write a C++ program that receives the total number of integers (N). Then, the program will ask for...
[1 reply] : You reset the min and max every time on lines 22 and 23. Currently, l... (by tscott8706)
function prototype
I am not sure what to put for display instructions and calculating the paycheck amount. Can anyone h...
[4 replies] Last: Break it up into steps. 1) Your code currently doesn't compile. That... (by tscott8706)
How can I do dynamic memory allocation inside an structure?
I'm trying to do a program that read some informations of a person and write them on a binary file, ...
[6 replies] Last: Yeah, I knew this..... (because since I started to study programming i... (by Gnomo Verde)
Classes and ShowMe()
Hello guys and gals. I am very new to C++ and I am working on this code assignment but I ma lost and...
[1 reply] : You can see my blog post at (by tscott8706)
Can you typedef a specific object?
I'm getting tired of writing long lines of code just to represent one object (I have to go through g...
[no replies]
Arrays, student scores
[2 replies] Last: . (by joeaswe1)
Need help with functions
Write your question here. Write a main that test for slope() and midpoint() #include <iostream> us...
[1 reply] : Next time when you post your code, make sure to ask the question that ... (by tscott8706)
Help calling information out of an array.
Hey Guys how's it going. I need help with arrays. I need to store all sine values from 0 - 90 into a...
[1 reply] : You could simply calculate the sine every time, when the user gives an... (by keskiverto)
Using for loop in this equation using c++ (1,2)
Given equation:S = {(P1 (1-u) + P2u) (1-v)} + {(P3 (1-u) + P4u) v}. This is an equation to represen...
[25 replies] Last: That is one triangle. A file can have many such "facet" entries. A... (by keskiverto)
Pages: 1... 87888990
  Archived months: [mar2015]

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