Beginners - February 2014 (Page 14)

Heap memory
 
This code should create a cell in the heap memory.(creatBox function) And afterwards the function a...
[1 reply] : You should be using the sizeof operator rather than just the magic n... (by Smac89)
structs and functions
 
Hi! I need some help on my assignment. My main problem right now is I cant get my function getPrice(...
[no replies]
by RabMac
Vector Problem
 
Hi, This is my first attempt at using vectors and I must confess that I am a bit lost. I have...
[no replies]
Will only read one input
 
I am writing a program that calculates GPA. The user needs to enter four different different data po...
[5 replies] Last: No. All your program sees when you input the grades is a "B", so your... (by long double main)
by leo255
Want to copy/store data from struct into individual arrays
 
I wrote a basic get function that takes the elements of a struct, and copies/stores them into separa...
[1 reply] : Also, I should note that on line 58, that is just to test the first ge... (by leo255)
2d Array Grid display
 
hi there, i been for trying to create 5x5 grid that basically display first column, last column ,...
[no replies]
C++ .Net: Display Grayscale image from a unsigned short array
 
Hi, I read data from an astronomical image (FITS-format) to an unsigned short buffer (16-bit lumina...
[no replies]
Please Help i just dont understand c++!
 
If someone could help me please im looking for some sort of miracle i just dont get c++ especially w...
[6 replies] Last: I highly recommend searching for thenewboston on youtube and watching ... (by theperson)
Else statement always runs
 
This is the first time posting to the forums. I think that there is something that I just do not und...
[4 replies] Last: Hey TheIdeasMan. Thanks for your reply and I could have sworn that I t... (by MRangel)
C++ Function help
 
The goal of the program is to get the different time estimates for an activity and then to calcula...
[no replies]
how to make the program print out more than a word at once
 
can someone help with the "cin.getline()" problem am facing. thanks #include <iostream> #include...
[4 replies] Last: You're welcome. See you on the forums. (by JustinPLe)
input redirection problems
 
I'm trying to get this program to read in a file then count words, lines, and characters. but when t...
[no replies]
Error no matching function
 
#include <iostream> #include <iomanip> #include <string> using namespace std; struct PayInfo ...
[6 replies] Last: how do i do that? i am really confused now >< recently introduced to s... (by dasboshiet)
Constructor member initializations?
 
I have a class that has a constructor: Fighter::Fighter(FontHolder& fonts). The World class, has ...
[4 replies] Last: lol my bad thanks i got it (by nano511)
Opinions welcomed...Re: C++
 
I would like to as a general question on this forum, and I would appreciate any knowledgeable answer...
[no replies]
Or-conditioned while loop not working
 
The purpose of this code is to take a c-string of many random words and then write these words in re...
[2 replies] Last: Gotta love the output: Enter words in one sentence: Hi there, how are... (by long double main)
Can you get this code to work properly?
 
I can probably get figure this out eventually but I wanted to make my first post on this forum to se...
[7 replies] Last: or even... int main() { start: int num = 0; cin >> num;... (by closed account zybCM4Gy)
don't get the desired output
 
: Write a function named "sort3" that takes three floating point arguments, call them "x", "y" , and...
[5 replies] Last: #include <iostream> using namespace std; void sort3(float a,float b... (by closed account zybCM4Gy)
Use of Getline
 
Why do we use getline to in any palindrome program?
[3 replies] Last: It's also far less error prone and can be manipulated far easier. Alth... (by closed account zybCM4Gy)
February 2014 Pages: 1... 1213141516... 60
  Archived months: [jan2014] [mar2014]

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