Re:
Somebody told me that he could access c++ private data members without using the " Friend" type or public functions.He gave a source code and that was compiled in Turbo c++3.0 :-( May I post that here? |
|
Re:
Hi there C /C++ experts... I have a confusion regarding the function free(void *) in C and [I]delete[/I] in C++. Suppose there is a pointer named p. In C++, we dynamically allocate memory for p to point at like this [CODE] p = new int [10]. [/CODE],then when we use … |
|
Re:
Hi all, Quite a basic question for most of you; I am trying to obtain length of a string < char [b]name[MAX_ENTRIES][MAX_NAME_SIZE][/b] > for use in a for loop that will perform isalpha. [size=3][color=blue]for (int j=0; j < &name[i].length(); j++)[/color][/size] [color=black]I am getting [/color][color=red]error 2228: left of '.length' must have … |
|
Re:
where can i find out a detailed information about [B]How to write a header file[/B] ? |
|
Re:
[FONT=Lucida Console][COLOR=Blue]is there any function that helps to sort an array of strings alphabeticly i need to sort an array alphabeticly which contains names of students thx 4 yr help matika :cool: [/COLOR][/FONT] |
|
Re:
I got a question which i cannot do. Pls help me. (This is using Turbo C++ IDE). The questions are: Q1. WAP to print the sum of the following series: 2(square) + {2(square) + 4(square)} + {2(square) + 4(square) + 6(square)} .............. till N terms. Q2. WAP to find out … |
|
Re:
[code=c] void main() { fork(); fork(); printf("main"); } [/code] pls explain me what is the output. how it comes. |
|
Re:
I am learning C++ using Stephen Pratas "C++ Primer Plus" (excellent book btw). However i am stuck on exercise 6 chapter 4, where in essence i just have to use new to allocate the array of structures dynamically. I can allocate a single structure dynamically, however i still do not … |
|
Re:
Hello all, what do you think the answer following question is? The cin.getline function: a) reads a fixed number of characters as a string into a character array. b) reads a line as a string into a character array. c) reads a string up to the first blank space. d) … |
|
Re:
I'm a fresh in writting C program... still learning n hav struggling with it~~ could anyone give me some hints to complete it? -------------------------------------------------------------------------- Create an application, which helps manage the in-course assessments of an intake in COLLEGE X. This program is meant for lecturers to key-in and view, the … |
|
Re:
Hi everyone, Some questions in my previous post is still left unanswered. Here it is again: How can i accept decimal numbers from STDIN and perform arithmetic operations on it in C. How can i create a subroutine within a program, that can be called again & again at different … |
|
I want to have a class LIST -- a dinamic list of rational numbers (defined previously in my RATIONAL class). I want another class STACK to inherit LIST's root and end pointers for my list.(STACK also is dinamical) Please help because it says that STACK cannot access the root and … |
|
Re:
Hi everyone, I've recently been having a problem with my current program. I've gotten it to work so that I can enter a word in and it will check the word to see whether or not it is a palindrome by methods of stack/queue. eg. dad "Dad is a palindrome" … |
|
Re:
I've been trying for hours and still haven't been able to figure out whats the problem. I've tried many variations in the functions, but still unsure. I'm trying to make a program that changes the inputted array of names first name middle name, and last name to different format (Last … |
|
Re:
:?: can anyone explain to me a simple way to get the lowest input and the highest input From multiple inputs while also counting how many are below a certain value and avove a certain value I am at my witts end tryng to learn. I am a newbie at … |
|
Re:
hello, im pretty new to C and for my first project, I have to print out information about a box.(exciting...) anyway, i have the user enter the width and height of the 2d box, and then give them a menu to select from, to get info about the box, perimeter, … |
|
Re:
hi everyone, am quite new to graphics.am tryin to write a car game.i jus wanted to know how to use special keys(like arrow keys n function keys as inputs).can anyone help me? |
|
Re:
Hi i'm having a few problems..i'm trying to do a time class that holds the hr, min , and meridian( am or Pm). this is what i have so far. For the void set how would i set the char mer[] to am or pm. class Time { long hr, … |
|
I have a very important question (for me) How do i use <alloc.h>/<malloc.h>/<stdlib.h> for memory allocation? i'm talking about: malloc(),calloc(),halloc(),realloc(),alloca(),heapwalk(),free() etc? i'm having a lot of trouble with these! thank you!! :confused: |
|
Re:
Yes i know everyone hates homework help but this was a last place i could go I am writing a program that stimulates a vending machine and i have written almost all of the code its just not working correctly I am stressing out because it is due by tomorrow … |
|
Re:
i'm working on a project and i really want to know if c++ provides to print out colored text or not. thx |
|
Re:
Crazy notions Time Limit: 1.0 second Memory Limit: 1 000 КБ For five days robot-loader JK546L54p has been buried under the thick layer of the Sibelian plutonium slag. The terrible strike of the atmospheric electricity has led to the depressurization of the robot’s fuel elements. Who will examine this heap … |
|
Re:
I have an interest in learning a programming language in order to write programs to manipulate a fairly large set of numbers. For instance, I would like to write a programs to sort and maniuplate in various ways different baseball statistics on all of the active players in the last … |
0 Reputation Points
0 Endorsements
Ranked #6K
~10.2K People Reached
Favorite Forums
Software Development
x
33
Game Development
x
1