Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
71% Quality Score
Upvotes Received
6
Posts with Upvotes
6
Upvoting Members
3
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
0 Endorsements
~10.2K People Reached
Favorite Tags
c++ x 22
c x 11
Member Avatar for camelNotation

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?

Member Avatar for tekbhatta
1
2K
Member Avatar for Asif_NSU

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 …

Member Avatar for ahtaniv
0
751
Member Avatar for rodkay

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 …

Member Avatar for ashishkumar008
1
170
Member Avatar for Saleh

where can i find out a detailed information about [B]How to write a header file[/B] ?

Member Avatar for JCRARY
4
269
Member Avatar for matika

[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]

Member Avatar for sachin_mnnit
1
744
Member Avatar for Tejas

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 …

Member Avatar for WaltP
1
214
Member Avatar for Sukhbir

[code=c] void main() { fork(); fork(); printf("main"); } [/code] pls explain me what is the output. how it comes.

Member Avatar for replytoshshir
0
192
Member Avatar for Lippy

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 …

Member Avatar for Narue
1
189
Member Avatar for MaxC

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) …

Member Avatar for azeembutt
0
277
Member Avatar for Robin Low

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 …

Member Avatar for Narue
0
134
Member Avatar for Mahen

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 …

Member Avatar for Dave Sinkula
0
176
Member Avatar for Fili

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 …

1
104
Member Avatar for silicon

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" …

Member Avatar for silicon
0
303
Member Avatar for boi86

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 …

Member Avatar for Fili
0
139
Member Avatar for newbeginney

:?: 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 …

Member Avatar for newbeginney
0
209
Member Avatar for nufanvandal

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, …

Member Avatar for red_evolve
0
259
Member Avatar for 3maddy3

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?

Member Avatar for meabed
0
225
Member Avatar for mike3x1

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, …

Member Avatar for K-1
1
187
Member Avatar for Fili

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:

Member Avatar for Fili
0
212
Member Avatar for phish1429

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 …

Member Avatar for Fili
1
2K
Member Avatar for matika

i'm working on a project and i really want to know if c++ provides to print out colored text or not. thx

Member Avatar for Fili
0
430
Member Avatar for Blood Night

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 …

Member Avatar for Fili
2
257
Member Avatar for Neofite

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 …

Member Avatar for FireNet
2
195