Beginners - October 2010 (Page 17)

Class assignment is so frustrating. Cannot figure out
 
Overview For this assignment, write a program to decode an encoded text message and count the dif...
[6 replies] Last: Alright I will try that out and see what happens... I sent you a pm ab... (by GTKnight)
what is the problem of this code
 
The following piece of code can't be compiled by g++. I don't know which rule is violated, or this i...
[1 reply] : Ah... hehehe. I had this problem once and I hated IOstreams for a whil... (by Albatross)
Why i can't return this?
 
Hello everyone! I create a class and inside it a make a function which is refered to the specific c...
[3 replies] Last: Thank you all for your time,thanks Athar now i understood what i was d... (by kikirikou)
Inputs
 
i am new to C++ and need to finish an assignment. i used the If-Else to define a range of user input...
[5 replies] Last: Okay. Well. Pseudo-endless loops are fine if they're short. But in the... (by Athar)
why dyna. allocation is allowed to pointers only?
 
Hello friends, I have one single doubt today, I want to know why the new and delete expressi...
[14 replies] Last: My questions are, in the first case, does the object pointed to by s ... (by Athar)
Copying by Reference
 
I am trying to do an exercise in Stroustrup's book. The task is to create two arrays (with differen...
[7 replies] Last: "Allocate" doesn't imply you have to use new or new . If you create an... (by Athar)
stack
 
can somebody help to understand stack more ...... ..... how to use it ......and why we use it
[6 replies] Last: thanks guys and sorry for the misbehavior...what i mean is how to use ... (by tamzeeni)
by wtf
Please look at my queue class and tell me what you think.
 
Please be gentle with me this is the first time in like 5 years that i've made any kind of serious e...
[4 replies] Last: No. (by helios)
Simple function gone wrong...
 
Hello, i was doing a simple problem, but i got into some trouble with a function.Here is the source ...
[7 replies] Last: +1 Athar. Using g++ in the console is masochism. I wouldn't recomm... (by Disch)
SDL Setup
 
So I've been battling on and off with trying to get my IDE(s) to use SDL. My first choice is in Code...
[2 replies] Last: This was a completely different/easier method than any other I have fo... (by closed account 1yvXoG1T)
separating the digits of an int so they can be manipulated
 
Does anyone know a good method to work on the digits of an int separately without using an array? ...
[2 replies] Last: Just do it in one pass. You only need an array if you want to break... (by Disch)
by jleach
Macro Guard - Defining a Filename
 
Hi, I'm curious about the syntax of noting a filename when using #ifndef and #define in a header ...
[7 replies] Last: Since not all compilers support #pragma once you need to have at min... (by Duthomhas)
by jleach
linking headers and sources
 
Hi, I'm curious about the process that a standard compiler would use to "find" the source file fo...
[1 reply] : http://www.lurklurk.org/linkers/linkers.html Nevermind, I found it ... (by jleach)
by kwncy
Function Problem, what is wrong with this code?
 
anyone can fix the error in this code? please try to run it to your compiler. im using Quincy 2005...
[5 replies] Last: Compare lines 10 and 105; you declared function to be returning floats... (by eraggo)
can i create a function which returns a class object?
 
Hello everyone,as you saw in the topic a was wondering if i could create a function which returns ...
[5 replies] Last: Thank you all guys for your help and your time. Pax nice and easy t... (by kikirikou)
by wtf
Destructor that doesn't get called on going out of scope
 
I have a problem. I have encountered a data member whose destructor does not get called on going ou...
[8 replies] Last: Every new needs a delete. [quote=wtf]or will this suffice That de... (by Athar)
2d array rotation
 
hello all..i have a little problem,and i need a little help,or some advice on how to start..i got so...
[1 reply] : never mind..i got it myself. #include<iostream> #define MAX 20 u... (by Mihay07)
Calendar Program
 
I've been trying to get this stupid function to work for days and just cannot get it. My display ...
[2 replies] Last: Athar, you are the MAN! If I could right now, I would give you a giant... (by brycematheson)
Use of ‘const’ in Functions Return Values
 
Hy, #include <iostream> using namespace std; const char * function() { return "some Text"; ...
[4 replies] Last: Albatross: the int h is implicitly making a copy. (by Pax)
spaces in char array input - C++
 
char nam ; cout << "Enter item for sale: "; cin >> nam; cin.clear(); cin.ignore (10, '\n')...
[8 replies] Last: thanks, i've managed to solve it by myself already (by nanochan1)
October 2010 Pages: 1... 1516171819... 42
  Archived months: [sep2010] [nov2010]

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