
please wait
by Simon Izraev
Heap memory
|
This code should create a cell in the heap memory.(creatBox function) And afterwards the function addNumber should add cell to the first pointer(*box) with th... |
Feb 23, 2014 at 11:03pm
[1 reply] : You should be using the sizeof operator rather than just the magic n... (by Smac89)
|
by BrookeP
structs and functions
|
Hi! I need some help on my assignment. My main problem right now is I cant get my function getPrice() to work. My assignment says I need to use an array i my st... |
Feb 23, 2014 at 9:26pm
[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 created a class that will manage bank accounts and I am try... |
Feb 23, 2014 at 9:05pm
[no replies]
|
Will only read one input |
I am writing a program that calculates GPA. The user needs to enter four different different data points to determine the GPA but my code is only reading the fi... |
Feb 23, 2014 at 8:47pm
[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 separate variables. I want to do the same thing, except to store a... |
Feb 23, 2014 at 8:46pm
[1 reply] : Also, I should note that on line 58, that is just to test the first ge... (by leo255)
|
by ajs1351
2d Array Grid display
|
hi there, i been for trying to create 5x5 grid that basically display first column, last column , and diagonally (like " N " display). but i cant get it to w... |
Feb 23, 2014 at 8:44pm
[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 luminance values). Now I want to display it in gray scale e.g. as ... |
Feb 23, 2014 at 8:41pm
[no replies]
|
by Bass581
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 while and for loops, functions and how to declare an array ar... |
Feb 23, 2014 at 8:35pm
[6 replies] Last: I highly recommend searching for thenewboston on youtube and watching ... (by theperson)
|
by MRangel
Else statement always runs
|
This is the first time posting to the forums. I think that there is something that I just do not understand about if and else statements. It seems on the forums... |
Feb 23, 2014 at 8:33pm
[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 calculate the expected time and display the longest activity calcul... |
Feb 23, 2014 at 8:24pm
[no replies]
|
by aishT96
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 <cstring> #include <string> int main() { using namesp... |
Feb 23, 2014 at 8:14pm
[4 replies] Last: You're welcome. See you on the forums. (by JustinPLe)
|
by Tiawulf
input redirection problems
|
I'm trying to get this program to read in a file then count words, lines, and characters. but when the file should be read in the EOF is seen immediantly. This ... |
Feb 23, 2014 at 8:10pm
[no replies]
|
by dasboshiet
Error no matching function
|
#include <iostream> #include <iomanip> #include <string> using namespace std; struct PayInfo { int hours; // Hours Worked double payRate... |
Feb 23, 2014 at 7:06pm
[6 replies] Last: how do i do that? i am really confused now >< recently introduced to s... (by dasboshiet)
|
by nano511
Constructor member initializations?
|
I have a class that has a constructor: Fighter::Fighter(FontHolder& fonts). The World class, has a Fighter member: Fighter* World::m_fighter. the World co... |
Feb 23, 2014 at 7:02pm
[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 answers. We are going to start a new company that is going to c... |
Feb 23, 2014 at 6:40pm
[no replies]
|
by coepython
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 reverse. However my while statements keep on looping when i ad... |
Feb 23, 2014 at 6:24pm
[2 replies] Last: Gotta love the output: Enter words in one sentence: Hi there, how are... (by long double main)
|
by OutCold
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 see how useful it is. Thanks. #include <cstdlib> #include... |
Feb 23, 2014 at 5:28pm
[7 replies] Last: or even... int main() { start: int num = 0; cin >> num;... (by closed account zybCM4Gy)
|
by kblim
How to use While loop to modify the "for loop" source code
|
Thanks for the help |
Feb 23, 2014 at 5:27pm
[2 replies] Last: If all you need to do is convert your for loops into while loops, ... (by long double main)
|
by patrickmurf
don't get the desired output
|
: Write a function named "sort3" that takes three floating point arguments, call them "x", "y" , and "z", and modifies their values, if necessary, in such a way... |
Feb 23, 2014 at 5:14pm
[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? |
Feb 23, 2014 at 4:56pm
[3 replies] Last: It's also far less error prone and can be manipulated far easier. Alth... (by closed account zybCM4Gy)
|