Search Results

Showing results 1 to 40 of 41
Search took 0.01 seconds.
Search: Posts Made By: RenjithVR
Forum: C++ Feb 6th, 2009
Replies: 2
Views: 242
Posted By RenjithVR
Hi CPPRULZ ,

Might be these links can give you the answers.

1) http://www.codersource.net/cpp_copy_constructors.html

2) http://www.daniweb.com/forums/thread38304.html
Forum: *nix Software Dec 3rd, 2008
Replies: 2
DNS
Views: 953
Posted By RenjithVR
DNS
Hi,
In my Linux machine there are three NIC connected. Is it possible to add a primary DNS server and a secondary DNS server for each interface? Or all interface are configured through a single...
Forum: C Dec 3rd, 2008
Replies: 5
Views: 554
Posted By RenjithVR
If you look at the man resolv.conf, you can see different configuration options. I have to use some of those options. Is it possible to do with the 'resolver', a set of routines in the C library. Can...
Forum: C Dec 2nd, 2008
Replies: 5
Views: 554
Posted By RenjithVR
Thanks for your reply. I have to use libraries to open this file.
With the help of the library routines I can add name server,
read the contents etc. Does this possible with Resolver ...
Forum: C Dec 2nd, 2008
Replies: 5
Views: 554
Posted By RenjithVR
Hi All,
Can anyone tell me about a library that helps me to read contents from /etc/resolv.conf file and also update the same file with new entries. Does this possible with Resolver library...
Forum: C++ Sep 3rd, 2008
Replies: 4
Views: 682
Posted By RenjithVR
Replace your line 9 with "string Data[20];"
also don't forget to comment line 34.
Forum: *nix Software Sep 3rd, 2008
Replies: 3
Views: 3,208
Posted By RenjithVR
Hi,
Which software you need to install? But why do you looking to extract file from .bin?
Which Linux flavour you are using?
If you have any rpm file install it by using "rpm -ivh rpmname"....
Forum: *nix Software Sep 3rd, 2008
Replies: 1
Views: 691
Posted By RenjithVR
Hi,
I am using kubuntu 8.0. In the init script "start-stop-daemon --stop --quiet -p $PID_FILE" used to stop a daemon. It is also specified at the top that PID_FILE="/var/run/daemon.pid".

I can...
Forum: *nix Software Aug 29th, 2008
Replies: 1
Views: 936
Posted By RenjithVR
Hi all,
I am using kubuntu 8.0. The following problems am facing,

To stop a network we use
/etc/init.d/networking stop - I can ping after stopping.(so it is not working.)

Also anybody know...
Forum: VB.NET Jul 28th, 2008
Replies: 6
Views: 1,830
Posted By RenjithVR
Hi,

When i run my application the browser control should displayed in a full screen with no tittle bar.

I need help to do the following,

1, When i pressed any key the browser control should...
Forum: VB.NET Jul 25th, 2008
Replies: 6
Views: 1,830
Posted By RenjithVR
i solved all the things that i have mentioned in the prevoius post.
Ur post really helps me a lot i have some more questions not this time...

Thanks
Renjith
Forum: VB.NET Jul 25th, 2008
Replies: 6
Views: 1,830
Posted By RenjithVR
Thanks for the valuble reply..
Actually my form has some other controls and a web browser too. In the code i mentioned the web address(for example- http://dictionary.com) to display in the browser...
Forum: VB.NET Jul 24th, 2008
Replies: 6
Views: 1,830
Posted By RenjithVR
Hi,
I have a webBrowser and a Button. When i clicked the button I want to display a URL. When it displayed the WebBrowser should be in fullscreen. How can do this?

Thanks in advance.
Renjith
Forum: C++ Jul 9th, 2008
Replies: 7
Views: 1,471
Posted By RenjithVR
http://www.computing.net/answers/programming/c-private-constructor-why/11546.html
Forum: C++ Jul 9th, 2008
Replies: 1
C++
Views: 377
Posted By RenjithVR
Refer the following link and try to do it by yourself
1, http://www.cplusplus.com/doc/tutorial/templates.html
Forum: C++ Jul 8th, 2008
Replies: 6
Views: 1,477
Posted By RenjithVR
http://www.daniweb.com/forums/thread95385.html
Forum: C++ Jul 8th, 2008
Replies: 7
Views: 615
Posted By RenjithVR
In OPTION 2 comment the following line
//inWord();
in your main function.
Forum: C++ Jul 3rd, 2008
Replies: 9
Views: 2,179
Posted By RenjithVR
Try this,

#include <vector>
#include<iostream>
using namespace std;
int main()
{
vector<const int*> v;
return 0;
}
Forum: C++ Jul 2nd, 2008
Replies: 5
Views: 531
Posted By RenjithVR
like this,

#include <iostream>
#include <string>
#include <sstream>
using namespace std;


int main()
{
Forum: C++ Jul 2nd, 2008
Replies: 4
Solved: about ints
Views: 420
Posted By RenjithVR
#include<iostream.h>
main()
{
int t,n;
cout<<"Enter a number:";
cin>>n;
t=n%10;
n=n/10;
cout<<"is:"<<n;
cout<<"is:"<<t;
Forum: C++ Jul 2nd, 2008
Replies: 4
Views: 1,416
Posted By RenjithVR
http://linux.softpedia.com/get/Programming/Widgets/Qt-179.shtml

Yoe can easily follow this by referring Qt assistant
Forum: C++ Jul 1st, 2008
Replies: 6
Views: 1,840
Posted By RenjithVR
Try this,

char * fbuffer;
long fsize;
ifstream cpy ("sample.txt");
ofstream target (finaldir.c_str());
cpy.seekg(0,ios::end);
fsize=cpy.tellg();
cpy.seekg(0,ios::beg);
fbuffer = new char...
Forum: C++ Jul 1st, 2008
Replies: 10
Views: 780
Posted By RenjithVR
cout<<endl;
cout<<"\n";
both the above statements are same. Both are used to put a new line.
Forum: C++ Jul 1st, 2008
Replies: 10
Views: 780
Posted By RenjithVR
else it will print 1223334445555...
to print like this
1
22
333
... i included that line.
Also u have to learn what happend if ypu put a semicolon at the end of for loop. Avoid mistakes.
You...
Forum: C++ Jul 1st, 2008
Replies: 10
Views: 780
Posted By RenjithVR
Remove the semicolon after the loops.
that is


#include<iostream.h>
#include<conio.h>

void main()
{
cout<<"\n\n\n\tPATTERN\n\n\n\t" ;
Forum: C++ Jul 1st, 2008
Replies: 6
Views: 1,840
Posted By RenjithVR
No. You are getting some garbage values.

To avoid this make sure last content of the file is '\0'.
simply write '\0' to end of the file.
Forum: C++ Jul 1st, 2008
Replies: 5
Views: 1,569
Posted By RenjithVR
This will work fine.
You are getting and printing values to/from unallocated memory. You didn't get any garbage value because no other process intervening.
Forum: C++ Jul 1st, 2008
Replies: 3
Solved: loop switch
Views: 1,867
Posted By RenjithVR
case '1' : int HipValley(int& Rise1, int& Rise2, double& Eave, float& a);
what is this?
int HipValley(int& Rise1, int& Rise2, double& Eave, float& a);

is this a function call?

If so no...
Forum: C++ Jun 30th, 2008
Replies: 5
Views: 525
Posted By RenjithVR
you can use like Object . Variable name;
Forum: C++ Jun 30th, 2008
Replies: 7
Views: 2,633
Posted By RenjithVR
http://www.faqs.org/qa/qa-117.html
Forum: C++ Jun 27th, 2008
Replies: 6
Views: 2,277
Posted By RenjithVR
thats what i mentioned in my previous post.
You can declare
string name;
instead of that character array. It will work
Forum: C++ Jun 27th, 2008
Replies: 9
Solved: Assignment help
Views: 625
Posted By RenjithVR
my prevoius posy only help you to remove the error. this will works fine


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

const int NR_PLAYERS = 4;

void inputInformation(int...
Forum: C++ Jun 27th, 2008
Replies: 9
Solved: Assignment help
Views: 625
Posted By RenjithVR
use the following
names = (string*)namesMore;
instead of
names = namesMore;
Forum: C++ Jun 27th, 2008
Replies: 6
Views: 2,277
Posted By RenjithVR
you can use either
cin.getline (name, '\n');
orn declare a
string name;
insread of character array.
Forum: C++ Jun 18th, 2008
Replies: 3
Views: 5,652
Posted By RenjithVR
library for doing RSA encryption/decryption in c++?


go to http://www.cryptopp.com/
Forum: C++ May 20th, 2008
Replies: 11
Views: 1,104
Posted By RenjithVR
I think you are thinking about including a file in another file. Write a main function in one file and include the needed header files with that file. Also in each class include the header files...
Forum: C++ May 19th, 2008
Replies: 8
Views: 842
Posted By RenjithVR
go through this links. This will clear you all about function pointers.

1,, http://www.newty.de/fpt/index.html
2, http://www.cprogramming.com/tutorial/function-pointers.html
Forum: C++ May 16th, 2008
Replies: 8
Views: 842
Posted By RenjithVR
Hi,
You cannot use try as a function name in c++, because try is a keyword in c++ used for exception handling.
The following code should work.

#include<iostream>
#include<fstream>...
Forum: C++ May 15th, 2008
Replies: 4
Views: 461
Posted By RenjithVR
I used the following method to debug
g++ -g test.cpp -o test

If i use g++ test.cpp -o test then try to use break point i got the same error. But using the above methode it could working fine....
Forum: C++ May 15th, 2008
Replies: 4
Views: 461
Posted By RenjithVR
Actually there is no such file named init.c in the directory. I think it may be one of the file related to gdb. I compiled my file using the option -g. And run by gdb executablefilename. then i...
Showing results 1 to 40 of 41

 


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

©2003 - 2009 DaniWeb® LLC