
please wait
Help on Practice Questions !! |
I posted my own answers next to the question in Bold. Can someone please verify the answers for me. If a statement doesn't have a,b,c,d answer options, tre... |
May 18, 2013 at 5:17pm
[19 replies] Last: Write in the margin "if you mean..." (by agnophilo)
|
by SeBeQ
Is it memory leak?
|
Hi everyone. If I use a new operator without delete or I assign a new data to pointer with a new opreator I do a memory leak. But piece of code below can ... |
May 18, 2013 at 4:02pm
[3 replies] Last: String literals have static storage duration. That is the storage for ... (by vlad from moscow)
|
by Pebble
Function To Return Pointer To Array
|
I'm struggling to comprehend how to return a pointer to an array, From a function. The book i'm learning from has a small section on the above, But very littl... |
May 18, 2013 at 2:12pm
[2 replies] Last: What is the advantage of using a function? One advantage would be to... (by andywestken)
|
by optimisez
object and array?
|
Create an application program that declares an array of 100 components of type Item. Is create 100 item object by array or create an object and inside the o... |
May 18, 2013 at 1:49pm
[4 replies] Last: I would give bonus marks for: const size_t itemCount = 100; Item it... (by andywestken)
|
by k4elo
casting question
|
Here is an audio callback routine for use with portaudio. The part I don't understand is how or why you can use the name of the class AudioReaderPortAudio as a... |
May 18, 2013 at 1:27pm
[1 reply] : Parameter userdata is defined as void * . So you can say nothing abou... (by vlad from moscow)
|
by melon
reading different values from a .txt
|
Hey guys, I´ve read a lot of similar questions here in the last hours, but I still didn´t find out how to do it. I want to read line by line from a txt fil... |
May 18, 2013 at 1:19pm
[7 replies] Last: Hey guys, thank you all for your help. Apparently the version I posted... (by melon)
|
by PureEvil75
Loading a value from a file (ifstream & ofstream)
|
Hello I am to create a Program that displays the biggest number in a file and here is the code # include <iostream> # include <fstream> using na... |
May 18, 2013 at 11:59am
[2 replies] Last: First I'm sorry from being indirect but I've accomplished it and u ar... (by PureEvil75)
|
by labeeb
Visual programming in visual c++ 2010
|
I am completely beginner to visual programming in c++.I have downloaded Microsoft Visual C++ 2010 I was expecting to have drag and drop option in it but have no... |
May 18, 2013 at 11:38am
[1 reply] : Do you mean building GUI apps? Then read about application framework l... (by Aceix)
|
by eoaneh
counting characters without strlen
|
i'm trying to write a program about measuring the length of a string without using strlen. i have wrote something but my problem is i don't know how to add '\0... |
May 18, 2013 at 10:53am
[10 replies] Last: thank you all for helping! (by eoaneh)
|
by adam32885
Game of life program
|
The program I am trying to write is the game of life. I have all the beginning part set up correctly as the instructor gave us most of it. Now I am stuck at the... |
May 18, 2013 at 10:37am
[17 replies] Last: okay thank you very much I will post the final project. (by adam32885)
|
by ace55
Array question
|
I need to write a code that calculates the average score based on the number of scores the user inputs and it has to be between 1 and 20. What am i doing wrong?... |
May 18, 2013 at 9:09am
[2 replies] Last: #include <iostream> using namespace std; int main() { const siz... (by vlad from moscow)
|
.exe runs fine, but .cpp won't compile, what? |
The following code was found at "http://www.eriugena.org/code/sendto/" and used in a Wincows XP Pro backup batch file, and it (sendtoEFS.exe) worked great, exce... |
May 18, 2013 at 6:23am
[no replies]
|
by ace55
program wont compile help?
|
it says on line 20 when i try to compile, i need ; before { how do i fix this i ended the line with ; is my code correct? thanks! #include <iostream> ... |
May 18, 2013 at 5:40am
[no replies]
|
by chronomancer
For loop isn't looping. Variable in failure.
|
I am trying to tally the prime numbers from 1-100000, and I think I'm on the right track. My issue seems to be with the second for loop, with the imbedded if a... |
May 18, 2013 at 5:38am
[2 replies] Last: I figured it was something simple that I was overlooking, thank you so... (by chronomancer)
|
by rami amr
prime numbers from array
|
hi i am still a beginner in c++ and still didn't learn functions and not allowed to use libraries . so a friend of mine challenged me to write a program that sh... |
May 18, 2013 at 5:08am
[7 replies] Last: [quote=eyenrique]@usanfriends you need to add one condition in the las... (by closed account 18hRX9L8)
|
by Gluttons
Understanding References
|
References could be used to: a) define pointer to a memory location b) pass pointer arguments to a function c) access the value without and asterix (*) Are any... |
May 18, 2013 at 5:06am
[4 replies] Last: [quote=Daleth]I was saying... The subject of this thread is referenc... (by cire)
|
cin.get(); |
Whenever I want to stop my program from closing, I put cin.get(); before return 0; I don't know why, but sometimes it will work and sometimes it won't even a... |
May 18, 2013 at 4:19am
[2 replies] Last: It worked :o thank you! (by HighbrowManiac)
|
by Jinjaninja1
C++ Ignoring Special Characters, Upper and Lower Characters in a String
|
Hello, I'm a newbie, and I'm doing this assignment. I need help with simple function or a statement that will ignore if user inputs special characters in a s... |
May 18, 2013 at 4:14am
[1 reply] : Unfortunately it doesn't work. If you present a snippet of code and... (by cire)
|
by agnophilo
Array bug in calculator program.
|
C++ is my first language and I've been reading the tutorial on this site too long without actually programming anything (got almost to the end without learning ... |
May 18, 2013 at 2:13am
[6 replies] Last: Oh, then by all means go ahead. :3 Just be careful that you are workin... (by Daleth)
|
by litoscu
Help understanding Arrays
|
Hello to the community and thank you in advance. I'm having a little bit of trouble with this code. I need to "merge" all of similar number inputs and display t... |
May 18, 2013 at 1:53am
[2 replies] Last: Sorry about that, I thought that if I shared my code it might be easie... (by litoscu)
|