Search Results

Showing results 1 to 13 of 13
Search took 0.01 seconds.
Search: Posts Made By: ReDeViL
Forum: C++ Feb 17th, 2007
Replies: 9
Views: 1,985
Posted By ReDeViL
wow, thanks!!
y didnt i think of that!
hehe........thanks!
Forum: C++ Feb 17th, 2007
Replies: 9
Views: 1,985
Posted By ReDeViL
then y is it that when i display *p for the 1st time in the main AFTER the function was called, it still manages to display the value or 3?
it only displays rubbish after i try to change the...
Forum: C++ Feb 16th, 2007
Replies: 9
Views: 1,985
Posted By ReDeViL
given this simple example:


void changep(int*&p);

int main()
{
int*p;
int x;
changep (p);
Forum: C++ Feb 15th, 2007
Replies: 9
Views: 1,985
Posted By ReDeViL
if i declare a pointer in the main function, pass it via a function as a parameter, point it to a variable that only exists in the called function, will i be able to retrieve the vlaue of the...
Forum: C++ Feb 15th, 2007
Replies: 9
Views: 1,985
Posted By ReDeViL
Hi guys

need a little help for my homework, any help is greatly appreciated.
:cheesy:

Qn 1. pointers
i have a problem with passing pointers to functions
code is as follows:

//function...
Forum: C++ Nov 22nd, 2006
Replies: 6
Views: 6,987
Posted By ReDeViL
thanks for the help!!!
i got it!!!
Forum: C++ Nov 18th, 2006
Replies: 6
Views: 6,987
Posted By ReDeViL
Hi ppl!

can anyone tell me how to capture system date and o/p it later in a prog??

what function do i use??

thanks in advance! appreciate any help rendered. :cheesy:
Forum: C++ Oct 23rd, 2006
Replies: 13
Views: 1,887
Posted By ReDeViL
lol......

if (inner%2)
print second_char
else
print first_char


hope its correct? ;)
lol
Forum: C++ Oct 23rd, 2006
Replies: 13
Views: 1,887
Posted By ReDeViL
wow....thanks....
would never have though of this........
need lots more practice......lol

thanks..really appreciate it :)
Forum: C++ Oct 23rd, 2006
Replies: 13
Views: 1,887
Posted By ReDeViL
okay...here goes:


#include <iostream>
#include <iomanip>
using namespace std;

int main()
{
int n,count;
Forum: C++ Oct 23rd, 2006
Replies: 13
Views: 1,887
Posted By ReDeViL
The codefor a previous qn:

#include <iostream>
#include <iomanip>
using namespace std;

int main()
{
int n,count;
Forum: C++ Oct 23rd, 2006
Replies: 13
Views: 1,887
Posted By ReDeViL
yup its correct....coz the previous few qns in my assignment are quite similar...just that the diplays consists of only *

just to correct my first qn, the output should be:

*.*
.*
*
...
Forum: C++ Oct 23rd, 2006
Replies: 13
Views: 1,887
Posted By ReDeViL
Write a program that accepts a number and produces a pattern as shown in the
following sample outputs.

Line = 3
*.* .* *

Line = 8
.*.*.*.*
*.*.*.*
.*.*.*
Showing results 1 to 13 of 13

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC