Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #2K
~2K People Reached
Favorite Forums
Favorite Tags
c++ x 14
Member Avatar for orwell84

I have a problem with a program I'm writing. It's supposed to find the factorial of the number you input, but it's not. The problem seems to be that the recursive function isn't...well...recursing. Right now, when compiled, the program multiplies the number by the number before it. So if it's …

Member Avatar for orwell84
0
151
Member Avatar for fireballnelson

A pointer points to a memory location containing a specified value right? If a pointer is defined without something to point at, it can point anywhere, right? Here is my question: What are the practical uses of pointers? I mean why wouldn't you just make a reference to the variable …

Member Avatar for ArkM
0
165
Member Avatar for new2c++

hello, im just learning c++ and was wondering if any one could spare the time to explain to me what each line of the ollowing code does, this is no my code i was just hoping to see what each lines does to see if it wil make it clearer. …

Member Avatar for Freaky_Chris
0
98
Member Avatar for Liinker

I'm mapping a file view to share an array of 200 std::strings between two processes but I've been getting an access violation error when I write a string longer than 15 characters into the array. Does anyone know how I might increase the size of each array element so it …

Member Avatar for Liinker
0
855
Member Avatar for athar89

I have written this parsing algorithm in c++ and compiled in visual studio.On runtime after giving the value it gives an assertion error. The logic is correct bcuz ive dry runned it but i think there's a problem with memory allocation.I need urgent help.Please. // sas.cpp : Defines the entry …

Member Avatar for Murtan
0
182
Member Avatar for berting

i need to write a program which inputs an integer value, checks that it is possitive, and outputs its factorial,using formulas factorial(0)=1 factorial(n)=n*factorial(n-1) sample output: input possitive number: 6 factoral of 6is: 720

Member Avatar for ajay.krish123
0
93
Member Avatar for rkumaram

Following program gives me output 556 , I cant understand why ? [code] #include<stdio.h> main(){ int i =300; char*ptr =(char*)&i; *++ptr = 2 ; printf("\n%d",i); } [/code]

Member Avatar for rkumaram
0
89
Member Avatar for fedderico10

Hi people i need yor help. It must be easy for you but im starting with c++ and i can not figure put how to do this: I have two classes, each on with the .h and .cpp files and a main class that must call the objects created for …

Member Avatar for Lerner
0
167
Member Avatar for Liinker

Hello everyone and Happy Holidays. It's good to finally become a member of DaniWeb. I've used the forums for code references before but never actually signed up. Anyways, thanks for having me. I hope to be able to assist as well as possibly receive some assistance in the future.

0
81