- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
28 Posted Topics
you can use either cin.getline (name, '\n'); orn declare a string name; insread of character array.
Hi CPPRULZ , Might be these links can give you the answers. 1) [url]http://www.codersource.net/cpp_copy_constructors.html[/url] 2) [url]http://www.daniweb.com/forums/thread38304.html[/url]
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 /etc/resolv.conf file? Thanks in advance. Renjith
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 routines? Any useful links or sample programs regarding this? Thanks in advance. Renjith
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 how to replaced the gateway. I used the "route add" command but it is adding it to …
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". Please more specific while posting... [QUOTE=gargg321;673840]Hi all, I have to install a software in …
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 start daemon, but when i try to stop, it is not stopping. Also no .pid file is generated in …
Replace your line 9 with "string Data[20];" also don't forget to comment line 34.
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
In OPTION 2 comment the following line //inWord(); in your main function.
Try this, [code] #include <vector> #include<iostream> using namespace std; int main() { vector<const int*> v; return 0; } [/code]
[url]http://www.computing.net/answers/programming/c-private-constructor-why/11546.html[/url]
Refer the following link and try to do it by yourself 1, [url]http://www.cplusplus.com/doc/tutorial/templates.html[/url]
[url]http://www.daniweb.com/forums/thread95385.html[/url]
[url]http://linux.softpedia.com/get/Programming/Widgets/Qt-179.shtml[/url] Yoe can easily follow this by referring Qt assistant
like this, [code] #include <iostream> #include <string> #include <sstream> using namespace std; int main() { int antnames; cout << "How many names do you want to put in the base : "; cin >> antnames; struct names { string namee; int age; }; names *details = new names[antnames]; string mystr; …
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.
#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; }
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 need to specify the return type. You can use HipValley( Rise1, Rise2, Eave, a); to call a function. …
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.
Remove the semicolon after the loops. that is [code] #include<iostream.h> #include<conio.h> void main() { cout<<"\n\n\n\tPATTERN\n\n\n\t" ; for(int i=1; i<=9; i++) { cout<< endl; for (int j=1;j<=i; j++) cout<<i; } getch(); } [/code]
[url]http://www.faqs.org/qa/qa-117.html[/url]
use the following names = (string*)namesMore; instead of names = namesMore;
library for doing RSA encryption/decryption in c++? go to [url]http://www.cryptopp.com/[/url]
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 they required. The below link will give you a small idea about this. [url]http://www.eventhelix.com/RealTimeMantra/HeaderFileIncludePatterns.htm[/url] …
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> #include<vector> using namespace std; int i=5,j=8, n= 10; int (fn)(); int add() { int c=i+j; cout<<c; return c; } int sub() …
Hi , I am using openRTSP test program. In the make file i used debugg option. But when i tried to debugg for example : "b 320", i got the following error. No line 24 in file "init.c". I don't know about this error. But gdb is working fine. For …
The End.
RenjithVR